XML 50 R39.htm IDEA: XBRL DOCUMENT v3.21.2
Long-term Debt (Tables)
9 Months Ended
Sep. 30, 2021
Debt Disclosure [Abstract]  
Schedule of convertible debt The following table summarizes the carrying value of the long-term convertible debt as of September 30, 2021 and December 31, 2020 (in thousands):
September
30, 2021
December
31, 2020
2024 Notes
Carrying value$87,317 $81,462 
Unamortized debt discount and issuance costs29,734 35,589 
Principal amount$117,051 $117,051 
Remaining amortization period (years)3.23.9
Fair value$174,962 $153,220 
2025 Notes
Carrying value$123,746 $116,349 
Unamortized debt discount and issuance costs48,754 56,151 
Principal amount$172,500 $172,500 
Remaining amortization period (years)4.04.8
Fair value$193,799 $147,488 
2021 Notes
Carrying value$26,704 $26,557 
Unamortized issuance costs33 180 
Principal amount$26,737 $26,737 
Remaining amortization period (years)0.20.9
Fair value$29,404 $26,470