v3.25.0.1
Debt - Schedule of Maturities of Long Term Debt (Details) - USD ($)
$ in Thousands
Dec. 31, 2024
Dec. 31, 2023
Jan. 11, 2021
May 04, 2020
Total Long-Term Debt        
2025 $ 201,250      
2026 0      
2027 0      
2028 345,000      
2029 0      
Thereafter 0      
Principal 546,250      
Less: Current portion of long-term debt (200,777)      
Less: Unamortized debt discount (4,980)      
Less: Unamortized debt issuance costs (158)      
Total long-term debt, net $ 340,335 $ 538,198    
Convertible Debt | 2028 Convertible Notes        
Line of Credit Facility [Line Items]        
Stated interest rate 0.25% 0.25% 0.25%  
Total Long-Term Debt        
2025 $ 0      
2026 0      
2027 0      
2028 345,000      
2029 0      
Thereafter 0      
Principal 345,000 $ 345,000    
Less: Current portion of long-term debt 0      
Less: Unamortized debt discount (4,559) (6,038)    
Less: Unamortized debt issuance costs (106) $ (140)    
Total long-term debt, net $ 340,335      
Convertible Debt | 2025 Convertible Notes        
Line of Credit Facility [Line Items]        
Stated interest rate 1.25% 1.25%   1.25%
Total Long-Term Debt        
2025 $ 201,250      
2026 0      
2027 0      
2028 0      
2029 0      
Thereafter 0      
Principal 201,250 $ 201,250    
Less: Current portion of long-term debt (200,777)      
Less: Unamortized debt discount (421) (1,668)    
Less: Unamortized debt issuance costs (52) $ (206)    
Total long-term debt, net $ 0