v3.24.0.1
Debt (Details)
1 Months Ended 3 Months Ended 12 Months Ended
Oct. 31, 2022
USD ($)
Mar. 08, 2021
USD ($)
$ / shares
Mar. 03, 2021
USD ($)
$ / shares
Mar. 31, 2021
USD ($)
Apr. 30, 2020
USD ($)
$ / shares
shares
Mar. 31, 2021
USD ($)
Dec. 31, 2023
USD ($)
$ / shares
shares
Dec. 31, 2022
USD ($)
$ / shares
shares
Dec. 31, 2021
USD ($)
Dec. 31, 2020
USD ($)
Debt Instrument [Line Items]                    
Long-term debt             $ 1,991,000,000 $ 1,987,000,000    
Capped calls, transaction costs     $ 100,000,000              
Principal repayment of long-term debt             0 0 $ 1,995,000,000  
Loss from extinguishment of debt             0 0 377,000,000  
Early redemption premiums             0 0 213,000,000  
Loss on warrants, net             $ 0 $ 0 292,000,000  
Reclassification of derivative warrant liability to equity                 1,277,000,000  
Class A Common Stock Warrants                    
Debt Instrument [Line Items]                    
Shares called by warrants (in shares) | shares             5,600,000 7,900,000    
Exercise price of warrants (in USD per share) | $ / shares             $ 28.355 $ 28.355    
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                
2022 Credit Facility | Revolving Credit Facility                    
Debt Instrument [Line Items]                    
Debt instrument, term 5 years                  
Initial borrowing capacity $ 1,000,000,000                  
Borrowings outstanding, amount drawn             $ 0      
2022 Credit Facility | Revolving Credit Facility | Secured Overnight Financing Rate (SOFR) Overnight Index Swap Rate | Interest Rate Scenario One                    
Debt Instrument [Line Items]                    
Variable rate floor 0.00%                  
2022 Credit Facility | Revolving Credit Facility | Secured Overnight Financing Rate (SOFR) Overnight Index Swap Rate | Interest Rate Scenario Two                    
Debt Instrument [Line Items]                    
Basis spread on variable rate 1.00%                  
2022 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%                  
2022 Credit Facility | Revolving Credit Facility | Minimum                    
Debt Instrument [Line Items]                    
Commitment fee percentage 0.10%                  
2022 Credit Facility | Revolving Credit Facility | Minimum | Secured Overnight Financing Rate (SOFR) Overnight Index Swap Rate | Interest Rate Scenario One                    
Debt Instrument [Line Items]                    
Basis spread on variable rate 1.00%                  
2022 Credit Facility | Revolving Credit Facility | Minimum | Base Rate | Interest Rate Scenario Two                    
Debt Instrument [Line Items]                    
Basis spread on variable rate 0.00%                  
2022 Credit Facility | Revolving Credit Facility | Maximum                    
Debt Instrument [Line Items]                    
Commitment fee percentage 0.20%                  
2022 Credit Facility | Revolving Credit Facility | Maximum | Secured Overnight Financing Rate (SOFR) Overnight Index Swap Rate | Interest Rate Scenario One                    
Debt Instrument [Line Items]                    
Basis spread on variable rate 1.50%                  
2022 Credit Facility | Revolving Credit Facility | Maximum | Base Rate | Interest Rate Scenario Two                    
Debt Instrument [Line Items]                    
Basis spread on variable rate 0.50%                  
Convertible Debt | Senior Notes Due 2026                    
Debt Instrument [Line Items]                    
Aggregate principle amount   $ 2,000,000,000                
Interest rate   0.00%                
Long-term debt             $ 2,000,000,000 $ 2,000,000,000    
Effective interest rate             0.20% 0.20%    
Debt issuance costs   $ 21,000,000                
Interest expense             $ 4,000,000 $ 4,000,000 3,000,000  
Proceeds from debt issuance, net   $ 1,979,000,000                
Redemption price (percent)   100.00%                
Debt, fair value             1,800,000,000      
Secured Debt                    
Debt Instrument [Line Items]                    
Principal repayment of long-term debt       $ 2,000,000,000            
Loss from extinguishment of debt       377,000,000            
Write-off of unamortized debt discount and deferred debt issuance costs       164,000,000            
Secured Debt | Redemption Premiums                    
Debt Instrument [Line Items]                    
Early redemption premiums       $ 213,000,000            
Secured Debt | First Lien Credit Agreement                    
Debt Instrument [Line Items]                    
Aggregate principle amount         $ 1,000,000,000          
Debt issuance costs         39,000,000          
Interest expense                 41,000,000  
Proceeds from debt issuance, net         961,000,000          
Secured Debt | Second Lien Credit Agreement                    
Debt Instrument [Line Items]                    
Aggregate principle amount         1,000,000,000          
Debt issuance costs         33,000,000          
Interest expense                 $ 41,000,000  
Proceeds from debt issuance, net         $ 968,000,000          
Secured Debt | Second Lien Credit Agreement | Class A Common Stock Warrants                    
Debt Instrument [Line Items]                    
Shares called by warrants (in shares) | shares         7,900,000          
Exercise price of warrants (in USD per share) | $ / shares         $ 28.355          
Warrants, fair value         $ 117,000,000         $ 985,000,000
Loss on warrants, net           $ 292,000,000        
Reclassification of derivative warrant liability to equity           $ 1,300,000,000        
Line of Credit | 2022 Credit Facility | Letter of Credit                    
Debt Instrument [Line Items]                    
Maximum borrowing capacity $ 200,000,000                  
Borrowings outstanding             $ 29,000,000