XML 18 R6.htm IDEA: XBRL DOCUMENT v3.19.3
Condensed Consolidated Statements of Cash Flows - USD ($)
$ in Thousands
3 Months Ended 9 Months Ended 12 Months Ended
Sep. 30, 2019
Sep. 30, 2018
Sep. 30, 2019
Sep. 30, 2018
Dec. 31, 2018
Cash flows from operating activities          
Net loss $ (29,123) $ (25,044) $ (84,043) $ (71,763)  
Adjustments to reconcile net loss to net cash used in operating activities          
Depreciation     5,483 5,436  
Amortization of operating lease right-of-use assets     1,954    
Amortization of debt discount and financing costs     887 749  
(Gain) loss on derivative     (16) (155)  
Stock-based compensation     12,532 15,631  
Accretion from investment discount     (821) (398)  
(Gain) loss on disposition of equipment     144    
Changes in assets and liabilities          
Accounts receivable     (1,371) 7,029  
Inventory     2,255 3,014  
Prepaid expenses and other assets     238 537  
Accounts payable     1,454 (2,926)  
Accrued expenses     3,000 (3,497)  
Deferred service revenue     387 (638)  
Operating lease liabilities     (2,537)    
Other liabilities     322 (464)  
Net cash used in operating activities     (60,132) (47,445)  
Cash flows from investing activities          
Purchase of property and equipment     (2,695) (1,796)  
Purchase of investments     (42,710) (104,228)  
Sales of investments     1,500 2,442  
Maturities of investments     109,360 70,680  
Net cash provided by (used in) investing activities     65,455 (32,902)  
Cash flows from financing activities          
Proceeds from issuance of common stock from equity plans     8,417 4,181  
Proceeds from issuance of common stock from underwritten public equity offering, net of issuance costs       97,722  
Net cash provided by financing activities     8,417 101,903  
Net increase in cash and cash equivalents and restricted cash     13,740 21,556  
Cash and cash equivalents and restricted cash at beginning of period     23,344 21,007 $ 21,007
Cash and cash equivalents and restricted cash at end of period 37,084 42,563 37,084 42,563 23,344
Cash and cash equivalents at end of period 33,084 38,063 33,084 38,063 $ 18,844
Restricted cash at end of period $ 4,000 $ 4,500 4,000 4,500  
Supplemental disclosure of non-cash operating activities          
Inventory transferred to property and equipment     1,784 $ 664  
Inventory transferred from property and equipment     $ 1,228