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