XML 35 R7.htm IDEA: XBRL DOCUMENT v3.20.1
CONSOLIDATED STATEMENTS OF CASH FLOWS - USD ($)
$ in Thousands
12 Months Ended
Dec. 31, 2019
Dec. 31, 2018
Dec. 31, 2017
Operating Activities      
Net loss attributable to the Company $ (85,465) $ (78,115) $ (127,080)
Adjustments to reconcile net loss to net cash used in operating activities:      
Depreciation of property, plant and equipment, and leased property 11,989 11,014 9,190
Amortization of intangible assets 698 693 593
Stock-based compensation 10,890 8,771 9,209
Provision for bad debts and other assets 1,981 1,626 250
Amortization of debt issuance costs and discount on convertible senior notes 8,821 6,347 770
Provision for common stock warrants 6,513 10,190 36,360
Change in fair value of common stock warrant liability (79) (4,286) 15,188
Loss on disposal of leased assets 212    
Income tax benefit   (9,217)  
Changes in operating assets and liabilities that provide (use) cash:      
Accounts receivable 10,646 (14,398) (9,951)
Inventory (24,481) 19,041 (18,836)
Prepaid expenses, and other assets (8,110) (4,654) 2,157
Accounts payable, accrued expenses, and other liabilities 19,879 (10,266) 11,430
Accrual for loss contracts related to service     (752)
Deferred revenue (5,016) 5,637 11,290
Net cash used in operating activities (51,522) (57,617) (60,182)
Investing Activities      
Purchases of property, plant and equipment (5,683) (5,142) (4,090)
Purchase of intangible asset (2,404) (929)  
Purchases for construction of leased property (6,532) (13,501) (40,273)
Proceeds from sale of leased assets 375    
Net cash used in investing activities (14,244) (19,572) (44,363)
Financing Activities      
Proceeds from issuance of preferred stock and warrants, net of transaction costs 14,089 30,934 17,636
Proceeds from public offerings, net of transaction costs 158,428 7,195 22,992
Proceeds from exercise of stock options 1,217 138 97
Payments for redemption of preferred stock (4,040)   (3,700)
Proceeds from issuance of convertible senior notes, net 39,052 95,856  
Purchase of capped call and common stock forward   (43,500)  
Proceeds from borrowing of long-term debt, net of transaction costs 119,186   20,147
Principal payments on long-term debt (24,827) (16,190) (12,292)
Proceeds from sale/leaseback transactions accounted for as finance obligations 83,668 76,175 45,368
Repayments of finance obligations (61,713) (31,264) (18,632)
Net cash provided by financing activities 325,060 119,344 71,616
Effect of exchange rate changes on cash 53 (57) 348
Increase (decrease) in cash, cash equivalents and restricted cash 259,347 42,098 (32,581)
Cash, cash equivalents, and restricted cash beginning of period 110,153 68,055 100,636
Cash, cash equivalents, and restricted cash end of period 369,500 110,153 68,055
Supplemental disclosure of cash flow information      
Cash paid for interest 19,180 13,057 8,791
Summary of non-cash investing and financing activity      
Recognition of right of use asset 127,370 79,057  
Net transfers between inventory, leased assets and property, plant and equipment   $ 18,175  
Conversion of preferred stock to common stock $ 28,392   $ 8,222