XML 18 R7.htm IDEA: XBRL DOCUMENT v3.19.2
Condensed Consolidated Statements of Cash Flows - USD ($)
$ in Thousands
6 Months Ended
Jun. 30, 2019
Jun. 30, 2018
Operating Activities    
Net loss attributable to the Company $ (52,499) $ (45,703)
Adjustments to reconcile net loss to net cash used in operating activities:    
Depreciation of property, plant and equipment, and leased property 5,496 5,795
Amortization of intangible assets 338 335
Stock-based compensation 5,123 4,325
Provision for bad debts and other 907  
Amortization of debt issuance costs and discount on convertible senior notes 4,340 2,438
Provision for common stock warrants 5,662 5,806
Change in fair value of common stock warrant liability 420 (1,592)
Loss on disposal of leased assets 212  
Income tax benefit   (5,865)
Changes in operating assets and liabilities that provide (use) cash:    
Accounts receivable 9,848 (16,178)
Inventory (25,280) 6,488
Prepaid expenses and other assets (460) 1,556
Accounts payable, accrued expenses, and other liabilities 1,232 (6,685)
Deferred revenue (3,827) 4,101
Net cash used in operating activities (48,488) (45,179)
Investing Activities    
Purchases of property, plant and equipment (2,844) (2,343)
Purchases of intangible assets (1,860) (879)
Purchases for construction of leased property (1,987) (13,138)
Proceeds from sale of lease assets 375  
Net cash used in investing activities (6,316) (16,360)
Financing Activities    
Proceeds from issuance of preferred stock, net of transaction costs (8)  
Proceeds from public offerings, net of transaction costs 28,265  
Proceeds from exercise of stock options 205 67
Proceeds from issuance of convertible senior notes, net   95,856
Purchase of capped call and common stock forward   (43,500)
Principal payments on long-term debt (17,521) (5,721)
Proceeds from long-term debt 99,546  
Proceeds from sale/leaseback transactions accounted for as finance leases   20,000
Repayments of finance obligations (56,070) (17,760)
Increase in finance obligations 25,609  
Net cash provided by financing activities 80,026 48,942
Effect of exchange rate changes on cash (48) (36)
Increase (decrease) in cash, cash equivalents and restricted cash 25,174 (12,633)
Cash, cash equivalents, and restricted cash beginning of period 110,153 68,055
Cash, cash equivalents, and restricted cash end of period 135,327 55,422
Supplemental disclosure of cash flow information    
Cash paid for interest 8,673 4,915
Summary of non-cash investing and financing activity    
Recognition of right of use asset $ 34,530 $ 2,513