XML 20 R6.htm IDEA: XBRL DOCUMENT v3.10.0.1
Consolidated Statements of Cash Flows
$ in Thousands
12 Months Ended
Dec. 31, 2018
USD ($)
Dec. 31, 2017
USD ($)
Dec. 31, 2016
USD ($)
Cash flows from operating activities      
Net loss $ (102,562) $ (92,189) $ (74,375)
Adjustments to reconcile net loss to net cash used in operating activities      
Depreciation and amortization 7,215 8,442 3,875
Amortization of debt discount and financing costs 1,024 1,203 1,158
Stock-based compensation 23,153 20,352 19,562
Non-cash portion of gain on lease amendments
(Gain) loss from derivative (167) 653 (244)
Amortization and accretion for investment premium (discount) (758) 47 97
Changes in assets and liabilities      
Accounts receivable 4,838 (2,012) (6,176)
Inventory 3,623 (8,442) (6,151)
Prepaid expenses and other assets (290) 7,803 (202)
Accounts payable (2,239) 764 3,402
Accrued expenses 205 (3,986) 1,053
Deferred service revenue 33 (1,033) 469
Deferred contractual revenue     (12,134)
Other liabilities (505) 880 1,737
Net cash used in operating activities (66,430) (67,518) (67,929)
Cash flows from investing activities      
Purchase of property and equipment (1,854) (10,433) (8,207)
Proceeds from disposal of property and equipment   41 10
Purchase of investments (122,183) (86,339) (95,848)
Sales of investments 2,442 7,111 23,285
Maturities of investments 83,180 88,071 65,896
Net cash used in investing activities (38,415) (1,549) (14,864)
Cash flows from financing activities      
Proceeds from issuance of common stock from equity plans 9,652 8,914 7,729
Notes payable principal payoff   (4,500)  
Net cash provided by financing activities 107,182 68,809 65,929
Net decrease in cash and cash equivalents and restricted cash 2,337 (258) (16,864)
Cash and cash equivalents and restricted cash at beginning of period 21,007 21,265 38,129
Cash and cash equivalents and restricted cash at end of period 23,344 21,007 21,265
Cash and cash equivalents at end of period 18,844 16,507 16,765
Restricted cash at end of period 4,500 4,500 4,500
Supplemental disclosure of cash flow information      
Interest paid 1,400 1,687 1,799
Supplemental disclosure of non-cash investing and financing activities      
Inventory transferred to property and equipment 1,871 1,267 1,282
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 offerings, net of issuance costs   11,865 $ 58,200
Underwritten Public Equity Offering [Member]      
Cash flows from financing activities      
Proceeds from issuance of common stock from equity offerings, net of issuance costs $ 97,530 $ 52,530