v3.26.1
Convertible Senior Notes, Net - Additional Information (Details) - USD ($)
$ in Thousands
6 Months Ended
Jun. 30, 2026
Jun. 30, 2025
Aug. 20, 2025
Feb. 10, 2025
Feb. 29, 2024
Debt Instrument [Line Items]          
Repayments of debt $ 0 $ 26,749      
2031 Notes | Convertible Debt | February 2025 Note Exchange          
Debt Instrument [Line Items]          
Aggregate principal amount       $ 146,700  
2031 Notes | Convertible Debt | August 2025 Note Exchange          
Debt Instrument [Line Items]          
Aggregate principal amount     $ 43,400    
2031 Notes | Notes          
Debt Instrument [Line Items]          
Aggregate principal amount 190,100        
Long-term debt $ 183,700        
Stated interest rate (in percent) 4.00%        
Unamortized debt discount and issuance costs $ 6,380        
2031 Notes | Senior Notes          
Debt Instrument [Line Items]          
Aggregate principal amount $ 190,100        
Stated interest rate (in percent) 4.00%        
2028 Notes | Convertible Debt | February 2025 Note Exchange          
Debt Instrument [Line Items]          
Aggregate principal amount exchanged       $ 183,300  
2028 Notes | Convertible Debt | August 2025 Note Exchange          
Debt Instrument [Line Items]          
Aggregate principal amount exchanged     $ 49,500    
2028 Notes | Notes          
Debt Instrument [Line Items]          
Unamortized debt discount and issuance costs $ 384        
2028 Notes | Senior Notes          
Debt Instrument [Line Items]          
Aggregate principal amount 48,200        
Aggregate principal amount exchanged         $ 6,500
Long-term debt $ 47,800        
Stated interest rate (in percent) 1.00%        
Unamortized issuance costs $ 400        
2025 Notes | Notes          
Debt Instrument [Line Items]          
Repayments of debt $ 27,200        
Long-term debt   $ 0      
2025 Notes | Senior Notes          
Debt Instrument [Line Items]          
Aggregate principal amount exchanged         $ 145,800
Stated interest rate (in percent)         3.00%