Quarterly report pursuant to Section 13 or 15(d)

Summary of Significant Accounting Policies - Schedule of Error Corrections and Prior Period Adjustments (Detail)

v3.22.2.2
Summary of Significant Accounting Policies - Schedule of Error Corrections and Prior Period Adjustments (Detail) - USD ($)
$ / shares in Units, $ in Thousands
3 Months Ended 9 Months Ended
Sep. 30, 2021
Sep. 30, 2020
Sep. 30, 2021
Sep. 30, 2020
Jun. 30, 2021
Dec. 31, 2020
Jun. 30, 2020
Dec. 31, 2019
Condensed Consolidated Balance Sheet:                
Contingent earnout liability $ 80,417   $ 80,417     $ 0    
Total liabilities 203,560   203,560     93,158    
Additional paid-in capital 413,993   413,993     10,131    
Accumulated deficit (313,814)   (313,814)     (100,003)    
Total stockholders' equity 100,003 $ (39,508) 100,003 $ (39,508) $ (80,699) (48,736) $ (32,325) $ (18,655)
Total liabilities and stockholders' equity 303,563   303,563     44,422    
Condensed Consolidated Statements of Operations:                
Change in fair value of contingent earnout liability (22,142) 0 (22,142) 0        
Total other income (expense), net (38,467) (886) (57,907) (4,253)        
Loss before income taxes (55,839) (7,429) (101,699) (22,040)        
Net loss $ (56,108) $ (7,624) $ (102,668) $ (22,340)        
Earnings Per Share, Basic $ (0.83) $ (0.43) $ (2.75) $ (1.27)        
Earnings Per Share, Diluted $ (0.83) $ (0.43) $ (2.75) $ (1.27)        
Condensed Consolidated Statements of Comprehensive Loss:                
Net loss $ (56,108) $ (7,624) $ (102,668) $ (22,340)        
Comprehensive loss (55,784) (7,718) (101,877) (22,310)        
Condensed Consolidated Statements of Changes in Stockholders Equity (Deficit) [Abstract]                
Contingent earnout liability upon closing of the merger (58,274)   (58,274)          
Ending balance 100,003 (39,508) 100,003 (39,508)        
Additional paid-in capital 413,993   413,993     10,131    
Condensed Consolidated Statements of Cash Flows:                
Net loss (56,108) (7,624) (102,668) (22,340)        
Change in fair value of contingent earnout liability 22,142 0 22,142 0        
Net cash used in operating activities     (40,008) (8,420)        
Noncash financing activities                
Contingent earnout liability recognized upon the closing of the reverse recapitalization     58,274          
Additional Paid-in Capital [Member]                
Condensed Consolidated Balance Sheet:                
Total stockholders' equity 413,993 8,811 413,993 8,811 23,370 10,131 8,276 7,354
Condensed Consolidated Statements of Changes in Stockholders Equity (Deficit) [Abstract]                
Contingent earnout liability upon closing of the merger (58,274)   (58,274)          
Ending balance 413,993 8,811 413,993 8,811        
Accumulated Deficit [Member]                
Condensed Consolidated Balance Sheet:                
Total stockholders' equity (313,814) (200,982) (313,814) (200,982) $ (257,706) $ (211,146) $ (193,358) $ (178,642)
Condensed Consolidated Statements of Operations:                
Net loss (56,108) (7,624) (102,668) (22,340)        
Condensed Consolidated Statements of Comprehensive Loss:                
Net loss (56,108) (7,624) (102,668) (22,340)        
Condensed Consolidated Statements of Changes in Stockholders Equity (Deficit) [Abstract]                
Ending balance (313,814) (200,982) (313,814) (200,982)        
Condensed Consolidated Statements of Cash Flows:                
Net loss (56,108) $ (7,624) (102,668) $ (22,340)        
Previously Reported [Member]                
Condensed Consolidated Balance Sheet:                
Contingent earnout liability 77,131   77,131          
Total liabilities 200,274   200,274          
Additional paid-in capital 393,872   393,872          
Accumulated deficit (290,407)   (290,407)          
Total stockholders' equity 103,289   103,289          
Total liabilities and stockholders' equity 303,563   303,563          
Condensed Consolidated Statements of Operations:                
Change in fair value of contingent earnout liability 1,265   1,265          
Total other income (expense), net [1] (15,060)   (34,500)          
Loss before income taxes (32,432)   (78,292)          
Net loss $ (32,701)   $ (79,261)          
Earnings Per Share, Basic $ (0.49)   $ (2.12)          
Earnings Per Share, Diluted $ (0.49)   $ (2.12)          
Condensed Consolidated Statements of Comprehensive Loss:                
Net loss $ (32,701)   $ (79,261)          
Comprehensive loss (32,377)   (78,470)          
Condensed Consolidated Statements of Changes in Stockholders Equity (Deficit) [Abstract]                
Contingent earnout liability upon closing of the merger     (78,395)          
Ending balance 103,289   103,289          
Additional paid-in capital 393,872   393,872          
Condensed Consolidated Statements of Cash Flows:                
Net loss (32,701)   (79,261)          
Change in fair value of contingent earnout liability (1,265)   (1,265)          
Net cash used in operating activities     (40,008)          
Noncash financing activities                
Contingent earnout liability recognized upon the closing of the reverse recapitalization     78,395          
Previously Reported [Member] | Additional Paid-in Capital [Member]                
Condensed Consolidated Balance Sheet:                
Additional paid-in capital 393,872   393,872          
Condensed Consolidated Statements of Changes in Stockholders Equity (Deficit) [Abstract]                
Additional paid-in capital 393,872   393,872          
Previously Reported [Member] | Accumulated Deficit [Member]                
Condensed Consolidated Balance Sheet:                
Total stockholders' equity (290,407)   (290,407)          
Condensed Consolidated Statements of Changes in Stockholders Equity (Deficit) [Abstract]                
Ending balance (290,407)   (290,407)          
Revision of Prior Period, Error Correction, Adjustment [Member]                
Condensed Consolidated Balance Sheet:                
Contingent earnout liability 3,286   3,286          
Total liabilities 3,286   3,286          
Additional paid-in capital 20,121   20,121          
Accumulated deficit (23,407)   (23,407)          
Total stockholders' equity (3,286)   (3,286)          
Total liabilities and stockholders' equity 0   0          
Condensed Consolidated Statements of Operations:                
Change in fair value of contingent earnout liability (23,407)   (23,407)          
Total other income (expense), net [1] (23,407)   (23,407)          
Loss before income taxes (23,407)   (23,407)          
Net loss $ (23,407)   $ (23,407)          
Earnings Per Share, Basic $ (0.34)   $ (0.63)          
Earnings Per Share, Diluted $ (0.34)   $ (0.63)          
Condensed Consolidated Statements of Comprehensive Loss:                
Net loss $ (23,407)   $ (23,407)          
Comprehensive loss (23,407)   (23,407)          
Condensed Consolidated Statements of Changes in Stockholders Equity (Deficit) [Abstract]                
Contingent earnout liability upon closing of the merger     20,121          
Ending balance (3,286)   (3,286)          
Additional paid-in capital 20,121   20,121          
Condensed Consolidated Statements of Cash Flows:                
Net loss (23,407)   (23,407)          
Change in fair value of contingent earnout liability 23,407   23,407          
Net cash used in operating activities     0          
Noncash financing activities                
Contingent earnout liability recognized upon the closing of the reverse recapitalization     (20,121)          
Revision of Prior Period, Error Correction, Adjustment [Member] | Additional Paid-in Capital [Member]                
Condensed Consolidated Balance Sheet:                
Additional paid-in capital 20,121   20,121          
Condensed Consolidated Statements of Changes in Stockholders Equity (Deficit) [Abstract]                
Additional paid-in capital 20,121   20,121          
Revision of Prior Period, Error Correction, Adjustment [Member] | Accumulated Deficit [Member]                
Condensed Consolidated Balance Sheet:                
Total stockholders' equity (23,407)   (23,407)          
Condensed Consolidated Statements of Changes in Stockholders Equity (Deficit) [Abstract]                
Ending balance (23,407)   (23,407)          
Restated [Member]                
Condensed Consolidated Balance Sheet:                
Contingent earnout liability 80,417   80,417          
Total liabilities 203,560   203,560          
Additional paid-in capital 413,993   413,993          
Accumulated deficit (313,814)   (313,814)          
Total stockholders' equity 100,003   100,003          
Total liabilities and stockholders' equity 303,563   303,563          
Condensed Consolidated Statements of Operations:                
Change in fair value of contingent earnout liability (22,142)   (22,142)          
Total other income (expense), net [1] (38,467)   (57,907)          
Loss before income taxes (55,839)   (101,699)          
Net loss $ (56,108)   $ (102,668)          
Earnings Per Share, Basic $ (0.83)   $ (2.75)          
Earnings Per Share, Diluted $ (0.83)   $ (2.75)          
Condensed Consolidated Statements of Comprehensive Loss:                
Net loss $ (56,108)   $ (102,668)          
Comprehensive loss (55,784)   (101,877)          
Condensed Consolidated Statements of Changes in Stockholders Equity (Deficit) [Abstract]                
Contingent earnout liability upon closing of the merger     (58,274)          
Ending balance 100,003   100,003          
Additional paid-in capital 413,993   413,993          
Condensed Consolidated Statements of Cash Flows:                
Net loss (56,108)   (102,668)          
Change in fair value of contingent earnout liability 22,142   22,142          
Net cash used in operating activities     (40,008)          
Noncash financing activities                
Contingent earnout liability recognized upon the closing of the reverse recapitalization     58,274          
Restated [Member] | Additional Paid-in Capital [Member]                
Condensed Consolidated Balance Sheet:                
Additional paid-in capital 413,993   413,993          
Condensed Consolidated Statements of Changes in Stockholders Equity (Deficit) [Abstract]                
Additional paid-in capital 413,993   413,993          
Restated [Member] | Accumulated Deficit [Member]                
Condensed Consolidated Balance Sheet:                
Total stockholders' equity (313,814)   (313,814)          
Condensed Consolidated Statements of Changes in Stockholders Equity (Deficit) [Abstract]                
Ending balance $ (313,814)   $ (313,814)          
[1] Change in fair value of contingent earnout liability was included in the other income (expense), net, in the Original Form 10-Q and was reclassified to a separate line item in the Form 10-Q/A. There were no adjustments to the remaining Other income (expense), net amounts.