XML 28 R6.htm IDEA: XBRL DOCUMENT v3.8.0.1
Consolidated Statements of Cash Flows - USD ($)
$ in Thousands
12 Months Ended
Dec. 31, 2017
Dec. 31, 2016
Dec. 31, 2015
Cash flows from operating activities:      
Net loss $ (8,969) $ (11,860) $ (25,838)
Adjustments to reconcile net loss to net cash used in operating activities:      
Depreciation and amortization 8,314 8,390 7,388
Provision for doubtful accounts 95 75 171
Stock-based compensation 15,343 9,643 7,730
Amortization of debt discount and issuance costs 80 241 350
Loss on extinguishment of debt 0 1,026 0
Reversal of interest and penalties on accrued federal fees (2,133) 0 0
Reversal of accrued federal fees 0 (3,114) 0
Non-cash adjustment on investment (366) 0 0
Accretion of interest 21 20 0
Others (48) (10) 46
Changes in operating assets and liabilities:      
Accounts receivable (5,163) (3,389) (2,410)
Prepaid expenses and other current assets (1,912) (859) (224)
Other assets (33) 203 (312)
Accounts payable 813 811 (1,610)
Accrued and other current liabilities 1,061 2,262 426
Accrued federal fees and sales tax liability 90 (182) 441
Deferred revenue 3,882 3,680 1,038
Other liabilities 31 (99) (135)
Net cash provided by (used in) operating activities 11,106 6,838 (12,939)
Cash flows from investing activities:      
Purchases of property and equipment (2,650) (1,131) (1,116)
Purchases of convertible notes held for investment 0 (1,206) 0
Decrease (increase) in restricted cash 0 (60) 806
Purchase of short-term investments 0 0 (20,000)
Proceeds from maturity of short-term investments 0 0 40,000
Net cash provided by (used in) investing activities (2,650) (2,397) 19,690
Cash flows from financing activities:      
Proceeds from exercise of common stock options and warrants 6,035 4,286 1,266
Proceeds from sale of common stock under ESPP 4,101 1,979 1,369
Proceeds from revolving line of credit 0 32,594 0
Repayments on revolving line of credit 0 (12,500) 0
Repayments of notes payable (699) (24,351) (3,447)
Payments of capital leases (7,068) (6,237) (5,744)
Payment of prepayment penalty and related fees 0 (368) 0
Payments for debt issuance costs 0 (206) 0
Net cash provided by (used in) financing activities 2,369 (4,803) (6,556)
Net increase in cash and cash equivalents 10,825 (362) 195
Cash and cash equivalents:      
Beginning of period 58,122 58,484 58,289
End of period 68,947 58,122 58,484
Supplemental disclosures of cash flow data:      
Cash paid for interest 3,311 4,234 4,340
Cash paid for income taxes 121 115 186
Non-cash investing and financing activities:      
Equipment obtained under capital lease 10,261 8,202 6,284
Equipment purchased and unpaid at period-end 145 163 151
Capitalization of leasehold improvement through non-cash lease incentive 142 0 0
Conversion of accrued federal fees to note payable, net $ 0 $ 0 $ 1,675