XML 22 R12.htm IDEA: XBRL DOCUMENT
v3.22.2.2

INVENTORIES | 3 Months Ended
--- | ---
Mar. 31, 2022
INVENTORIES |
INVENTORIES | 6. INVENTORIES Inventories consists of the following: ​
​ | ​ | ​ | ​ | ​ | ​ | ​
​ |  | As of March 31, |  | As of December 31,
​ | ​ | 2022 | ​ | 2021
Raw materials | ​ | $ | 19,199 | ​ | $ | 15,431
Work in progress | ​ |  | 799 | ​ |  | 714
Finished goods (1) | ​ |  | 31,825 | ​ |  | 28,195
Allowance for obsolescence | ​ | ​ | (302) | ​ | ​ | (432)
Total | ​ | $ | 51,521 | ​ | $ | 43,908
| (1) | Finished goods includes $3,738 and $2,678 as of March 31, 2022 and December 31, 2021, respectively, held for more than twelve months and classified as long-term.

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

X
- Definition The entire disclosure for inventory. Includes, but is not limited to, the basis of stating inventory, the method of determining inventory cost, the classes of inventory, and the nature of the cost elements included in inventory. + References Reference 1: http://www.xbrl.org/2003/role/disclosureRef -Publisher FASB -Name Accounting Standards Codification -Topic 330 -URI http://asc.fasb.org/topic&trid=2126998 + Details
Name: | us-gaap_InventoryDisclosureTextBlock
Namespace Prefix: | us-gaap_
Data Type: | dtr-types:textBlockItemType
Balance Type: | na
Period Type: | duration