v3.22.2.2
Convertible Notes (Tables)
9 Months Ended
Sep. 30, 2022
Debt Disclosure [Abstract]  
Schedule of Interest Expense
Interest expense during the three and nine months ended September 30, 2022 and 2021 were as follows (in thousands):

Three Months Ended September 30,Nine Months Ended September 30,
2022202120222021
Contractual coupon interest$79 $1,024 $1,528 $3,168 
Amortization of debt issuance costs121 185 386 539 
Amortization of the debt discount— $2,987 $— $8,711 
Total interest expense on convertible notes$200 $4,196 $1,914 $12,418 
Interest expense in connection with the Secured Note during the three and nine months ended September 30, 2022 and 2021 was as follows (in thousands):

Three Months Ended September 30,Nine Months Ended September 30,
2022202120222021
Contractual interest
$220 $— $220 $— 
Amortization of the debt discount275 — 275 — 
Total interest expense
$495 $— $495 $— 
Schedule of Gain on Extinguishment
Gain on extinguishment of exchanged Notes during the three and nine months ended September 30, 2022 and 2021 was as follows (in thousands):

Three Months Ended September 30,Nine Months Ended September 30,
2022202120222021
Gain on extinguishment$ $4,999 $3,565 $4,999 
Schedule of Carrying Value of the Notes
The carrying value of the Notes at September 30, 2022 consisted of the following (in thousands):

September 30,
2022
Outstanding principal at par
$56,595 
Unamortized debt issuance(270)
Net carrying amount
$56,325 
The carrying value of the Secured Note at September 30, 2022 consisted of the following (in thousands):

September 30,
2022
Outstanding principal
$34,934 
Unamortized debt issuance discount
(18,635)
Net carrying amount
$16,299