v3.22.2
Long-Term Debt - Additional Information (Details)
1 Months Ended 3 Months Ended 6 Months Ended 12 Months Ended
May 31, 2022
USD ($)
Feb. 28, 2022
USD ($)
d
$ / shares
shares
Apr. 30, 2021
USD ($)
$ / shares
shares
Apr. 30, 2020
USD ($)
$ / shares
shares
Aug. 31, 2019
USD ($)
$ / shares
shares
Jun. 30, 2022
USD ($)
$ / shares
Jun. 30, 2021
USD ($)
Jun. 30, 2022
USD ($)
$ / shares
Jun. 30, 2021
USD ($)
Dec. 31, 2021
USD ($)
shares
Debt Instrument [Line Items]                    
Proceeds from issuance of convertible notes, net of issuance costs             $ 1,137,227,000 $ 1,483,500,000 $ 1,137,227,000  
Amortization of debt issuance costs           $ 1,780,000 1,148,000 3,193,000 2,192,000  
2028 Notes                    
Debt Instrument [Line Items]                    
Debt instrument, principal amount   $ 1,500,000,000       1,500,000,000   $ 1,500,000,000    
Indenture date   Feb. 11, 2022                
Proceeds from issuance of convertible notes, net of issuance costs   $ 1,310,000,000                
Interest payment beginning date   Sep. 01, 2022                
Debt instrument, interest rate   0.125%                
Debt instrument, interest rate terms               Interest is payable in cash semi-annually in arrears beginning on September 1, 2022 at a rate of 0.125% per year.    
Debt instrument, maturity date   Mar. 01, 2028                
Debt instrument, redemption price percentage   100.00%                
Debt instrument convertible, amortization period               5 years 8 months 12 days    
Cap price, net cost           $ 177,000,000.0   $ 177,000,000.0    
2028 Notes | Class A Common Stock                    
Debt Instrument [Line Items]                    
Shares issued upon conversion of each $1000 principal amount | shares   17.7494                
Debt instrument, convertible principal amount used in conversion rate   $ 1,000                
Conversion price per share | $ / shares   $ 56.34                
Debt instrument convertible, percentage of conversion price   130.00%                
Debt instrument convertible, number of trading days | d   20                
Debt instrument, redemption price percentage   100.00%                
Cap price, per share | $ / shares           $ 93.90   $ 93.90    
2028 Notes | Class A Common Stock | Scenario One                    
Debt Instrument [Line Items]                    
Debt instrument convertible, percentage of conversion price   130.00%                
Debt instrument convertible, number of trading days | d   20                
Debt instrument convertible, number of consecutive trading days | d   30                
2028 Notes | Class A Common Stock | Scenario Two                    
Debt Instrument [Line Items]                    
Debt instrument, convertible principal amount used in conversion rate   $ 1,000                
Debt instrument convertible, number of consecutive trading days | d   10                
Debt instrument, convertible, threshold business days   5 days                
2028 Notes | Class A Common Stock | Scenario Two | Maximum                    
Debt Instrument [Line Items]                    
Debt instrument convertible, percentage of conversion price   98.00%                
2027 Notes                    
Debt Instrument [Line Items]                    
Debt instrument, principal amount     $ 1,150,000,000     $ 1,150,000,000   $ 1,150,000,000   $ 1,150,000,000
Proceeds from issuance of convertible notes, net of issuance costs     $ 1,050,000,000.00              
Debt instrument, maturity date     May 01, 2027              
Debt instrument convertible, amortization period               4 years 9 months 18 days    
Cap price, net cost           $ 86,800,000   $ 86,800,000    
2027 Notes | Class A Common Stock                    
Debt Instrument [Line Items]                    
Shares issued upon conversion of each $1000 principal amount | shares     11.2042              
Debt instrument, convertible principal amount used in conversion rate     $ 1,000              
Conversion price per share | $ / shares     $ 89.25              
Cap price, per share | $ / shares           $ 121.02   $ 121.02    
2025 Notes                    
Debt Instrument [Line Items]                    
Debt instrument, principal amount       $ 1,000,000,000.0   $ 284,105,000   $ 284,105,000   284,105,000
Debt instrument, interest rate       0.25%            
Debt instrument, interest rate terms               Interest is payable in cash semi-annually in arrears beginning on November 1, 2020 at a rate of 0.25% per year.    
Debt instrument, maturity date       May 01, 2025            
Proceeds from issuance of convertible notes, net of issuance costs       $ 888,600,000            
Interest payment beginning date       Nov. 01, 2020            
Debt instrument convertible, amortization period               2 years 9 months 18 days    
Cap price, net cost           $ 100,000,000.0   $ 100,000,000.0    
2025 Notes | Class A Common Stock                    
Debt Instrument [Line Items]                    
Shares issued upon conversion of each $1000 principal amount | shares       46.1233            
Debt instrument, convertible principal amount used in conversion rate       $ 1,000            
Conversion price per share | $ / shares       $ 21.68            
Cap price, per share | $ / shares           $ 32.12   $ 32.12    
2026 Notes                    
Debt Instrument [Line Items]                    
Debt instrument, principal amount         $ 1,265,000,000 $ 838,484,000   $ 838,484,000   838,493,000
Interest payment beginning date         Feb. 01, 2020          
Debt instrument, interest rate         0.75%          
Debt instrument, interest rate terms               Interest is payable in cash semi-annually in arrears beginning on February 1, 2020 at a rate of 0.75% per year.    
Debt instrument, maturity date         Aug. 01, 2026          
Proceeds from issuance of convertible notes, net of issuance costs         $ 1,150,000,000          
Debt instrument convertible, amortization period               4 years 1 month 6 days    
Cap price, net cost           $ 102,100,000   $ 102,100,000    
2026 Notes | Class A Common Stock                    
Debt Instrument [Line Items]                    
Shares issued upon conversion of each $1000 principal amount | shares         43.8481          
Debt instrument, convertible principal amount used in conversion rate         $ 1,000          
Conversion price per share | $ / shares         $ 22.81          
Cap price, per share | $ / shares           $ 32.58   $ 32.58    
2025, 2026 and 2027, 2028 Notes                    
Debt Instrument [Line Items]                    
Amortization of debt issuance costs           $ 1,700,000 1,100,000 $ 3,100,000 2,200,000  
Contractual interest expense           2,200,000 2,300,000 4,200,000 5,300,000  
Exchange Agreements                    
Debt Instrument [Line Items]                    
Induced conversion expense related to convertible notes           $ 0 $ 37,000,000.0 $ 0 $ 37,000,000.0  
Shares issued under original terms of general conversion with net carrying amount                   $ 1,132,600,000
Exchange Agreements | Class A Common Stock                    
Debt Instrument [Line Items]                    
Shares issued upon conversion of each $1000 principal amount | shares                   52,400,000
Additional shares issued upon conversion | shares                   700,000
Fair value of induced conversion exchange shares | shares                   700,000
Exchange Agreements | 2025 Notes                    
Debt Instrument [Line Items]                    
Debt conversion, principal amount                   $ 715,900,000
Exchange Agreements | 2026 Notes                    
Debt Instrument [Line Items]                    
Debt conversion, principal amount                   $ 426,500,000
Revolving Credit Facility                    
Debt Instrument [Line Items]                    
Credit facility expiration period 5 years                  
Maximum borrowing capacity $ 1,050,000,000.00                  
Annual commitment fee 0.10%                  
Amounts outstanding under the credit facility $ 0                  
Outstanding letters of credit $ 26,600,000                  
Revolving Credit Facility | Secured Overnight Financing Rate (SOFR) Overnight Index Swap Rate                    
Debt Instrument [Line Items]                    
Basis spread on variable interest rate (percentage) 0.75%                  
Revolving Credit Facility | Sterling Overnight Index                    
Debt Instrument [Line Items]                    
Basis spread on variable interest rate (percentage) 0.7826%                  
Revolving Credit Facility | One Month Secured Overnight Financing Rate S O F R Overnight Index Swap Rate                    
Debt Instrument [Line Items]                    
Credit facility expiration period 1 month                  
Basis spread on variable interest rate (percentage) 1.00%                  
Revolving Credit Facility | Miscellaneous                    
Debt Instrument [Line Items]                    
Basis spread on variable interest rate (percentage) 0.75%                  
Revolving Credit Facility | Overnight Funding Rate                    
Debt Instrument [Line Items]                    
Basis spread on variable interest rate (percentage) 0.50%                  
Initial Placement | 2028 Notes                    
Debt Instrument [Line Items]                    
Debt instrument, principal amount   $ 1,300,000,000                
Over-Allotment Option | 2028 Notes                    
Debt Instrument [Line Items]                    
Debt instrument, principal amount   $ 200,000,000.0