Quarterly report pursuant to Section 13 or 15(d)

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

v3.22.2
Net Profit (Loss) per Share - Summary of Dilutive Securities are Excluded from the Denominator (Detail) - shares
3 Months Ended 6 Months Ended
Jun. 30, 2022
Jun. 30, 2021
Jun. 30, 2022
Jun. 30, 2021
Antidilutive Securities Excluded from Computation of Earnings Per Share [Line Items]        
Antidilutive Securities Excluded from Computation of Earnings Per Share, Amount 33,933,301 121,245,552 30,866,327 121,245,552
Convertible preferred stock        
Antidilutive Securities Excluded from Computation of Earnings Per Share [Line Items]        
Antidilutive Securities Excluded from Computation of Earnings Per Share, Amount 107,683,976 107,683,976
Unvested RSUs        
Antidilutive Securities Excluded from Computation of Earnings Per Share [Line Items]        
Antidilutive Securities Excluded from Computation of Earnings Per Share, Amount 5,585,756 1,419,093 5,096,729 1,419,093
Unvested option awards        
Antidilutive Securities Excluded from Computation of Earnings Per Share [Line Items]        
Antidilutive Securities Excluded from Computation of Earnings Per Share, Amount 5,155,894 12,142,483 2,577,947 12,142,483
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
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