v3.25.4
Debt - Additional Information (Details)
$ / shares in Units, $ in Thousands
1 Months Ended 12 Months Ended
Feb. 28, 2025
USD ($)
Aug. 31, 2024
USD ($)
$ / shares
Dec. 31, 2025
USD ($)
$ / shares
Dec. 31, 2024
USD ($)
Dec. 31, 2023
USD ($)
Sep. 30, 2021
Debt Instrument [Line Items]            
Outstanding principal     $ 154,060      
Gain of extinguishment convertible note     $ 3,931 $ 12,110 $ 0  
0.25% Convertible Senior Notes Due 2026            
Debt Instrument [Line Items]            
Debt principal amount   $ 161,200        
Contractual Interest Rate     0.25%     0.25%
Outstanding principal     $ 4,060 63,132    
Maturity date     Oct. 01, 2026      
Debt instrument, initial conversion price | $ / shares     $ 73.11      
Debt instrument, effective interest rate     0.73%      
Date of Issuance     2021-09      
Gain of extinguishment convertible note   1,700        
Debt instrument, conversion ratio     0.01368      
0.25% Convertible Senior Notes Due 2026 | Repurchase Transactions            
Debt Instrument [Line Items]            
Gain on repurchases of debt $ 3,900          
Debt instrument, repurchase amount 59,100          
Outstanding principal     $ 4,100      
Debt repurchase cash consideration 54,400          
Write-off of unamortized debt issuance costs $ 600          
0.25% Convertible Senior Notes Due 2026 | Gain on Convertible Note Extinguishment            
Debt Instrument [Line Items]            
Write-off of unamortized debt issuance costs   2,000        
2028 Convertible Notes            
Debt Instrument [Line Items]            
Debt principal amount   $ 150,000        
Contractual Interest Rate   7.50% 7.50%      
Outstanding principal     $ 150,000 $ 150,000    
Debt instrument, frequency of periodic payment     semi-annually      
Debt instrument, payment terms     semi-annually in arrears on April 1 and October 1 of each year      
Maturity date   Oct. 01, 2028 Oct. 01, 2028      
Debt instrument, initial conversion price | $ / shares   $ 16 $ 16      
Debt instrument, effective interest rate     8.00%      
Date of Issuance     2024-08      
Debt repurchase cash consideration   $ 100        
Debt instrument, conversion ratio   0.0625 0.0625      
Debt instrument, convertible, type of equity security   The 2028 Convertible Notes will be convertible with an initial conversion rate of 62.5000 shares of common stock per $1,000 principal amount of 2028 Convertible Notes, which represents an initial conversion price of $16.00 per share of common stock, when certain conditions are met.        
Debt Instrument, redemption, description     The Company may not redeem the 2028 Convertible Notes prior to October 7, 2026. The 2028 Convertible Notes will be redeemable, in whole or in part (subject to certain limitations), for cash at the Company’s option at any time, and from time to time, on or after October 7, 2026 and on or before the 25th scheduled trading day immediately before the maturity date, but only if the last reported sale price per share of the Company’s common stock exceeds 130 percent of the conversion price for a specified period of time and certain other conditions are satisfied. The redemption price will be equal to the principal amount of the 2028 Convertible Notes to be redeemed, plus accrued and unpaid interest, if any, up to, but excluding, the redemption date. In addition, calling any 2028 Convertible Note for redemption will constitute a Make-Whole Fundamental Change with respect to that 2028 Convertible Note, in which case the conversion rate applicable to the conversion of that 2028 Convertible Note will be increased in certain circumstances if it is converted after it is called for redemption. Pursuant to the Partial Redemption Limitation, the Company may not elect to redeem less than all of the outstanding 2028 Convertible Notes unless at least $100.0 million aggregate principal amount of 2028 Convertible Notes are outstanding and not subject to redemption as of the time the Company sends the related redemption notice.      
Debt instrument, unamortization of premium effective interest rate     7.00%      
2028 Convertible Notes | Minimum            
Debt Instrument [Line Items]            
Debt instrument, limited redemption amount   $ 100,000