Annual report pursuant to Section 13 and 15(d)

Summary of Significant Accounting Policies - Summary of Effects Of the Adjustment On The Line items Within Consolidated Financial Statements (Detail)

v3.23.1
Summary of Significant Accounting Policies - Summary of Effects Of the Adjustment On The Line items Within Consolidated Financial Statements (Detail) - USD ($)
$ / shares in Units, $ in Thousands
12 Months Ended
Dec. 31, 2022
Dec. 31, 2021
Jan. 01, 2022
Dec. 31, 2020
Error Corrections and Prior Period Adjustments Restatement [Line Items]        
Inventories $ 29,800 $ 28,692    
Current assets 50,622 53,646    
Total assets 303,467 344,989    
Accrued and other current liabilities 74,036 98,933    
Current liabilities 92,566 285,308    
Total liabilities 292,478 368,628    
Accumulated deficit (1,251,023) (801,632) $ (801,632)  
Total shareholders' deficit 10,989 (23,639) (23,639) $ 47,329
Total liabilities and shareholders' deficit 303,467 344,989    
Costs and expenses applicable to revenues (88,781) (93,490)    
Gross profit 74,432 109,528    
Loss from operations (112,455) (23,780)    
Loss from operations before income tax   (55,754)    
Income tax expense 10,691 21,736    
Net loss $ (449,391) (77,490)    
Change in operating assets and liabilities   $ 17,836    
Earnings Per Share, Basic $ (0.13) $ (0.45)    
Earnings Per Share, Diluted $ (0.13) $ (0.45)    
Previously Reported [Member]        
Error Corrections and Prior Period Adjustments Restatement [Line Items]        
Inventories   $ 30,447    
Current assets   55,401    
Total assets   346,744    
Accrued and other current liabilities   99,446    
Current liabilities   285,821    
Total liabilities   369,141    
Accumulated deficit   (800,390) (800,390)  
Total shareholders' deficit   (22,397) 22,397  
Total liabilities and shareholders' deficit   346,744    
Costs and expenses applicable to revenues   (91,735)    
Gross profit   111,283    
Loss from operations   (22,025)    
Loss from operations before income tax   (53,999)    
Income tax expense   22,249    
Net loss   (76,248)    
Change in operating assets and liabilities   $ 16,594    
Earnings Per Share, Basic   $ (0.44)    
Earnings Per Share, Diluted   $ (0.44)    
Revision of Prior Period, Adjustment [Member]        
Error Corrections and Prior Period Adjustments Restatement [Line Items]        
Inventories   $ (1,755)    
Current assets   (1,755)    
Total assets   (1,755)    
Accrued and other current liabilities   (513)    
Current liabilities   (513)    
Total liabilities   (513)    
Accumulated deficit   (1,242) (1,242)  
Total shareholders' deficit   (1,242) $ (1,242)  
Total liabilities and shareholders' deficit   (1,755)    
Costs and expenses applicable to revenues   (1,755)    
Gross profit   (1,755)    
Loss from operations   (1,755)    
Loss from operations before income tax   (1,755)    
Income tax expense   (513)    
Net loss   (1,242)    
Change in operating assets and liabilities   $ 1,242    
Earnings Per Share, Basic   $ (0.01)    
Earnings Per Share, Diluted   $ (0.01)