XML 102 R88.htm IDEA: XBRL DOCUMENT v3.22.4
CONVERTIBLE PROMISSORY NOTES - Interest Expense Recognized Related to Convertible Note (Details) - USD ($)
$ in Thousands
12 Months Ended
Dec. 31, 2022
Dec. 31, 2021
Dec. 31, 2020
Debt Instrument [Line Items]      
Amortization of debt discount and debt issuance cost $ 1,901 $ 9,648 $ 10,044
2028 Convertible Notes | Convertible Notes      
Debt Instrument [Line Items]      
Contractual interest expense 2,300 249  
Amortization of debt discount and debt issuance cost 1,986 1,812  
Total interest expense $ 4,286 $ 2,061