v3.22.1

Long-term Notes and Convertible Notes (Tables) | 12 Months Ended
--- | ---
Dec. 31, 2021
Long-term Notes and Convertible Notes |
Schedule of total debt | ​
​ | ​ | ​ | ​ | ​ | ​ | ​
​ |  | December 31, 2021 |  | December 31, 2020
Promissory note, unsecured (Non Current) | ​ | $ | — | ​ | $ | 2,355
Promissory note, unsecured (Current) | ​ |  | 3,584 | ​ |  | 3,298
​ | ​ |  | ​ | ​ | ​ | ​
Total debt | ​ | $ | 3,584 | ​ | $ | 5,653

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