v3.22.0.1
Fair Value Measurement and Financial Instruments - Narrative (Details) - USD ($)
$ in Thousands
3 Months Ended 12 Months Ended
Mar. 31, 2021
Dec. 31, 2021
Dec. 31, 2020
Dec. 31, 2019
Fair Value, Assets and Liabilities Measured on Recurring and Nonrecurring Basis [Line Items]        
Change in fair value of warrant liability   $ 291,987 $ 868,539 $ (286)
Reclassification of derivative warrant liability to equity   1,277,168   $ 14,117
Potential effects of rights of set-off associated with derivative asset contracts   10,300 11,400  
Potential effects of rights of set-off associated with derivative liabilities contracts   10,300 11,400  
Derivative asset, fair value after offset   15,600 1,100  
Derivative liability, fair value after offset     20,900  
Foreign exchange derivative assets        
Fair Value, Assets and Liabilities Measured on Recurring and Nonrecurring Basis [Line Items]        
Net realized gain (loss) on foreign exchange derivative assets and liabilities   19,300 (21,700)  
Net unrealized gain (loss) on foreign exchange derivative assets and liabilities   35,400 (24,600)  
Foreign exchange derivative assets | Not Designated as Hedging Instrument        
Fair Value, Assets and Liabilities Measured on Recurring and Nonrecurring Basis [Line Items]        
Foreign exchange derivative assets   25,900 12,500  
Derivative warrant liability   10,300 32,300  
Aggregate notional amount of foreign exchange derivative assets and liabilities   $ 2,400,000 $ 1,400,000  
Class A Common Stock Warrants | Second lien loan due July 2025 | Secured Debt        
Fair Value, Assets and Liabilities Measured on Recurring and Nonrecurring Basis [Line Items]        
Change in fair value of warrant liability $ 292,000      
Reclassification of derivative warrant liability to equity $ 1,300,000