XML 28 R15.htm IDEA: XBRL DOCUMENT
v3.20.4

INVENTORIES | 12 Months Ended
--- | ---
Dec. 31, 2020
INVENTORIES |
INVENTORIES | NOTE 7—INVENTORIES Inventories, which are comprised of chemicals and materials available for resale and parts and consumables used in operations, are valued at the lower of cost and net realizable value, with cost determined under the weighted-average method. The significant components of inventory are as follows: ​
​ | ​ | ​ | ​ | ​ | ​ | ​
​ | ​ | As of December 31,
​ | ​ | 2020 |  | 2019
​ | ​ | (in thousands)
Raw materials | ​ | $ | 16,701 | ​ | $ | 12,365
Finished goods | ​ |  | 16,683 | ​ |  | 24,724
Materials and supplies | ​ |  | — | ​ |  | 453
Total | ​ | $ | 33,384 | ​ | $ | 37,542
​ During the years ended December 31, 2020 and 2019, the Company recorded charges to the reserve for excess and obsolete inventory for $0.9 million and $0.3 million, respectively, which were recognized within costs of revenue on the accompanying consolidated statements of operations. The Company’s inventory reserve was $4.1 million as of both December 31, 2020 and 2019. The reserve for excess and obsolete inventories is determined based on the Company’s historical usage of inventory on hand, as well as future expectations, and the amount necessary to reduce the cost of the inventory to its estimated net realizable value.

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: | nonnum:textBlockItemType
Balance Type: | na
Period Type: | duration