XML 49 R39.htm IDEA: XBRL DOCUMENT v3.22.2.2
Long-term Debt (Tables)
9 Months Ended
Sep. 30, 2022
Debt Disclosure [Abstract]  
Schedule of Convertible Debt The following table summarizes the carrying value of the long-term convertible debt as of September 30, 2022 and December 31, 2021 (in thousands):
September 30, 2022December 31, 2021
2024 Notes
Carrying value$23,879 $89,361 
Unamortized debt discount and issuance costs402 27,690 
Principal amount$24,281 $117,051 
Remaining amortization period (years)2.22.9
Fair value(1)
$49,290 $195,445 
2025 Notes
Carrying value$168,565 $126,315 
Unamortized debt discount and issuance costs3,935 46,185 
Principal amount$172,500 $172,500 
Remaining amortization period (years)3.03.8
Fair value(1)
$215,625 $177,251 
————————
(1)Fair values for notes are derived from available trading prices closest to the respective balance sheet date.