XML 76 R62.htm IDEA: XBRL DOCUMENT v3.22.0.1
DEBT - Convertible Senior Notes and Capped Call Options (Details)
$ / shares in Units, $ in Thousands
12 Months Ended
Jan. 12, 2021
$ / shares
Jan. 07, 2021
USD ($)
Dec. 31, 2021
USD ($)
$ / shares
Dec. 31, 2020
USD ($)
Dec. 31, 2019
USD ($)
Debt Instrument [Line Items]          
Amortization of debt issuance costs     $ 4,353 $ 2,267 $ 1,485
Share price (in dollars per share) | $ / shares     $ 8.72    
1.50% convertible senior notes due 2026 | 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     $ 4,200    
Amortization of debt issuance costs     $ 1,500    
Debt issuance costs   $ 7,600      
Effective interest rate     2.00%    
Convertible debt, conversion ratio 0.0834028        
Convertible debt, conversion price (in dollars per share) | $ / shares $ 11.99        
Conversion price, premium percentage 37.50%        
Convertible debt, strike price of capped call transactions (in dollars per share) | $ / shares $ 15.26        
Convertible debt, strike price of capped call transactions, premium percentage 75.00%        
1.50% convertible senior notes due 2026 | Convertible notes | Maximum          
Debt Instrument [Line Items]          
Convertible debt, conversion ratio 0.1146788