Post-effective amendment to a registration statement that is not immediately effective upon filing

Net Loss per Share - Antidilutive effect (Details)

v3.22.1
Net Loss per Share - Antidilutive effect (Details) - 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 the computation of diluted net loss per share 56,212,565 102,733,503
Options to purchase common stock    
Antidilutive Securities Excluded from Computation of Earnings Per Share [Line Items]    
Antidilutive securities excluded from the computation of diluted net loss per share 20,769,130 18,770,767
Warrants to purchase common stock    
Antidilutive Securities Excluded from Computation of Earnings Per Share [Line Items]    
Antidilutive securities excluded from the computation of diluted net loss per share 14,324,994  
Convertible preferred stock (as converted to common stock)    
Antidilutive Securities Excluded from Computation of Earnings Per Share [Line Items]    
Antidilutive securities excluded from the computation of diluted net loss per share   80,833,007
Warrants to purchase preferred stock (as converted to warrants to purchase common stock)    
Antidilutive Securities Excluded from Computation of Earnings Per Share [Line Items]    
Antidilutive securities excluded from the computation of diluted net loss per share   1,014,963
Warrants To Purchase Common Stock [Member]    
Antidilutive Securities Excluded from Computation of Earnings Per Share [Line Items]    
Antidilutive securities excluded from the computation of diluted net loss per share   922,297
Warrants To Purchase Common Stock Finback [Member]    
Antidilutive Securities Excluded from Computation of Earnings Per Share [Line Items]    
Antidilutive securities excluded from the computation of diluted net loss per share 2,269,017  
Unvested restricted stock units    
Antidilutive Securities Excluded from Computation of Earnings Per Share [Line Items]    
Antidilutive securities excluded from the computation of diluted net loss per share 1,951,924  
Unvested Founder Shares    
Antidilutive Securities Excluded from Computation of Earnings Per Share [Line Items]    
Antidilutive securities excluded from the computation of diluted net loss per share 1,897,500  
Earn Out Shares    
Antidilutive Securities Excluded from Computation of Earnings Per Share [Line Items]    
Antidilutive securities excluded from the computation of diluted net loss per share 15,000,000  
Convertible notes (as converted to common stock)    
Antidilutive Securities Excluded from Computation of Earnings Per Share [Line Items]    
Antidilutive securities excluded from the computation of diluted net loss per share   1,192,469