XML 59 R42.htm IDEA: XBRL DOCUMENT v3.22.4
Long-term Debt (Tables)
12 Months Ended
Dec. 31, 2022
Debt Disclosure [Abstract]  
Schedule of Convertible Debt The following table summarizes the carrying value of the long-term convertible debt as of December 31, 2022 and December 31, 2021 (in thousands):
December 31,
20222021
2024 Notes
Carrying value$23,925 $89,361 
Unamortized debt discount and issuance costs356 27,690 
Principal amount$24,281 $117,051 
Remaining amortization period (years)1.92.9
Fair value(1)
$38,000 $195,445 
2025 Notes
Carrying value$168,885 $126,315 
Unamortized debt discount and issuance costs3,615 46,185 
Principal amount$172,500 $172,500 
Remaining amortization period (years)2.83.8
Fair value(1)
$185,546 $177,251 
————————
(1)Fair values for notes are derived from available trading prices closest to the respective balance sheet date.