XML 32 R7.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 attributable to the Company $ (73,728) $ (61,268)
Adjustments to reconcile net loss to net cash used in operating activities:    
Depreciation of property, plant and equipment, and leased property 8,944 8,592
Amortization of intangible assets 518 511
Stock-based compensation 7,927 6,389
Provision for bad debts and other 1,253 746
Amortization of debt issuance costs and discount on convertible senior notes 6,257 4,436
Provision for common stock warrants 10,244 7,932
Change in fair value of common stock warrant liability (7) (3,308)
Loss on disposal of leased assets 212  
Income tax benefit   (7,581)
Changes in operating assets and liabilities that provide (use) cash:    
Accounts receivable 11,702 (9,390)
Inventory (32,691) 12,554
Prepaid expenses and other assets 427 1,272
Accounts payable, accrued expenses, and other liabilities 13,293 (7,609)
Deferred revenue (6,152) 5,082
Net cash used in operating activities (51,801) (41,642)
Investing Activities    
Purchases of property, plant and equipment (4,635) (3,268)
Purchases of intangible assets (1,860) (879)
Purchases for construction of leased property (2,851) (13,381)
Proceeds from sale of leased assets 375  
Net cash used in investing activities (8,971) (17,528)
Financing Activities    
Proceeds from issuance of preferred stock, net of transaction costs (37)  
Proceeds from public offerings, net of transaction costs 38,098 4,912
Proceeds from exercise of stock options (116) 92
Payments for redemption of preferred stock (4,040)  
Proceeds from issuance of convertible senior notes, net 39,052 95,856
Purchase of capped call and common stock forward   (43,500)
Principal payments on long-term debt (21,186) (11,944)
Proceeds from long-term debt 99,496  
Proceeds from sale/leaseback transactions accounted for as finance leases   32,938
Repayments of finance obligations (59,461) (25,138)
Increase in finance obligations 57,249  
Net cash provided by financing activities 149,055 53,216
Effect of exchange rate changes on cash (119) (49)
Increase (decrease) in cash, cash equivalents and restricted cash 88,164 (6,003)
Cash, cash equivalents, and restricted cash beginning of period 110,153 68,055
Cash, cash equivalents, and restricted cash end of period 198,317 62,052
Supplemental disclosure of cash flow information    
Cash paid for interest 15,041 10,338
Summary of non-cash investing and financing activity    
Recognition of right of use asset 78,626 58,577
Net transfers between inventory, leased assets and property, plant and equipment   17,206
Increase in property, plant and equipment financed as long-term debt or financing leases   $ 408
Conversion of preferred stock to common stock $ 1,883