v3.25.1
DEBT - Convertible Senior Notes and Capped Call Options (Details)
$ / shares in Units, $ in Thousands
1 Months Ended 3 Months Ended
Jan. 07, 2021
$ / shares
Jan. 31, 2021
USD ($)
Mar. 31, 2025
USD ($)
$ / shares
Mar. 31, 2024
USD ($)
Dec. 31, 2024
USD ($)
Debt Instrument [Line Items]          
Amortization of debt issuance costs     $ 1,673 $ 1,619  
Share price (in dollars per share) | $ / shares     $ 8.72    
1.50% Convertible Senior Notes | Convertible notes          
Debt Instrument [Line Items]          
Debt instrument, face amount   $ 287,500      
Interest rate   1.50% 1.50%    
Proceeds from convertible debt   $ 280,000      
Interest rate effect on assumed conversion of convertible debt     $ 1,100 1,100  
Debt issuance costs   $ 7,600      
Amortization of debt issuance costs     $ 400 $ 400  
Debt instrument, effective interest rate     2.00% 2.00%  
Unamortized discount related to convertible notes     $ (1,400)   $ (1,700)
Debt instrument, conversion ratio 0.0834028   0.09249    
Conversion price, debt instruments (in dollars per share) | $ / shares $ 11.99        
Conversion price, premium percentage 37.50%        
Debt instrument convertible strike price of capped call transactions (in dollars per share) | $ / shares $ 15.26   $ 13.76    
Debt instrument convertible strike price of capped call transactions premium percentage 75.00%        
1.50% Convertible Senior Notes | Convertible notes | Maximum          
Debt Instrument [Line Items]          
Debt instrument, conversion ratio     0.01146788