Quarterly report pursuant to Section 13 or 15(d)

Net (Loss) Profit Per Share - Summary of Dilutive Securities are Excluded from the Denominator (Detail)

v3.23.2
Net (Loss) Profit Per Share - Summary of Dilutive Securities are Excluded from the Denominator (Detail) - shares
3 Months Ended 6 Months Ended
Jun. 30, 2023
Jun. 30, 2022
Jun. 30, 2023
Jun. 30, 2022
Antidilutive Securities Excluded from Computation of Earnings Per Share [Line Items]        
Antidilutive Securities Excluded from Computation of Earnings Per Share, Amount 44,595,191 33,933,301 44,713,437 30,866,327
Unvested RSUs        
Antidilutive Securities Excluded from Computation of Earnings Per Share [Line Items]        
Antidilutive Securities Excluded from Computation of Earnings Per Share, Amount 10,222,990 5,585,756 10,308,106 5,096,729
Unvested or unexercised option awards        
Antidilutive Securities Excluded from Computation of Earnings Per Share [Line Items]        
Antidilutive Securities Excluded from Computation of Earnings Per Share, Amount 11,180,550 5,155,894 11,213,680 2,577,947
Warrants        
Antidilutive Securities Excluded from Computation of Earnings Per Share [Line Items]        
Antidilutive Securities Excluded from Computation of Earnings Per Share, Amount 8,524,984 8,524,984 8,524,984 8,524,984
Contingently issuable earnout shares        
Antidilutive Securities Excluded from Computation of Earnings Per Share [Line Items]        
Antidilutive Securities Excluded from Computation of Earnings Per Share, Amount 14,666,667 14,666,667 14,666,667 14,666,667