XML 99 R84.htm IDEA: XBRL DOCUMENT v3.22.4
DEBT - Schedule of Convertible Senior Notes due in 2025 (Details) - Convertible Notes - USD ($)
$ in Thousands
12 Months Ended
Dec. 31, 2022
Dec. 31, 2021
Notes due 2025    
Debt Instrument [Line Items]    
Contractual interest expense $ 256 $ 342
Amortization of debt discount 4,355 5,529
Amortization of debt issuance costs 486 661
Total interest cost recognized 5,097 6,532
Notes due 2028    
Debt Instrument [Line Items]    
Amortization of debt discount 0 16,401
Amortization of debt issuance costs 1,296 785
Total interest cost recognized 1,296 17,186
Notes due 2026    
Debt Instrument [Line Items]    
Amortization of debt discount 0 18,735
Amortization of debt issuance costs 1,991 1,347
Total interest cost recognized $ 1,991 $ 20,082