Quarterly report pursuant to Section 13 or 15(d)

Net Loss per Share (Restated) - Schedule of Antidilutive Securities Excluded from Computation of Earnings Per Share (Detail)

v3.22.2.2
Net Loss per Share (Restated) - Schedule of Antidilutive Securities Excluded from Computation of Earnings Per Share (Detail) - shares
6 Months Ended
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 51,995,619 104,985,696
Stock Options To Purchase Common Stock [Member]    
Antidilutive Securities Excluded From Computation Of Earnings Per Share [Line Items]    
Antidilutive securities excluded from computation of earnings per share, amount 19,705,518 22,705,021
Public And Private Warrants [Member]    
Antidilutive Securities Excluded From Computation Of Earnings Per Share [Line Items]    
Antidilutive securities excluded from computation of earnings per share, amount 18,099,992  
RSU Shares [Member]    
Antidilutive Securities Excluded From Computation Of Earnings Per Share [Line Items]    
Antidilutive securities excluded from computation of earnings per share, amount 10,495,229  
Blue Torch And GPO Warrants    
Antidilutive Securities Excluded From Computation Of Earnings Per Share [Line Items]    
Antidilutive securities excluded from computation of earnings per share, amount 3,694,880  
Convertible Preferred Stock (if-converted) [Member]    
Antidilutive Securities Excluded From Computation Of Earnings Per Share [Line Items]    
Antidilutive securities excluded from computation of earnings per share, amount   42,873,691
Warrants For The Purchase Of Common Stock [Member]    
Antidilutive Securities Excluded From Computation Of Earnings Per Share [Line Items]    
Antidilutive securities excluded from computation of earnings per share, amount   2,383,298
Convertible Notes (if-converted) [Member]    
Antidilutive Securities Excluded From Computation Of Earnings Per Share [Line Items]    
Antidilutive securities excluded from computation of earnings per share, amount   37,023,686