v3.22.4
Consolidated Statements of Changes in Equity (Deficit) - USD ($)
$ in Thousands
Total
Common Stock
Additional paid-in capital
Accumulated deficit
Accumulated other comprehensive income (loss)
Beginning balance (in shares) at Dec. 31, 2019   94,937,597      
Beginning Balance at Dec. 31, 2019 $ (1,795,491) $ 9 $ 740,121 $ (2,508,155) $ (27,466)
Increase (Decrease) in Stockholders' Equity [Roll Forward]          
Recapitalization transaction (in shares)   59,793,021      
Recapitalization transaction 422,119 $ 6 422,113    
Issuance of earnout shares (in shares)   36,084,141      
Issuance of earnout shares   $ 5 (5)    
Tax withholdings related to net share settlement of equity awards (in shares)   (468,773)      
Tax withholdings related to net share settlement of equity awards (9,313)   (9,313)    
Forfeited shares (in shares)   (188,972)      
Warrants exercised (in shares)   10,621,654      
Warrants exercised 186,551   186,551    
Issuance of common stock upon exercise or vesting of equity awards (in shares)   1,437,673      
Net Loss (603,331)     (603,331)  
Foreign currency translation adjustment 657       657
Stock-based compensation 198,213   198,213    
Restructuring expenses 11,106   11,106    
Ending balance (in shares) at Dec. 31, 2020   202,216,341      
Ending Balance at Dec. 31, 2020 (1,589,489) $ 20 1,548,786 (3,111,486) (26,809)
Increase (Decrease) in Stockholders' Equity [Roll Forward]          
Issuance of earnout shares (in shares)   1,239,818      
Tax withholdings related to net share settlement of equity awards (in shares)   (1,691,254)      
Tax withholdings related to net share settlement of equity awards (29,398)   (29,398)    
Forfeited shares (in shares)   (17,198)      
Warrants exercised (in shares)   825,016      
Warrants exercised 19,743   19,743    
Issuance of common stock upon exercise or vesting of equity awards (in shares)   6,161,470      
Issuance of common stock upon exercise or vesting of equity awards 1 $ 1      
Net Loss (305,552)     (305,552)  
Foreign currency translation adjustment (89)       (89)
Stock-based compensation $ 164,684   164,684    
Ending balance (in shares) at Dec. 31, 2021 208,734,193 208,734,193      
Ending Balance at Dec. 31, 2021 $ (1,740,100) $ 21 1,703,815 (3,417,038) (26,898)
Increase (Decrease) in Stockholders' Equity [Roll Forward]          
Tax withholdings related to net share settlement of equity awards (in shares)   (2,063,857)      
Tax withholdings related to net share settlement of equity awards (15,351)   (15,351)    
Issuance of common stock upon exercise or vesting of equity awards (in shares)   6,936,336      
Net Loss (51,734)     (51,734)  
Foreign currency translation adjustment 879       879
Reclassification out of Other Comprehensive Income, Canada Sale 26,019       26,019
Stock-based compensation $ 77,943   77,943    
Ending balance (in shares) at Dec. 31, 2022 213,606,672 213,606,672      
Ending Balance at Dec. 31, 2022 $ (1,702,344) $ 21 $ 1,766,407 $ (3,468,772) $ 0