XML 78 R67.htm IDEA: XBRL DOCUMENT v3.21.2
DEBT - Schedule of Convertible Senior Notes due in 2025 (Details) - Convertible Notes - USD ($)
$ in Thousands
3 Months Ended 9 Months Ended
Sep. 30, 2021
Sep. 30, 2020
Sep. 30, 2021
Sep. 30, 2020
Convertible Senior Notes Due 2025        
Debt Instrument [Line Items]        
Contractual interest expense $ 64 $ 200 $ 278 $ 449
Amortization of debt discount 1,047 3,110 4,469 6,922
Amortization of debt issuance costs 123 380 539 848
Total interest cost recognized 1,234 $ 3,690 5,286 $ 8,219
Convertible Senior Notes Due 2026        
Debt Instrument [Line Items]        
Amortization of debt discount 5,650   13,023  
Amortization of debt issuance costs 404   943  
Total interest cost recognized 6,054   13,966  
Convertible Senior Notes Due 2028        
Debt Instrument [Line Items]        
Amortization of debt discount 4,929   11,412  
Amortization of debt issuance costs 235   550  
Total interest cost recognized $ 5,164   $ 11,962