XML 24 R5.htm IDEA: XBRL DOCUMENT v3.19.3
CONDENSED CONSOLIDATED STATEMENTS OF CASH FLOWS - USD ($)
$ in Thousands
9 Months Ended
Sep. 30, 2019
Sep. 30, 2018
Operating activities:    
Net loss $ (55,261) $ (103,223)
Adjustments to reconcile net loss to net cash used in operating activities:    
Stock-based compensation expense 10,468 8,896
Non-cash interest expense 6,790 4,308
Depreciation and amortization 1,262 654
Changes in operating assets and liabilities:    
Receivables (7,113) 14,847
Inventory (1,085) 229
Prepaid expenses and other assets 959 (2,608)
Accounts payable and accrued expenses 6,921 (2,183)
Net cash used in operating activities (37,059) (79,080)
Investing activities:    
Purchases of property and equipment (318) (474)
Purchases of investments (594) (45,514)
Proceeds from the sale and maturities of investments 36,750 73,500
Net cash provided by investing activities 35,838 27,512
Financing activities:    
Proceeds from borrowings under notes payable   44,550
Proceeds upon exercise of stock options and warrants 5,034 6,720
Release in restricted investments   56
Payments on finance lease liabilities (813)  
Payments on finance lease liabilities   (365)
Net cash provided by financing activities 4,221 50,961
Net increase (decrease) in cash and cash equivalents 3,000 (607)
Cash and cash equivalents at beginning of period 5,861 3,394
Cash and cash equivalents at end of period 8,861 2,787
Supplemental cash flow information    
Cash paid for interest 6,811 6,796
Conversion of accrued interest to notes payable   3,246
Fair value of warrants issued in connection with notes payable amendment   1,424
Property acquired under finance lease $ 886 $ 579