XML 72 R61.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 6 Months Ended
Jun. 30, 2021
Jun. 30, 2020
Jun. 30, 2021
Jun. 30, 2020
Convertible Senior Notes Due 2025        
Debt Instrument [Line Items]        
Contractual interest expense $ 64 $ 200 $ 214 $ 249
Amortization of debt discount 1,033 3,069 3,422 3,812
Amortization of debt issuance costs 122 381 416 468
Total interest cost recognized 1,219 $ 3,650 4,052 $ 4,529
Convertible Senior Notes Due 2026        
Debt Instrument [Line Items]        
Amortization of debt discount 5,587   7,373  
Amortization of debt issuance costs 404   539  
Total interest cost recognized 5,991   7,912  
Convertible Senior Notes Due 2028        
Debt Instrument [Line Items]        
Amortization of debt discount 4,872   6,483  
Amortization of debt issuance costs 236   315  
Total interest cost recognized $ 5,108   $ 6,798