v3.25.2
Debt Instruments - Schedule of Carrying Values of Debt Agreements (Details) - USD ($)
$ in Thousands
6 Months Ended 12 Months Ended
Jun. 30, 2025
Dec. 31, 2024
Debt Instrument [Line Items]    
Less: current portion of long-term debt $ (188,051) $ 0
Convertible Debt | 2026 And 2028 Convertible Notes    
Debt Instrument [Line Items]    
Principal amount 338,594 338,594
Less: unamortized debt issuance costs (659) (980)
Less: current portion of long-term debt (188,052) 0
Long-term debt, less current portion $ 149,883 $ 337,614
Convertible Debt | 2026 Convertible Notes    
Debt Instrument [Line Items]    
Effective interest rate 0.38% 0.38%
Convertible Debt | 2028 Convertible Notes    
Debt Instrument [Line Items]    
Effective interest rate 7.77% 7.77%