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.23.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 6 Months Ended
Jun. 30, 2023
Jun. 30, 2022
Jun. 30, 2023
Jun. 30, 2022
Mar. 31, 2023
Dec. 31, 2022
Mar. 31, 2022
Jan. 01, 2022
Dec. 31, 2021
Error Corrections and Prior Period Adjustments Restatement [Line Items]                  
Current liabilities $ 125,534   $ 125,534     $ 92,566      
Total Liabilities 318,347   318,347     292,478      
Accumulated deficit (1,289,767)   (1,289,767)     (1,251,023)   $ (801,632)  
Total Shareholders' (Deficit) Equity (24,904) $ 70,976 (24,904) $ 70,976 $ (6,318) 10,989 $ (32,277) (23,639) $ (23,639)
Total Liabilities and Shareholders' (Deficit) Equity 293,443   293,443     $ 303,467      
Costs and expenses applicable to revenues (20,325) (23,813) (41,566) (44,111)          
Gross profit 18,390 19,668 33,902 42,160          
Loss from operations (10,135) (45,426) (19,462) (54,803)          
Income tax expense 5,442 5,391 9,241 10,266          
Net (loss) income $ (20,149) $ (373,562) $ (38,744) $ (383,664)          
Earnings per share $ (0) $ (0.65) $ (0.01) $ (1.03)          
Previously Reported [Member]                  
Error Corrections and Prior Period Adjustments Restatement [Line Items]                  
Accumulated deficit               (800,390)  
Total Shareholders' (Deficit) Equity               (22,397)  
Revision of Prior Period, Adjustment [Member]                  
Error Corrections and Prior Period Adjustments Restatement [Line Items]                  
Accumulated deficit               (1,242)  
Total Shareholders' (Deficit) Equity               $ (1,242)