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
Jun. 30, 2021
Mar. 31, 2021
Dec. 31, 2020
Jun. 30, 2020
Mar. 31, 2020
Dec. 31, 2019
Restatement [Line Items]            
Inventories $ 27,656   $ 25,451      
Current Assets 62,174   45,623      
Total Assets 363,523   353,133      
Accrued and other current liabilities 78,833   55,053      
Current Liabilities 261,618   231,879      
Total Liabilities 347,607   305,804      
Accumulated deficit (758,850)   (724,142)      
Total shareholders' equity 15,916 $ 29,511 47,329 $ 95,842 $ 118,175 $ 352,473
Total Liabilities and Shareholders' Equity 363,523   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   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)   (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   47,329      
Total Liabilities and Shareholders' Equity     $ 353,133