v3.25.4
Debt and Credit Facilities - Additional Information (Details)
1 Months Ended 3 Months Ended 12 Months Ended
Jun. 30, 2025
USD ($)
Extension
Feb. 29, 2024
USD ($)
Days
$ / shares
Sep. 30, 2022
USD ($)
Aug. 31, 2020
USD ($)
$ / shares
shares
Mar. 31, 2024
USD ($)
Dec. 31, 2025
USD ($)
Days
$ / shares
shares
Dec. 31, 2024
USD ($)
Dec. 31, 2023
USD ($)
Debt Instrument [Line Items]                
Amortization of debt fees           $ 5,057,000 $ 7,799,000 $ 2,842,000
Effective tax rate and tax benefit             4,300,000  
Letters of credit outstanding amount           356,200,000 328,400,000  
Tax effect of unwind existing bond hedge           11,239,000 7,701,000  
Convertible debt repurchase loss           0 (18,355,000) $ 0
Deferred tax liabilities           12,159,000 11,043,000  
Deferred tax assets           88,191,000 $ 133,450,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% 5.60%
Amortization of debt fees           200,000 $ 300,000 $ 300,000
Interest expense           8,700,000 23,100,000 22,400,000
Debt instrument, outstanding amount           0 $ 350,000,000  
Debt amount     $ 350,000,000          
Maturity Date     Jun. 30, 2025          
Debt issuance date     Sep. 30, 2022          
Debt instrument, maturity period     3 years          
Unused term loan commitments rate     0.175%          
Term Loan                
Debt Instrument [Line Items]                
Debt issuance costs incurred           $ 900,000    
Interest rate           4.80%    
Amortization of debt fees           $ 200,000    
Interest expense           14,000,000    
Debt instrument, outstanding amount           450,000,000    
Debt amount $ 450,000,000              
Debt issuance date Jun. 30, 2025              
Debt instrument, maturity period 3 years              
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%        
Amortization of debt fees             3,500,000 2,100,000
Interest expense           100,000 3,900,000 3,100,000
Debt instrument, outstanding amount           $ 0    
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        
Net carrying value of notes             113,400,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        
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 2029                
Debt Instrument [Line Items]                
Interest rate   2.625%            
Amortization of debt fees           4,200,000 3,500,000  
Interest expense           25,200,000 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           $ 788,500,000 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            
Delayed Draw Term Loan Due 2025                
Debt Instrument [Line Items]                
Debt instrument, outstanding amount           0 350,000,000  
Terminated debt $ 350,000,000              
Term Loan Due 2028                
Debt Instrument [Line Items]                
Debt instrument, outstanding amount           450,000,000 0  
Debt amount 450,000,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 | 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 | Minimum | 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%          
Base Rate | Maximum | 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 | Minimum | 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%          
SOFR Benchmark Rate | Maximum | Term Loan                
Debt Instrument [Line Items]                
Margin interest rate 1.50%              
Revolving Credit Facility Due 2026                
Debt Instrument [Line Items]                
Interest expense           $ 700,000 700,000 3,900,000
Terminated debt $ 650,000,000              
Revolving Credit Facility Due 2030                
Debt Instrument [Line Items]                
Credit agreement date Jun. 30, 2021              
Revolving credit facility $ 750,000,000              
Debt issuance costs incurred 1,700,000              
Revolving credit facility $ 650,000,000              
Credit agreement maturity period 5 years              
Credit agreement number of extensions | Extension 2              
Interest rate           5.00%    
Amortization of debt fees           $ 500,000    
Letters of credit outstanding amount           41,800,000    
Interest expense           $ 700,000 $ 700,000 $ 3,900,000
Revolving Credit Facility Due 2030 | Base Rate | Minimum                
Debt Instrument [Line Items]                
Margin interest rate 0.00%              
Revolving Credit Facility Due 2030 | Base Rate | Maximum                
Debt Instrument [Line Items]                
Margin interest rate 0.625%              
Revolving Credit Facility Due 2030 | SOFR Benchmark Rate | Minimum                
Debt Instrument [Line Items]                
Margin interest rate 1.00%              
Revolving Credit Facility Due 2030 | SOFR Benchmark Rate | Maximum                
Debt Instrument [Line Items]                
Margin interest rate 1.625%