v3.25.2
Debt - Schedule of Convertible Debt (Details) - Senior Notes
$ / shares in Units, shares in Thousands
6 Months Ended
Jun. 30, 2025
USD ($)
shares
$ / shares
Oct. 31, 2018
USD ($)
2025 Notes    
Debt Instrument [Line Items]    
Aggregate principal amount at issuance $ 172,500,000 $ 172,500,000
Interest rate per annum 1.50% 1.50%
Debt issuance costs $ 5,929,000  
Net proceeds $ 166,571,000  
Conversion rate per $1,000 of principal 0.0299135  
Conversion price (in dollars per share) | $ / shares $ 33.43  
Shares issuable upon conversion (in shares) | shares 5,160  
Carrying value $ 172,119,000  
Unamortized debt discount and issuance costs 381,000  
Outstanding principal $ 172,500,000  
Remaining amortization period (years) 3 months 18 days  
2025 Notes | Level 2    
Debt Instrument [Line Items]    
Fair value $ 170,275,000  
2029 Notes    
Debt Instrument [Line Items]    
Aggregate principal amount at issuance $ 402,500,000  
Interest rate per annum 3.50%  
Debt issuance costs $ 11,598,000  
Net proceeds $ 390,902,000  
Conversion rate per $1,000 of principal 0.0263125  
Conversion price (in dollars per share) | $ / shares $ 38.00  
Shares issuable upon conversion (in shares) | shares 10,592  
Carrying value $ 393,880,000  
Unamortized debt discount and issuance costs 8,620,000  
Outstanding principal $ 402,500,000  
Remaining amortization period (years) 4 years 4 months 24 days  
2029 Notes | Level 2    
Debt Instrument [Line Items]    
Fair value $ 342,137,000