v3.25.0.1
Debt and Credit Facilities - Additional Information (Details)
1 Months Ended 3 Months Ended 6 Months Ended 12 Months Ended
Jan. 01, 2024
USD ($)
Feb. 29, 2024
USD ($)
Days
$ / shares
Sep. 30, 2022
USD ($)
Jun. 30, 2021
USD ($)
Extension
Aug. 31, 2020
USD ($)
d
$ / shares
shares
Mar. 31, 2024
USD ($)
Jun. 30, 2021
USD ($)
Dec. 31, 2024
USD ($)
d
Days
$ / shares
shares
Dec. 31, 2023
USD ($)
Dec. 31, 2022
USD ($)
Nov. 30, 2022
USD ($)
Debt Instrument [Line Items]                      
Effective tax rate and tax benefit               $ 4,300,000      
Letters of credit outstanding amount               328,400,000 $ 320,700,000    
Debt instrument, outstanding amount               0 0    
Tax effect of unwind existing bond hedge               7,701,000 6,977,000    
Convertible debt repurchase loss $ 18,400,000         $ 18,355,000   18,355,000 0 $ 0  
Deferred tax liabilities               11,043,000 9,775,000    
Deferred tax assets               133,450,000 $ 140,162,000    
Convertible Note Hedge And Warrant Transaction                      
Debt Instrument [Line Items]                      
Tax effect of unwind existing bond hedge               $ 46,200,000      
Capped Call Transaction                      
Debt Instrument [Line Items]                      
Deferred tax assets   $ 22,300,000                  
2022 Delayed Draw Term Loan                      
Debt Instrument [Line Items]                      
Debt issuance costs incurred                   900,000  
Interest rate               5.60% 6.60%    
Interest expense               $ 23,100,000 $ 22,400,000 3,300,000  
Debt instrument, outstanding amount               $ 350,000,000 350,000,000   $ 350,000,000
Debt amount     $ 350,000,000                
Debt issuance date     Sep. 30, 2022                
Debt instrument, maturity period     3 years                
Unused term loan commitments rate     0.175%                
Convertible Senior Notes | Convertible Note Hedge And Warrant Transaction                      
Debt Instrument [Line Items]                      
Interest rate           0.25%   0.25%      
Effective tax rate and tax benefit           $ 49,900,000          
Convertible debt repurchase loss               $ 18,400,000      
Acceleration charge of amortization of debt issuance costs               3,200,000      
Convertible Senior Notes | ASU 2024-04 | Convertible Note Hedge And Warrant Transaction                      
Debt Instrument [Line Items]                      
Loss on extinguishment of debt           211,000,000          
Convertible Senior Notes Due 2025                      
Debt Instrument [Line Items]                      
Interest rate         0.25%            
Interest expense               $ 3,900,000 3,100,000 3,000,000  
Debt amount         $ 400,000,000.0            
Exercise of option by initial purchasers aggregate principal amount         50,000,000.0            
Proceeds from issuance and sale of debt         389,700,000            
Transaction fees and other third-party offering expenses         $ 10,300,000            
Debt instrument, payment terms               The Convertible Senior Notes accrue interest at a rate of 0.25% per annum, payable semi-annually on February 15 and August 15 of each year beginning on February 15, 2021      
Debt instrument, frequency of periodic payment               semi-annually      
Maturity Date         Aug. 15, 2025            
Convertible note converted each amount               $ 1,000      
Convertible notes converted each into shares of common stock | shares               22.2913      
Debt Instrument, conversion price | $ / shares               $ 44.86      
Threshold trading days | d         20     51      
Threshold consecutive trading days | d         30            
Conversion percentage of stock price trigger         130.00%            
Number of business day period         5 days            
Consecutive trading day period         5 days            
Convertible principal amount         $ 1,000            
Measurement period, percentage         98.00%            
Percentage of principal amount to redeem convertible senior notes         100.00%            
Percentage of convertible senior notes repurchased at cash         100.00%            
Net carrying value of notes               $ 113,400,000 $ 396,500,000    
Convertible Senior Notes Due 2025 | Convertible Note Hedge And Warrant Transaction                      
Debt Instrument [Line Items]                      
Proceeds from issuance and sale of debt           391,800,000          
Purchase of convertible senior notes   $ 228,100,000                  
Bond hedge term               5 years      
Number of shares issuable upon conversion | shares         8,900,000            
Cost of convertible note hedge transaction         $ 55,000,000            
Number of common stock acquired by offsetting sale warrants. | shares               8,900,000      
Exercise price of warrants | $ / shares               $ 66.46      
Proceeds from issuance of warrants               $ 13,800,000      
Purchase of bond hedges and sale of warrants         $ 41,200,000            
Deferred tax liabilities               16,200,000      
Deferred tax assets               16,500,000      
Convertible Senior Notes Due 2025 | Capped Call Transaction                      
Debt Instrument [Line Items]                      
Debt Instrument, conversion price | $ / shares   $ 131.7575                  
Cost of convertible note hedge transaction   $ 88,400,000                  
Premium of reported sale price percentage   75.00%                  
Convertible Notes Converted Sale Price Of Common Stock | $ / shares   $ 75.29                  
Convertible Senior Notes Due 2025 | ASC 2020-06 | Convertible Note Hedge And Warrant Transaction                      
Debt Instrument [Line Items]                      
Deferred tax liability reversed               13,900,000      
Additional deferred tax liability related to capitalized debt issuance costs               400,000      
Adjustment to deferred tax asset through retained earnings               900,000      
Convertible Senior Notes due 2029                      
Debt Instrument [Line Items]                      
Interest rate   2.625%                  
Interest expense               21,300,000      
Debt amount   $ 800,000,000                  
Exercise of option by initial purchasers aggregate principal amount   100,000,000                  
Proceeds from issuance and sale of debt   781,100,000                  
Transaction fees and other third-party offering expenses   $ 18,900,000                  
Debt instrument, payment terms   The 2029 Convertible Notes accrue interest at a rate of 2.625% per annum, payable semi-annually on March 1 and September 1 of each year beginning on September 1, 2024                  
Debt instrument, frequency of periodic payment   semi-annually                  
Maturity Date   Mar. 01, 2029                  
Convertible note converted each amount               $ 1,000      
Convertible notes converted each into shares of common stock | shares               10.6256      
Debt Instrument, conversion price | $ / shares               $ 94.11      
Threshold trading days | Days   20           51      
Threshold consecutive trading days | Days   30                  
Conversion percentage of stock price trigger   130.00%                  
Number of business day period   5 days                  
Consecutive trading day period   10 days                  
Convertible principal amount   $ 1,000                  
Measurement period, percentage   98.00%                  
Percentage of principal amount to redeem convertible senior notes   100.00%                  
Percentage of convertible senior notes repurchased at cash   100.00%                  
Net carrying value of notes               $ 784,300,000      
Convertible Senior Notes Due 2025 Note Hedge And Warrants | Convertible Note Hedge And Warrant Transaction                      
Debt Instrument [Line Items]                      
Proceeds from issuance and sale of debt           $ 103,800,000          
Purchase of convertible senior notes   $ 56,500,000                  
Proceeds from partial termination of note hedge and warrants   $ 90,600,000                  
Minimum | Convertible Senior Notes Due 2025 | Convertible Note Hedge And Warrant Transaction                      
Debt Instrument [Line Items]                      
Debt Instrument, conversion price | $ / shares         $ 44.86            
Percentage of bond hedge and warrant transactions increased conversion price         35.00%            
Maximum | 2022 Delayed Draw Term Loan                      
Debt Instrument [Line Items]                      
Increase in term loan     $ 150,000,000                
Maximum | Convertible Senior Notes Due 2025 | Convertible Note Hedge And Warrant Transaction                      
Debt Instrument [Line Items]                      
Debt Instrument, conversion price | $ / shares         $ 66.46            
Percentage of bond hedge and warrant transactions increased conversion price         100.00%            
Base Rate | Minimum | 2022 Delayed Draw Term Loan                      
Debt Instrument [Line Items]                      
Margin interest rate     0.00%                
Base Rate | Maximum | 2022 Delayed Draw Term Loan                      
Debt Instrument [Line Items]                      
Margin interest rate     0.50%                
SOFR Benchmark Rate | Minimum | 2022 Delayed Draw Term Loan                      
Debt Instrument [Line Items]                      
Margin interest rate     0.875%                
SOFR Benchmark Rate | Maximum | 2022 Delayed Draw Term Loan                      
Debt Instrument [Line Items]                      
Margin interest rate     1.50%                
Revolving Credit Facility                      
Debt Instrument [Line Items]                      
Credit agreement date       Jun. 30, 2021              
Revolving credit facility       $ 650,000,000     $ 650,000,000        
Debt issuance costs incurred       1,900,000     1,900,000        
Revolving credit facility       $ 550,000,000     $ 550,000,000        
Credit agreement maturity period       5 years              
Credit agreement number of extensions | Extension       2              
Interest rate               5.70% 6.70%    
Letters of credit outstanding amount               $ 43,000,000 $ 43,800,000    
Interest expense               $ 700,000 $ 3,900,000 $ 4,300,000  
Revolving Credit Facility | Base Rate | Minimum                      
Debt Instrument [Line Items]                      
Margin interest rate             0.00%        
Revolving Credit Facility | Base Rate | Maximum                      
Debt Instrument [Line Items]                      
Margin interest rate             0.625%        
Revolving Credit Facility | Euro Currency Rate | Minimum                      
Debt Instrument [Line Items]                      
Margin interest rate       1.00%              
Revolving Credit Facility | Euro Currency Rate | Maximum                      
Debt Instrument [Line Items]                      
Margin interest rate       1.625%