v3.22.1
Debt - Narrative (Details)
$ / shares in Units, $ in Thousands
1 Months Ended 3 Months Ended
Mar. 08, 2021
USD ($)
$ / shares
Mar. 03, 2021
USD ($)
$ / shares
Nov. 19, 2020
USD ($)
Mar. 31, 2021
USD ($)
Apr. 30, 2020
USD ($)
$ / shares
shares
Mar. 31, 2022
USD ($)
Mar. 31, 2021
USD ($)
Dec. 31, 2021
USD ($)
Dec. 31, 2020
USD ($)
Debt Instrument [Line Items]                  
Capped calls, transaction costs   $ 100,200              
Principal repayment of long-term debt           $ 0 $ 1,995,000    
Loss from extinguishment of debt           0 377,248    
Early redemption premiums           0 212,883    
Change in fair value of warrant liability           0 291,987    
Reclassification of derivative warrant liability to equity             1,277,168    
Common class A                  
Debt Instrument [Line Items]                  
Capped call, initial cap price (in USD per share) | $ / shares   $ 360.80              
Premium of reported share price   100.00%              
Share price (in usd per share) | $ / shares   $ 180.40              
Senior Notes Due 2026 | Common class A                  
Debt Instrument [Line Items]                  
Convertible debt, conversion ratio 0.0034645                
Convertible debt, conversion price (in USD per share) | $ / shares $ 288.64                
2020 Credit Facility | Revolving Credit Facility                  
Debt Instrument [Line Items]                  
Debt instrument, term     5 years            
Initial borrowing capacity     $ 500,000            
Commitment fee percentage     0.15%            
2020 Credit Facility | Revolving Credit Facility | Interest Rate Scenario Two                  
Debt Instrument [Line Items]                  
Variable rate floor     1.00%            
2020 Credit Facility | Revolving Credit Facility | London Interbank Offered Rate (LIBOR) | Interest Rate Scenario One                  
Debt Instrument [Line Items]                  
Basis spread on variable rate     1.50%            
Variable rate floor     0.00%            
2020 Credit Facility | Revolving Credit Facility | Base Rate | Interest Rate Scenario Two                  
Debt Instrument [Line Items]                  
Basis spread on variable rate     0.50%            
2020 Credit Facility | Revolving Credit Facility | Fed Funds Effective Rate Overnight Index Swap Rate | Interest Rate Scenario Two                  
Debt Instrument [Line Items]                  
Basis spread on variable rate     0.50%            
2020 Credit Facility | Revolving Credit Facility | Prime Rate | Interest Rate Scenario Two                  
Debt Instrument [Line Items]                  
Basis spread on variable rate     1.00%            
Convertible Debt | Senior Notes Due 2026                  
Debt Instrument [Line Items]                  
Aggregate principle amount $ 2,000,000                
Interest rate 0.00%                
Proceeds from debt issuance, net $ 1,979,200                
Redemption price (percent) 100.00%                
Debt issuance costs $ 20,800                
Interest expense           1,000 200    
Debt, fair value           1,945,800      
Secured Debt                  
Debt Instrument [Line Items]                  
Principal repayment of long-term debt       $ 1,995,000          
Loss from extinguishment of debt       377,200          
Write-off of unamortized debt discount and deferred debt issuance costs       164,300          
Secured Debt | Redemption Premiums                  
Debt Instrument [Line Items]                  
Early redemption premiums       212,900          
Secured Debt | Third Party Costs                  
Debt Instrument [Line Items]                  
Early redemption premiums       $ 100          
Secured Debt | First lien loan due April 2025                  
Debt Instrument [Line Items]                  
Aggregate principle amount         $ 1,000,000        
Proceeds from debt issuance, net         961,400        
Debt issuance costs         $ 38,600        
Interest expense             17,000    
Periodic payment, percentage of principal amount         0.25%        
Secured Debt | Second lien loan due July 2025                  
Debt Instrument [Line Items]                  
Aggregate principle amount         $ 1,000,000        
Proceeds from debt issuance, net         967,500        
Debt issuance costs         $ 32,500        
Interest expense             24,300    
Secured Debt | Second lien loan due July 2025 | Class A Common Stock Warrants                  
Debt Instrument [Line Items]                  
Shares called by warrants (in shares) | shares         7,934,794        
Exercise price of warrants (in USD per share) | $ / shares         $ 28.355        
Warrants, fair value         $ 116,600       $ 985,200
Change in fair value of warrant liability             292,000    
Reclassification of derivative warrant liability to equity             $ 1,300,000    
Line of Credit | 2020 Credit Facility | Letter of Credit                  
Debt Instrument [Line Items]                  
Maximum borrowing capacity     $ 200,000            
Borrowings outstanding           $ 15,900   $ 15,900