XML 20 R8.htm IDEA: XBRL DOCUMENT v3.20.2
Condensed Consolidated Statements of Cash Flows - USD ($)
$ in Thousands
6 Months Ended
Jun. 30, 2020
Jun. 30, 2019
Operating Activities    
Net loss attributable to the Company $ (46,135) $ (49,046)
Adjustments to reconcile net loss to net cash used in operating activities:    
Depreciation of property, plant and equipment, and leased property 5,783 5,496
Amortization of intangible assets 398 338
Stock-based compensation 6,188 5,123
Gain on extinguishment of debt (13,222)  
Provision for bad debts and other assets   907
Amortization of debt issuance costs and discount on convertible senior notes 6,528 4,340
Provision for common stock warrants 7,983 2,209
Loss on disposal of leased assets   212
Change in fair value of common stock warrant liability   420
Income tax benefit (17,659)  
Changes in operating assets and liabilities that provide (use) cash:    
Accounts receivable (18,393) 9,848
Inventory (37,983) (25,280)
Prepaid expenses, and other assets (11,817) (460)
Accounts payable, accrued expenses, and other liabilities 4,699 1,232
Deferred revenue 2,383 (3,827)
Net cash used in operating activities (111,247) (48,488)
Investing Activities    
Purchases of property, plant and equipment (5,009) (2,844)
Purchase of intangible assets   (1,860)
Purchases for construction of leased property (6,256) (1,987)
Net cash paid for acquisitions (45,286)  
Proceeds from sale of leased assets   375
Net cash used in investing activities (56,551) (6,316)
Financing Activities    
Proceeds from issuance of preferred stock, net of transaction costs   (8)
Proceeds from public offerings, net of transaction costs (269) 28,265
Proceeds from exercise of stock options 15,798 205
Proceeds from issuance of convertible senior notes, net 205,100  
Repurchase of convertible senior notes (90,238)  
Purchase of capped calls (16,253)  
Proceeds from termination of capped calls 24,158  
Principal payments on long-term debt (21,626) (17,521)
Proceeds from long-term debt, net 49,000 99,546
Repayments of finance obligations (11,783) (56,070)
Proceeds from finance obligations 27,678 25,609
Net cash provided by financing activities 181,565 80,026
Effect of exchange rate changes on cash (14) (48)
Decrease in cash, cash equivalents and restricted cash 13,753 25,174
Cash, cash equivalents, and restricted cash beginning of period 369,500 110,153
Cash, cash equivalents, and restricted cash end of period 383,253 135,327
Supplemental disclosure of cash flow information    
Cash paid for interest 9,466 8,673
Summary of non-cash investing and financing activity    
Recognition of right of use asset 26,922 $ 34,530
Conversion of preferred stock to common stock $ 441