Annual report pursuant to Section 13 and 15(d)

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

v3.22.1
Net Loss per Share - Schedule of Antidilutive Securities Excluded from Computation of Earnings Per Share (Detail) - shares
12 Months Ended
Dec. 31, 2021
Dec. 31, 2020
Antidilutive Securities Excluded From Computation Of Earnings Per Share [Line Items]    
Antidilutive securities excluded from computation of earnings per share, amount 40,147,741 99,097,501
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,726,773
Common and Preferred Stock Warrant    
Antidilutive Securities Excluded From Computation Of Earnings Per Share [Line Items]    
Antidilutive securities excluded from computation of earnings per share, amount   2,328,009
Warrants For The Purchase Of Series C 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   146,919
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   34,219,450
RSU Shares [Member]    
Antidilutive Securities Excluded From Computation Of Earnings Per Share [Line Items]    
Antidilutive securities excluded from computation of earnings per share, amount 783,902  
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  
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 21,263,847 19,676,350