v3.25.2
Debt - Narrative (Details)
$ / shares in Units, $ in Thousands
1 Months Ended
Apr. 25, 2025
USD ($)
$ / shares
shares
Apr. 24, 2025
USD ($)
$ / shares
shares
Oct. 31, 2024
USD ($)
payment
Oct. 31, 2022
USD ($)
quarterly_payment
May 31, 2021
USD ($)
Jun. 30, 2025
USD ($)
Dec. 31, 2024
USD ($)
Convertible notes              
Debt Instrument [Line Items]              
Debt issuance costs, net             $ 7,800
Long-term debt             567,200
Initial conversion rate   0.0307692          
0.75% Convertible Senior Notes Due 2028 | Convertible notes              
Debt Instrument [Line Items]              
Principal $ 567,500 $ 5,500     $ 575,000    
Option to purchase additional debt         75,000    
Debt issuance costs, net         15,700    
Payments of principal of 0.75% convertible senior notes due 2028         $ 559,300    
Initial conversion price (in dollars per share) | $ / shares   $ 32.50          
Net proceeds from issuance of common stock (in shares) | shares 17,756,196 168,944          
Conversion price (in dollars per share) | $ / shares $ 31.96            
Redemption price per share (in dollars per share) | $ / shares $ 1,000.1            
Interest rate (as a percent)           0.75%  
Initial conversion rate 0.0312861            
Tranche A Term Loan | Secured Debt              
Debt Instrument [Line Items]              
Principal       $ 350,000      
Debt issuance costs, net       $ 15,100      
Floor interest rate       2.50%      
Interest rate (as a percent)       7.75%      
Interest payable       50.00%      
Debt term (in months)       24 months      
Number of quarterly payments | quarterly_payment       8      
Proceeds from loans       $ 334,900      
Tranche B Term Loan | Secured Debt              
Debt Instrument [Line Items]              
Debt issuance costs, net     $ 3,700        
Proceeds from loans     146,300        
Debt instrument additional amount     $ 150,000        
Fee paid     2.00%        
Term Loans              
Debt Instrument [Line Items]              
Long-term debt           $ 538,508 536,218
Term Loans | Secured Debt              
Debt Instrument [Line Items]              
Principal           500,000 500,000
Long-term debt           $ 538,508 $ 536,218
Floor interest rate     9.60%        
Number of quarterly payments | payment     8        
Exit fee payment     2.00%        
Effective interest rate     10.60%