XML 39 R29.htm IDEA: XBRL DOCUMENT
v3.22.2.2

INVENTORIES (Tables) | 3 Months Ended
--- | ---
Mar. 31, 2022
INVENTORIES |
Schedule of inventory | ​
​ | ​ | ​ | ​ | ​ | ​ | ​
​ |  | 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 Tabular disclosure of the carrying amount as of the balance sheet date of merchandise, goods, commodities, or supplies held for future sale or to be used in manufacturing, servicing or production process. + References Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 210 -SubTopic 10 -Section S99 -Paragraph 1 -Subparagraph (SX 210.5-02(6)(c)) -URI http://asc.fasb.org/extlink&oid=120391452&loc=d3e13212-122682 Reference 2: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 210 -SubTopic 10 -Section S99 -Paragraph 1 -Subparagraph (SX 210.5-02(6)(b)) -URI http://asc.fasb.org/extlink&oid=120391452&loc=d3e13212-122682 Reference 3: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 210 -SubTopic 10 -Section S99 -Paragraph 1 -Subparagraph (SX 210.5-02(6)(a)) -URI http://asc.fasb.org/extlink&oid=120391452&loc=d3e13212-122682 Reference 4: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 210 -SubTopic 10 -Section 50 -Paragraph 1 -URI http://asc.fasb.org/extlink&oid=6361739&loc=d3e7789-107766 + Details
Name: | us-gaap_ScheduleOfInventoryCurrentTableTextBlock
Namespace Prefix: | us-gaap_
Data Type: | dtr-types:textBlockItemType
Balance Type: | na
Period Type: | duration