XML 22 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 $ (92,189) $ (74,375) $ (31,696)
Adjustments to reconcile net loss to net cash used in operating activities      
Depreciation and amortization 8,442 3,875 3,677
Amortization of debt discount and financing costs 1,203 1,158 957
Stock-based compensation 20,352 19,562 13,840
Non-cash portion of gain on lease amendments     (3,043)
(Gain) Loss from derivative 653 (244) (344)
Other items 47 97 114
Changes in assets and liabilities      
Accounts receivable (2,012) (6,176) (1,738)
Inventory (8,442) (6,151) (2,466)
Prepaid expenses and other assets 7,803 (202) (17,889)
Accounts payable 764 3,402 (716)
Accrued expenses (3,986) 1,053 5,732
Deferred service revenue (1,033) 469 708
Deferred contractual revenue   (12,134) (14,386)
Other liabilities 880 1,737 (639)
Net cash used in operating activities (67,518) (67,929) (47,889)
Cash flows from investing activities      
Purchase of property and equipment (10,433) (8,207) (3,009)
Proceeds from disposal of property and equipment 41 10 36
Long-term restricted cash     (4,500)
Purchase of investments (86,339) (95,848) (84,579)
Sales of investments 7,111 23,285 8,317
Maturities of investments 88,071 65,896 92,341
Net cash provided by (used in) investing activities (1,549) (14,864) 8,606
Cash flows from financing activities      
Proceeds from issuance of common stock from equity plans 8,914 7,729 7,363
Notes payable principal payoff (4,500)    
Net cash provided by financing activities 68,809 65,929 36,463
Net decrease in cash and cash equivalents (258) (16,864) (2,820)
Cash and cash equivalents at beginning of period 16,765 33,629 36,449
Cash and cash equivalents at end of period 16,507 16,765 33,629
Supplemental disclosure of cash flow information      
Interest paid 1,687 1,799 1,794
Supplemental disclosure of non-cash investing and financing activities      
Inventory transferred to property and equipment 1,267 1,282 2,846
Property and equipment paid by landlord 12,600    
Changes in deposits for property and equipment paid in prior period 9,694    
Property and equipment returned to landlord 1,854    
At the Market Offering [Member]      
Cash flows from financing activities      
Proceeds from issuance of common stock from offering, net of issuance costs 11,865 $ 58,200 $ 29,100
Underwritten Public Equity Offering [Member]      
Cash flows from financing activities      
Proceeds from issuance of common stock from offering, net of issuance costs $ 52,530