XML 44 R31.htm IDEA: XBRL DOCUMENT
v3.22.1

Short-term and Long-term debt (Tables) | 12 Months Ended
--- | ---
Dec. 31, 2021
Short-term and Long-term debt |
Schedule of short-term and long-term debt | Elements of short-term and long-term debt are as follows: ​
​ | ​ | ​ | ​ | ​ | ​ | ​
December 31, |  | 2021 |  | 2020
(in thousands) | ​ | ​ | ​ | ​ | ​ | ​
Short-term & long-term debt |  | ​ |  |  | ​ |
Short-term debt: |  | ​ |  |  | ​ |
- Revolving credit line and other debt | ​ | $ | 15,000 | ​ | $ | 2,000
- Loan from Paycheck Protection Program- current | ​ | ​ | — | ​ | ​ | 2,062
- Capital lease obligation- current | ​ | ​ | — | ​ | ​ | 4
- Term loan facility - current | ​ | ​ | 5,248 | ​ | ​ | 5,248
Subtotal | ​ |  | 20,248 | ​ |  | 9,314
Long-term debt: | ​ |  | ​ | ​ |  | ​
- Term loan facility- net of current portion of long-term debt | ​ |  | 74,618 | ​ |  | 79,867
- Loan from Paycheck Protection Program- net of current portion | ​ |  | — | ​ |  | 413
- Less: deferred financing costs on term loan | ​ |  | (1,473) | ​ |  | (2,304)
Subtotal | ​ |  | 73,145 | ​ |  | 77,976
​ | ​ | ​ | ​ | ​ | ​ | ​
Total short-term & long-term debt | ​ | $ | 93,393 | ​ | $ | 87,290
Schedule of maturities of long-term debt and capital lease obligations | Scheduled maturities of the Company’s long-term debt and capital lease obligations are as follows: ​
​ | ​ | ​ | ​
Years ended December 31, |  | Amount
(in thousands) | ​ | ​ | ​
‑2022 | ​ | $ | 5,248
‑2023 | ​ |  | 74,619
‑2024 | ​ |  | —
‑2025 | ​ |  | —
‑2026 | ​ | ​ | —
Thereafter | ​ |  | —
Total | ​ | $ | 79,867

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

X
- Definition Tabular disclosure of maturity and sinking fund requirement for long-term debt. + References Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 470 -SubTopic 10 -Section 50 -Paragraph 1 -URI http://asc.fasb.org/extlink&oid=123465755&loc=d3e1835-112601 + Details
Name: | us-gaap_ScheduleOfMaturitiesOfLongTermDebtTableTextBlock
Namespace Prefix: | us-gaap_
Data Type: | dtr-types:textBlockItemType
Balance Type: | na
Period Type: | duration