Quarterly report pursuant to Section 13 or 15(d)

Organization and Description of Business - Summary of Effects of the Adjustment on the Line items Within Consolidated Financial Statements (Detail)

v3.22.2.2
Organization and Description of Business - Summary of Effects of the Adjustment on the Line items Within Consolidated Financial Statements (Detail) - USD ($)
$ / shares in Units, $ in Thousands
3 Months Ended 9 Months Ended 12 Months Ended
Sep. 30, 2022
Sep. 30, 2021
Sep. 30, 2022
Sep. 30, 2021
Dec. 31, 2021
Jun. 30, 2022
Jan. 01, 2022
Jun. 30, 2021
Dec. 31, 2020
Error Corrections and Prior Period Adjustments Restatement [Line Items]                  
Inventories $ 29,364   $ 29,364   $ 28,692        
Current assets 59,341   59,341   53,646        
Total Assets 348,029   348,029   344,989        
Accrued and other current liabilities 71,579   71,579   98,933        
Current liabilities 104,280   104,280   285,308        
Total Liabilities 294,391   294,391   368,628        
Accumulated deficit (1,207,291)   (1,207,291)   (801,632)   $ (801,632)    
Total Shareholders' Equity (Deficit) 53,638 $ 1,695 53,638 $ 1,695 (23,639) $ 70,976 (23,639) $ 15,916 $ 47,329
Total Liabilities and Shareholders' Equity (Deficit) 348,029   348,029   344,989        
Costs and expenses applicable to revenues (23,190) (23,206) (67,301) (68,207) (93,490)        
Gross profit 16,181 26,057 58,341 87,089 109,528        
Loss from operations (13,724) (4,784) (68,527) (5,449) (23,780)        
Loss from operations before income tax         (55,754)        
Income tax expense 4,325 4,090 14,591 19,265 21,736        
Net loss $ (21,995) $ (15,835) $ (405,659) $ (50,543) $ (77,490)        
Earnings per share $ 0 $ (0.09) $ (0.17) $ (0.29) $ (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' Equity (Deficit)         (22,397)   (22,397)    
Total Liabilities and Shareholders' Equity (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)        
Earnings per share         $ (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' Equity (Deficit)         (1,242)   $ (1,242)    
Total Liabilities and Shareholders' Equity (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)        
Earnings per share         $ (0.01)