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.24.3
Organization and Description of Business - Summary of Effects of the Adjustment on the Line items Within Consolidated Financial Statements (Detail) - USD ($)
$ in Thousands
3 Months Ended 9 Months Ended
Sep. 30, 2024
Sep. 30, 2023
Sep. 30, 2024
Sep. 30, 2023
Jun. 30, 2024
Dec. 31, 2023
Jun. 30, 2023
Dec. 31, 2022
Error Corrections and Prior Period Adjustments Restatement [Line Items]                
Costs and expenses applicable to revenues $ (22,202) $ (29,542) $ (68,874) $ (71,108)        
Gross profit 18,084 13,348 55,975 47,250        
Loss from operations (1,256) (8,531) (6,444) (23,190)        
Income tax expense 5,645 6,413 16,924 19,946        
Net loss (11,642) (19,182) (35,429) (57,926)        
Inventory     575 589        
Accrued and other liabilities     (45,370) 17,806        
Accumulated deficit (1,363,073)   (1,363,073)     $ (1,327,644)    
Total shareholders' deficit $ (93,647) (43,639) $ (93,647) (43,639) $ (82,440) $ (61,666) $ (24,904) $ 10,989
Previously Reported [Member]                
Error Corrections and Prior Period Adjustments Restatement [Line Items]                
Costs and expenses applicable to revenues   (25,463)   (67,029)        
Gross profit   17,427   51,329        
Loss from operations   (7,555)   (27,017)        
Loss before income tax   (11,792)   (41,295)        
Income tax expense   3,780   13,021        
Net loss   (15,572)   (54,316)        
Change in operating assets and liabilities       17,965        
Inventory       (3,490)        
Accrued and other liabilities       18,275        
Accumulated deficit   (1,305,339)   (1,305,339)        
Total shareholders' deficit   (40,029)   (40,029)        
Revision of Prior Period, Adjustment [Member]                
Error Corrections and Prior Period Adjustments Restatement [Line Items]                
Costs and expenses applicable to revenues   (4,079)   (4,079)        
Gross profit   (4,079)   (4,079)        
Loss from operations   (4,079)   (4,079)        
Loss before income tax   (4,079)   (4,079)        
Income tax expense   (469)   (469)        
Net loss   (3,610)   (3,610)        
Change in operating assets and liabilities       3,610        
Inventory       4,079        
Accrued and other liabilities       (469)        
Accumulated deficit   (3,610)   (3,610)        
Total shareholders' deficit   (3,610)   (3,610)        
Restated [Member]                
Error Corrections and Prior Period Adjustments Restatement [Line Items]                
Costs and expenses applicable to revenues   (29,542)   (71,108)        
Gross profit   13,348   47,250        
Loss from operations   (11,634)   (31,096)        
Loss before income tax   (15,871)   (45,374)        
Income tax expense   3,311   12,552        
Net loss   (19,182)   (57,926)        
Change in operating assets and liabilities       21,575        
Inventory       589        
Accrued and other liabilities       17,806        
Accumulated deficit   (1,308,949)   (1,308,949)        
Total shareholders' deficit   $ (43,639)   $ (43,639)