XML 50 R7.htm IDEA: XBRL DOCUMENT v3.20.4
Consolidated Statements of Cash Flows - USD ($)
$ in Thousands
12 Months Ended
Dec. 31, 2020
Dec. 31, 2019
Dec. 31, 2018
Operating activities      
Net loss $ (271,073) $ (321,169) $ (67,723)
Adjusted for the following items:      
Inventory valuation adjustments 38,419 68,583 384
Depreciation and amortization expenses 18,654 15,849 3,562
Impairment of assets 61,114 112,070  
Stock-based compensation expenses 29,716 31,842 20,988
Change in fair value of warrant liability 100,286    
Gain on sale of short-term investment   (2,631)  
Change in fair value of contingent consideration   (46,914)  
Loss from equity method investments 5,983 4,504  
Loss from equity investments measured at fair value 4,283 939 6
Loss from sale of investment 2,440    
Interest on debt securities (798) (149)  
Deferred taxes (5,376) (8,847) (4,485)
Amortization of discount on convertible notes 10,317 9,843 2,180
Amortization of transaction costs on Senior Facility 1,372    
Foreign currency (gain) loss (13,169) (5,944) 6,477
Accretion related to obligations under finance leases 1,435 367  
Issuance costs on registered offering recorded to net loss 3,953    
Non-cash interest expenses 1,643   5,669
Credit loss expenses 401    
Provision for doubtful accounts 251 1,723 285
Loss (gain) on disposal of property and equipment 1,851 2,436 (2)
Gain on Convertible Debt, Net (61,118)    
Changes in non-cash working capital:      
Accounts receivable 6,291 (14,820) (16,512)
Inventory (30,065) (102,643) (9,226)
Prepayments and other current assets (5,404) (51,408) (2,487)
Accounts payable (20,485) 20,003 5,218
Accrued expenses and other liabilities (10,272) 28,301 9,418
Net cash used in operating activities (129,351) (258,065) (46,248)
Investing activities      
Business combinations, net of cash acquired   (163,889)  
Investment in equity method investees (3,764) (14,201)  
Change in deposits and other assets   (2,689)  
Purchases of short-term and other investments   (1,350,666) (319,373)
Proceeds from sales and maturities of short-term investments 4,067 1,383,632 274,497
Purchases of property and equipment (44,644) (73,741) (50,198)
Proceeds from disposal of property and equipment 2,661 6,581 713
Purchases of intangible assets   (4,875) (4,259)
Net cash used in investing activities (41,680) (253,181) (98,620)
Financing activities      
Proceeds from at-the market equity offering, net of costs 124,500 111,073  
Proceeds from issuance of registered offering, net of issuance costs 85,465    
Proceeds from ABG Profit Participation Arrangement 1,353 4,187  
Payment of ABG finance liability (1,500) (500)  
Payment under Privateer Holdings debt facilities     (36,940)
Advances under Privateer Holdings debt and construction facilities     3,453
Proceeds from Preferred Shares - Series A, net of transaction costs     52,560
Proceeds from exercise of stock options 11,502 5,458  
Payment on the settlement of stock options (1,263) (5,014)  
Payment of mortgage debt     (9,136)
Payment of obligations under finance lease   (504)  
Proceeds from issuance of Senior Facility, net of transaction costs 46,395    
Repayment of Senior Facility (1,605)    
Proceeds from issuance of convertible notes, net of issuance costs     460,269
Proceeds from issuance of common stock pursuant to IPO, net     160,792
Net cash provided by financing activities 264,847 114,700 630,998
Effect of foreign currency translation on cash and cash equivalents (905) 6,082 (1,198)
Increase (decrease) in cash and cash equivalents 92,911 (390,464) 484,932
Cash and cash equivalents, beginning of period 96,791 487,255 2,323
Cash and cash equivalents, end of period $ 189,702 96,791 $ 487,255
Investment In ABG [Member]      
Investing activities      
Investment in ABG Profit Participation Arrangement   $ (33,333)