v3.25.2
Debt (Details)
3 Months Ended 6 Months Ended
Jun. 30, 2025
USD ($)
day
$ / shares
Mar. 31, 2025
day
Jun. 30, 2024
USD ($)
Jun. 30, 2025
USD ($)
$ / shares
Jun. 30, 2024
USD ($)
Dec. 31, 2024
USD ($)
Jan. 11, 2021
USD ($)
May 04, 2020
USD ($)
Line of Credit Facility [Line Items]                
Convertible senior notes, net $ 341,095,000     $ 341,095,000   $ 340,335,000    
2028 Convertible Notes                
Line of Credit Facility [Line Items]                
Convertible senior notes, net $ 341,100,000     $ 341,100,000   $ 340,300,000    
2028 Convertible Notes | Convertible Debt                
Line of Credit Facility [Line Items]                
Debt instrument, face amount             $ 345,000,000  
Stated interest rate (as a percent) 0.25%     0.25%   0.25% 0.25%  
Convertible notes, conversion price (in dollars per share) | $ / shares $ 7.31     $ 7.31        
Interest expense, contractual coupon interest $ 200,000   $ 200,000 $ 400,000 $ 400,000      
Interest expense, accretion of debt discount 400,000   400,000 700,000 700,000      
Interest expense, amortization of debt issuance costs 8,600   8,500 $ 17,000 17,000      
Effective interest rate on convertible notes (as a percent)       0.70%        
2028 Convertible Notes | Convertible Debt | Level 2                
Line of Credit Facility [Line Items]                
Estimated fair value of debt $ 293,300,000     $ 293,300,000   $ 284,800,000    
2028 Convertible Notes | Convertible Debt | Debt Instrument, Redemption, Period One                
Line of Credit Facility [Line Items]                
Conversion price on applicable trading day (as a percent) 130.00% 130.00%            
Threshold trading days (in days) | day 20 20            
Consecutive trading days (in days) | day 30 30            
2025 Convertible Notes | Convertible Debt                
Line of Credit Facility [Line Items]                
Debt instrument, face amount               $ 201,300,000
Stated interest rate (as a percent) 1.25%     1.25%       1.25%
Interest expense, contractual coupon interest $ 200,000   600,000 $ 800,000 1,300,000      
Interest expense, accretion of debt discount 100,000   300,000 400,000 600,000      
Interest expense, amortization of debt issuance costs $ 13,000   $ 38,000 $ 52,000 $ 100,000      
Effective interest rate on convertible notes (as a percent)       1.96%        
Outstanding interest               $ 1,300,000