Quarterly report pursuant to Section 13 or 15(d)

Revision of Prior Period Financial Statements - Summary of Restatement of Balance Sheet (Detail)

v3.21.2
Revision of Prior Period Financial Statements - Summary of Restatement of Balance Sheet (Detail) - USD ($)
$ in Thousands
Sep. 30, 2021
Jun. 30, 2021
Dec. 31, 2020
Sep. 30, 2020
Jun. 30, 2020
Dec. 31, 2019
Restatement [Line Items]            
Inventories $ 29,984   $ 25,451      
Current Assets 62,828   45,623      
Total Assets 364,004   353,133      
Accrued and other current liabilities 89,358   55,053      
Current Liabilities 275,078   231,879      
Total Liabilities 362,309   305,804      
Accumulated deficit (774,685)   (724,142)      
Total shareholders' equity 1,695 $ 15,916 47,329 $ 72,116 $ 95,842 $ 352,473
Total Liabilities and Shareholders' Equity $ 364,004   353,133      
Previously Reported [Member]            
Restatement [Line Items]            
Inventories     30,292      
Current Assets     50,464      
Total Assets     357,974      
Accrued and other current liabilities     56,381      
Current Liabilities     233,207      
Total Liabilities     307,132      
Accumulated deficit     (720,629)      
Total shareholders' equity     50,842      
Total Liabilities and Shareholders' Equity     357,974      
Adjustment [Member]            
Restatement [Line Items]            
Inventories     (4,841)      
Current Assets     (4,841)      
Total Assets     (4,841)      
Accrued and other current liabilities     (1,328)      
Current Liabilities     (1,328)      
Total Liabilities     (1,328)      
Accumulated deficit     (3,513)      
Total shareholders' equity     (3,513)      
Total Liabilities and Shareholders' Equity     (4,841)      
Restated [Member]            
Restatement [Line Items]            
Inventories     25,451      
Current Assets     45,623      
Total Assets     353,133      
Accrued and other current liabilities     55,053      
Current Liabilities     231,879      
Total Liabilities     305,804      
Accumulated deficit     (724,142)      
Total shareholders' equity     47,329      
Total Liabilities and Shareholders' Equity     $ 353,133