XML 49 R37.htm IDEA: XBRL DOCUMENT v3.23.1
CONVERTIBLE NOTES (Tables)
12 Months Ended
Dec. 31, 2022
Debt Disclosure [Abstract]  
Schedule of Convertible Notes
The carrying value of the Notes consisted of the following at December 31 (in thousands):

20222021
Outstanding principal$56,595 $120,500 
Unamortized debt issuance(182)(729)
Unamortized debt discount— (11,787)
Net carrying amount$56,413 $107,984 

As of December 31, 2022 the Notes were classified as follows (in thousands):

20222021
Current portion of convertible notes$56,413 $— 
Non-current portion of convertible notes— 107,984 
Total convertible notes$56,413 $107,984 
Schedule of Interest Expense
Interest expense consisted of the following at December 31 (in thousands):

202220212020
Contractual coupon interest$1,794 $3,934 $4,288 
Amortization of the debt discount
— 10,869 10,518 
Amortization of debt issuance costs
474 672 651 
Total interest expense on convertible notes$2,268 $15,475 $15,457 
Interest expense consisted of the following for the year ended December 31 (in thousands):

2022
Contractual interest$663 
Amortization of the debt discount834 
Total interest expense$1,497 
Schedule of Gain on Extinguishment
Net gain on extinguishment of exchanged Notes for the years ended December 31 is as follows (in thousands):

202220212020
Gain on extinguishment$3,565 $4,916 $—