XML 82 R67.htm IDEA: XBRL DOCUMENT v3.22.0.1
Convertible Notes - Interest Expense Incurred (Details) - Convertible debt - USD ($)
$ in Thousands
12 Months Ended
Dec. 31, 2021
Dec. 31, 2020
Debt Instrument [Line Items]    
Accrued coupon interest expense $ 4,176 $ 5,885
Amortization of debt discounts 140 5,730
Amortization of deferred financing offering costs 483 747
Interest expense on debt 4,799 12,362
Related party    
Debt Instrument [Line Items]    
Accrued coupon interest expense 1,898 550
Amortization of debt discounts 21 533
Amortization of deferred financing offering costs 57 14
Interest expense on debt 1,976 1,097
Others    
Debt Instrument [Line Items]    
Accrued coupon interest expense 2,278 5,335
Amortization of debt discounts 119 5,197
Amortization of deferred financing offering costs 426 733
Interest expense on debt $ 2,823 $ 11,265