| Inventories - Summary of Inventories (Detail) - USD ($) $ in Thousands | Dec. 31, 2023 | Dec. 31, 2022 | 
|---|---|---|
| Inventory Disclosure [Abstract] | ||
| Supplies | $ 5,331 | $ 7,018 | 
| Raw materials | 7,110 | 8,903 | 
| Work in process | 6,351 | 5,807 | 
| Finished goods | 6,614 | 8,702 | 
| Inventory reserve | (24) | (630) | 
| Total | $ 25,382 | $ 29,800 | 
| X | ||||||||||
| 
- Definition Inventory supplies. No definition available. 
 | 
| X | ||||||||||
| 
- References No definition available. 
 | 
| X | ||||||||||
| 
- Definition Amount before valuation and LIFO reserves of completed merchandise or goods expected to be sold within one year or operating cycle, if longer. Reference 1: http://www.xbrl.org/2009/role/commonPracticeRef 
 | 
| X | ||||||||||
| 
- Definition Amount after valuation and LIFO reserves of inventory expected to be sold, or consumed within one year or operating cycle, if longer. Reference 1: http://www.xbrl.org/2003/role/exampleRef 
 | 
| X | ||||||||||
| 
- Definition Amount before valuation and LIFO reserves of raw materials expected to be sold, or consumed within one year or operating cycle, if longer. Reference 1: http://www.xbrl.org/2009/role/commonPracticeRef 
 | 
| X | ||||||||||
| 
- Definition Amount of valuation reserve for inventory. Reference 1: http://www.xbrl.org/2009/role/commonPracticeRef 
 | 
| X | ||||||||||
| 
- Definition Amount before valuation and LIFO reserves of merchandise or goods in the production process expected to be completed within one year or operating cycle, if longer. Reference 1: http://www.xbrl.org/2009/role/commonPracticeRef 
 |