XML 59 R49.htm IDEA: XBRL DOCUMENT v3.22.1
DEBT - Convertible Senior Notes and Capped Call Options (Details)
$ / shares in Units, $ in Thousands
3 Months Ended
Jan. 12, 2021
$ / shares
Jan. 07, 2021
USD ($)
Mar. 31, 2022
USD ($)
Mar. 31, 2021
USD ($)
Dec. 31, 2021
$ / shares
Debt Instrument [Line Items]          
Amortization of debt issuance costs     $ 1,412 $ 1,011  
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      
Stated interest rate   1.50%      
Proceeds from convertible debt   $ 280,000      
Coupon interest expense     1,000 900  
Amortization of debt issuance costs     $ 400 $ 400  
Debt issuance costs   $ 7,600      
Debt instrument, effective interest rate         2.00%
Debt instrument, conversion ratio 0.0834028        
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        
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.1146788