XML 77 R67.htm IDEA: XBRL DOCUMENT v3.22.2.2
DEBT - Schedule of Convertible Senior Notes due in 2025 (Details) - Convertible Notes - USD ($)
$ in Thousands
3 Months Ended 9 Months Ended
Sep. 30, 2022
Sep. 30, 2021
Sep. 30, 2022
Sep. 30, 2021
Notes due 2025        
Debt Instrument [Line Items]        
Contractual interest expense $ 64 $ 64 $ 192 $ 278
Amortization of debt discount 1,103 1,047 3,239 4,469
Amortization of debt issuance costs 122 123 363 539
Total interest cost recognized 1,289 1,234 3,794 5,286
Notes due 2028        
Debt Instrument [Line Items]        
Amortization of debt discount 0 4,929 0 11,412
Amortization of debt issuance costs 327 235 969 550
Total interest cost recognized 327 5,164 969 11,962
Notes due 2026        
Debt Instrument [Line Items]        
Amortization of debt discount 0 5,650 0 13,023
Amortization of debt issuance costs 502 404 1,489 943
Total interest cost recognized $ 502 $ 6,054 $ 1,489 $ 13,966