Annual report pursuant to Section 13 and 15(d)

Convertible Senior Notes (Details)

v3.25.0.1
Convertible Senior Notes (Details)
$ in Thousands
12 Months Ended
Dec. 31, 2023
USD ($)
Dec. 31, 2024
USD ($)
Dec. 31, 2023
USD ($)
Dec. 31, 2022
USD ($)
Debt Instrument, Redemption [Line Items]        
Convertible senior notes conversion ratio   33.8752 33.8752  
Repurchase of convertible senior notes   $ 9,675 $ 13,169 $ 143,774
Aggregate principal amount $ 295,800   295,800  
Convertible senior notes $ 268,582 $ 260,229 268,582  
Maturity Year 2026        
Debt Instrument, Redemption [Line Items]        
Convertible senior notes conversion ratio 0.0338752 0.0338752    
Convertible Debt | Maturity Year 2026        
Debt Instrument, Redemption [Line Items]        
Convertible senior notes interest rate per annum   6.25%    
Principal amount repurchased   $ 10,000 15,600  
Repurchase of convertible senior notes   9,700 13,200  
Gain on repurchase of convertible notes   200 2,200  
Aggregate principal amount $ 271,900 $ 261,900 $ 271,900