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

INVENTORIES | 6 Months Ended
--- | ---
Jun. 30, 2022
INVENTORIES |
INVENTORIES | 6. INVENTORIES Inventories consists of the following: ​
​ | ​ | ​ | ​ | ​ | ​ | ​
​ |  | As of June 30, |  | As of December 31,
​ | ​ | 2022 | ​ | 2021
Raw materials | ​ | $ | 17,833 | ​ | $ | 15,431
Work in progress | ​ |  | 783 | ​ |  | 714
Finished goods (1) | ​ |  | 33,072 | ​ |  | 28,195
Allowance for obsolescence | ​ | ​ | (315) | ​ | ​ | (432)
Total | ​ | $ | 51,373 | ​ | $ | 43,908
| (1) | Finished goods includes $4,603 and $2,678 as of June 30, 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