XML 16 R5.htm IDEA: XBRL DOCUMENT v3.10.0.1
Condensed Consolidated Statements of Cash Flows - USD ($)
$ in Thousands
6 Months Ended
Jun. 30, 2018
Jun. 30, 2017
Cash flows from operating activities    
Net loss $ (46,719) $ (49,406)
Adjustments to reconcile net loss to net cash used in operating activities    
Depreciation 3,611 4,839
Amortization of debt discount and financing costs 486 652
(Gain) Loss on derivative (143) 485
Stock-based compensation 10,506 9,994
Other items (194) 87
Changes in assets and liabilities    
Accounts receivable 5,987 1,896
Inventory (560) (2,240)
Prepaid expenses and other assets 337 6,368
Accounts payable (4,765) (1,944)
Accrued expenses (1,683) (2,266)
Deferred service revenue 75 (349)
Other liabilities (208) 2,404
Net cash used in operating activities (33,270) (29,480)
Cash flows from investing activities    
Purchase of property and equipment (1,700) (6,116)
Disposal of property and equipment   12
Purchase of investments (44,500) (61,181)
Sales of investments 2,442 3,662
Maturities of investments 48,200 46,511
Net cash provided by (used in) investing activities 4,442 (17,112)
Cash flows from financing activities    
Proceeds from issuance of common stock from equity plans 2,517 6,231
Notes payable principal paying off   (4,500)
Net cash provided by financing activities 35,379 66,305
Net increase in cash and cash equivalents and restricted cash 6,551 19,713
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 27,558 40,978
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 492 608
Changes in unpaid property and equipment 159 3,323
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 $ 32,862 $ 52,709