XML 42 R30.htm IDEA: XBRL DOCUMENT
v3.22.0.1

Debt (Tables) | 12 Months Ended
--- | ---
Dec. 31, 2021
Debt Disclosure [Abstract] |
Schedule of Net Carrying Amount of Debt | The 2025 Notes consist of the following (in thousands):
| December 31, |  |
| 2021 |  | 2020 |  |
Principal | $ | 161,898 |  |  | $ | 166,898 |  |  |
Add: fair value of embedded derivative | 926 |  |  | 4,898 |  |  |
Less: unamortized debt discount | (2,761) |  |  | (3,703) |  |  |
Less: unamortized issuance costs | (2,197) |  |  | (2,946) |  |  |
Net carrying amount | $ | 157,866 |  |  | $ | 165,147 |  |  |
Schedule of Interest Expense | The following table sets forth total interest expense recognized related to the 2025 Notes (in thousands):
|  |  | Year Ended December 31, |  |  |
|  | 2021 |  | 2020 |  |  |
Contractual interest expense |  |  | $ | 5,271 |  |  | $ | 3,434 |  |  |  |
Amortization of debt discount |  |  | 829 |  |  | 552 |  |  |  |
Amortization of debt issuance costs |  |  | 660 |  |  | 439 |  |  |  |
Total interest expense |  |  | $ | 6,760 |  |  | $ | 4,425 |  |  |  |
The following table sets forth total interest expense recognized related to the 2022 Notes (in thousands):
| Year Ended December 31,
| 2020 |  | 2019
Contractual interest expense | $ | 768 |  |  | $ | 5,782 |
Amortization of debt discount | 1,952 |  |  | 7,821 |
Amortization of debt issuance costs | 111 |  |  | 459 |
Total interest expense | $ | 2,831 |  |  | $ | 14,062 |
The following table sets forth total interest expense recognized related to the Term Loan, 100% of which was attributable to a related party, during the years ended December 31, 2020 and 2019, respectively (in thousands):
| Year Ended December 31,
|  | 2020 |  | 2019
Contractual interest expense |  | $ | 1,667 |  |  | $ | 4,789 |
Amortization of debt discount |  | 859 |  |  | 1,331 |
Amortization of debt issuance costs |  | 103 |  |  | 161 |
Total interest expense |  | $ | 2,629 |  |  | $ | 6,281 |

X
- References No definition available. + Details
Name: | us-gaap_DebtDisclosureAbstract
Namespace Prefix: | us-gaap_
Data Type: | xbrli:stringItemType
Balance Type: | na
Period Type: | duration

X
- Definition Tabular disclosure of interest income and expense, including, but not limited to, interest income and expense from investments, loans, and securities. + References No definition available. + Details
Name: | us-gaap_InterestIncomeAndInterestExpenseDisclosureTableTextBlock
Namespace Prefix: | us-gaap_
Data Type: | dtr-types:textBlockItemType
Balance Type: | na
Period Type: | duration

X
- Definition Tabular disclosure of information pertaining to short-term and long-debt instruments or arrangements, including but not limited to identification of terms, features, collateral requirements and other information necessary to a fair presentation. + References No definition available. + Details
Name: | us-gaap_ScheduleOfDebtTableTextBlock
Namespace Prefix: | us-gaap_
Data Type: | dtr-types:textBlockItemType
Balance Type: | na
Period Type: | duration