XML 17 R5.htm IDEA: XBRL DOCUMENT v3.7.0.1
Condensed Consolidated Statements Of Cash Flows - USD ($)
$ in Thousands
6 Months Ended
Jun. 30, 2017
Jun. 30, 2016
Cash flows from operating activities    
Net loss $ (49,406) $ (37,851)
Adjustments to reconcile net loss to net cash used in operating activities    
Depreciation 4,839 1,823
Amortization of debt discount and financing costs 652 548
(Gain) Loss from derivative 485 (336)
Stock-based compensation 9,994 9,619
Other items 87 154
Changes in assets and liabilities    
Accounts receivable 1,896 (5,182)
Inventory (2,240) (4,491)
Prepaid expenses and other assets 6,368 1,004
Accounts payable (1,944) 683
Accrued expenses (2,266) 778
Deferred service revenue (349) (36)
Deferred contractual revenue   (7,192)
Other liabilities 2,404 1,327
Net cash used in operating activities (29,480) (39,152)
Cash flows from investing activities    
Purchase of property and equipment (6,116) (3,255)
Disposal of property and equipment 12 10
Purchase of investments (61,181) (64,572)
Sales of investments 3,662 13,334
Maturities of investments 46,511 22,082
Net cash used in investing activities (17,112) (32,401)
Cash flows from financing activities    
Proceeds from issuance of common stock from equity plans 6,231 4,502
Notes payable principal paying off (4,500)  
Proceeds from issuance of common stock from at-the-market equity offering, net of issuance costs 11,865 58,200
Proceeds from issuance of common stock from underwritten public equity offering, net of issue costs 52,709  
Net cash provided by financing activities 66,305 62,702
Net increase (decrease) in cash and cash equivalents 19,713 (8,851)
Cash and cash equivalents at beginning of period 16,765 33,629
Cash and cash equivalents at end of period 36,478 24,778
Supplemental disclosure of non-cash investing and financing activities    
Changes in deposits for property and equipment paid in prior period 9,694  
Property and equipment paid by landlord 12,600  
Changes in unpaid Property and equipment 3,323 37
Property and equipment returned to landlord 1,854  
Inventory transferred to property and equipment $ 608 $ 1,245