XML 16 R5.htm IDEA: XBRL DOCUMENT v3.10.0.1
Condensed Consolidated Statements of Cash Flows - USD ($)
$ in Thousands
9 Months Ended
Sep. 30, 2018
Sep. 30, 2017
Cash flows from operating activities    
Net loss $ (71,763) $ (71,427)
Adjustments to reconcile net loss to net cash used in operating activities    
Depreciation 5,436 6,632
Amortization of debt discount and financing costs 749 931
(Gain) loss on derivative (155) 640
Stock-based compensation 15,631 14,962
Other items (398) 36
Changes in assets and liabilities    
Accounts receivable 7,029 2,524
Inventory 3,014 (4,027)
Prepaid expenses and other assets 537 7,361
Accounts payable (2,926) 432
Accrued expenses (3,497) (6,001)
Deferred service revenue (638) (1,202)
Other liabilities (464) 1,821
Net cash used in operating activities (47,445) (47,318)
Cash flows from investing activities    
Purchase of property and equipment (1,796) (9,373)
Disposal of property and equipment   2
Purchase of investments (104,228) (74,591)
Sales of investments 2,442 3,662
Maturities of investments 70,680 68,071
Net cash used in investing activities (32,902) (12,229)
Cash flows from financing activities    
Proceeds from issuance of common stock from equity plans 4,181 8,818
Notes payable principal payment   (4,500)
Net cash provided by financing activities 101,903 68,713
Net increase in cash and cash equivalents and restricted cash 21,556 9,166
Cash and cash equivalents and restricted cash at beginning of period 21,007 21,265
Cash and cash equivalents and restricted cash at end of period 42,563 30,431
Cash and cash equivalents and restricted cash at end of period 21,007 21,265
Supplemental disclosure of non-cash investing and financing activities    
Inventory transferred to property and equipment 664 1,460
Changes in unpaid property and equipment 215 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 equity offering, net of issuance costs   11,865
Underwritten Public Equity Offering [Member]    
Cash flows from financing activities    
Proceeds from issuance of common stock from equity offering, net of issuance costs $ 97,722 $ 52,530