v3.25.2
Long Term Debt Additional Information (Details)
$ / shares in Units, $ in Thousands
3 Months Ended 6 Months Ended
Jun. 30, 2025
USD ($)
Jun. 06, 2022
USD ($)
$ / shares
Jun. 30, 2025
USD ($)
Jun. 30, 2024
USD ($)
Jun. 30, 2025
USD ($)
Jun. 30, 2024
USD ($)
Jun. 10, 2025
USD ($)
Dec. 31, 2024
USD ($)
Jan. 29, 2019
Debt Instrument [Line Items]                  
Repayments of Senior Debt         $ 54,821 $ 0      
Payments to redeem convertible notes         0 70,000      
Term Loan Facility                  
Debt Instrument [Line Items]                  
Long-term Debt $ 84,466   $ 84,466   84,466     $ 114,234  
Term Loan Facility | Amended and Restated Senior Credit Agreement                  
Debt Instrument [Line Items]                  
Debt instrument, face amount             $ 100,000    
Repayments of Senior Debt 15,000 $ 90,000              
Long-term Debt, Gross 85,000   85,000   85,000        
Line of Credit                  
Debt Instrument [Line Items]                  
Long-term Debt 4,000   4,000   4,000     $ 0  
Line of Credit | Amended and Restated Senior Credit Agreement                  
Debt Instrument [Line Items]                  
Line of Credit Facility, Maximum Borrowing Capacity             $ 650,000    
Line of Credit Facility, Remaining Borrowing Capacity 644,400   644,400   644,400        
Letters of Credit Outstanding, Amount 1,600   1,600   1,600        
Convertible Notes Payable | 2.250 Percent Convertible Notes Due 2027                  
Debt Instrument [Line Items]                  
Debt instrument, face amount   $ 800,000              
Interest rate, stated percentage   2.25%              
Debt Instrument, Convertible, Conversion Ratio   6.8810              
Conversion price (in dollars per share) | $ / shares   $ 145.33              
Interest Expense, Debt     4,500 $ 4,500 9,000 $ 9,000      
Debt Instrument, Fair Value Disclosure $ 758,800   $ 758,800   $ 758,800        
Convertible Notes Payable | 2.250 Percent Convertible Notes Due 2027 | Warrant                  
Debt Instrument [Line Items]                  
Option indexed to issuer's equity, strike price (in dollars per share) | $ / shares   $ 251.53              
Convertible Notes Payable | 2.625 Percent Convertible Notes Due 2024                  
Debt Instrument [Line Items]                  
Interest rate, stated percentage                 2.625%
Long-term Debt | Amended and Restated Senior Credit Agreement                  
Debt Instrument [Line Items]                  
Term SOFR Interest Rate 4.375%   4.375%   4.375%        
Effective Interest Rate 5.50%   5.50%   5.50%        
Long-term Debt | Amended and Restated Senior Credit Agreement | Secured Overnight Financing Rate (SOFR)                  
Debt Instrument [Line Items]                  
Debt Instrument, Basis Spread on Variable Rate         1.125%        
Long-term Debt | Amended and Restated Senior Credit Agreement | Alternate Base Rate Spread, New York Federal Reserve Bank Rate                  
Debt Instrument [Line Items]                  
Debt Instrument, Basis Spread on Variable Rate         0.50%        
Long-term Debt | Amended and Restated Senior Credit Agreement | Alternate Base Rate Spread, Secured Overnight Financing Rate (SOFR)                  
Debt Instrument [Line Items]                  
Debt Instrument, Basis Spread on Variable Rate         1.00%        
Call Option | Convertible Notes Payable | 2.250 Percent Convertible Notes Due 2027                  
Debt Instrument [Line Items]                  
Hedge and warrant transactions, net cash paid   $ 115,600