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

Net (Loss)/Income Per Share of Class A Common Stock - Potentially Dilutive Shares (Details)

v3.22.1
Net (Loss)/Income Per Share of Class A Common Stock - Potentially Dilutive Shares (Details) - shares
shares in Thousands
12 Months Ended
Dec. 31, 2021
Dec. 31, 2020
Restricted class A common stock    
Antidilutive Securities Excluded from Computation of Earnings Per Share [Line Items]    
Antidilutive securities excluded from computation of earnings per share 335 891
Restricted stock units    
Antidilutive Securities Excluded from Computation of Earnings Per Share [Line Items]    
Antidilutive securities excluded from computation of earnings per share 10,959 0
Common Stock warrants    
Antidilutive Securities Excluded from Computation of Earnings Per Share [Line Items]    
Antidilutive securities excluded from computation of earnings per share 1,770 12,312
Public Warrants (exercisable for class A common stock) treated as liability    
Antidilutive Securities Excluded from Computation of Earnings Per Share [Line Items]    
Antidilutive securities excluded from computation of earnings per share 15,813 0
Private Placement Warrants (exercisable for class A common stock) treated as liability    
Antidilutive Securities Excluded from Computation of Earnings Per Share [Line Items]    
Antidilutive securities excluded from computation of earnings per share 8,325 0
Sponsor earn-out shares    
Antidilutive Securities Excluded from Computation of Earnings Per Share [Line Items]    
Antidilutive securities excluded from computation of earnings per share 2,372 0
Stock options    
Antidilutive Securities Excluded from Computation of Earnings Per Share [Line Items]    
Antidilutive securities excluded from computation of earnings per share 5,022 3,489