XML 46 R34.htm IDEA: XBRL DOCUMENT
v3.21.2

Long-term debt (Tables) | 9 Months Ended
--- | ---
Sep. 30, 2021
Long-term debt |
Schedule of components of the Company's long-term debt | The components of the Company’s long-term debt consisted of the following (in thousands): ​
​ | ​ | ​ | ​ | ​ | ​ | ​
​ |  | September 30, | ​ | December 31,
​ |  | 2021 |  | 2020
Notes payable | ​ | $ | — | ​ | $ | 25,000
Payment in kind interest | ​ |  | — | ​ |  | 1,145
Less: Unamortized discount | ​ |  | — | ​ |  | (1,335)
Long-term debt, net of discount | ​ | $ | — | ​ | $ | 24,810

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 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