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

Inventory | 6 Months Ended
--- | ---
Jun. 30, 2019
Inventory |
Inventory | 7. Inventory ​ Inventory consisted of the following: ​
​ | ​ | ​ | ​ | ​ | ​ | ​
​ | ​ | As of June 30, | ​ | As of December 31,
​ | ​ | 2019 | ​ | 2018
Raw materials | ​ | $ | 1,664 | ​ | $ | 496
Work in process | ​ | ​ | 848 | ​ | ​ | 671
Finished goods | ​ | ​ | 7,441 | ​ | ​ | 6,650
Total inventory | ​ | $ | 9,953 | ​ | $ | 7,817
​ The aggregate charges related to excess inventory for the three and six months ended June 30, 2019 and 2018 were immaterial. These expenses were recorded as a component of cost of product revenues.

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