General form of registration statement for all companies including face-amount certificate companies

Net Loss Per Share Attributable to Common Stockholders - Summary Of Diluted Net Loss Per Share Attributable To Common Stockholders (Details)

v3.22.2.2
Net Loss Per Share Attributable to Common Stockholders - Summary Of Diluted Net Loss Per Share Attributable To Common Stockholders (Details) - shares
6 Months Ended 12 Months Ended
Jun. 30, 2022
Jun. 30, 2021
Dec. 31, 2021
Dec. 31, 2020
Dec. 31, 2019
Antidilutive Securities Excluded from Computation of Earnings Per Share [Line Items]          
Antidilutive Securities Excluded from Computation of Earnings Per Share, Amount 59,416,899 144,964,182 146,452,578 136,650,400 104,982,158
Convertible Preferred Stock          
Antidilutive Securities Excluded from Computation of Earnings Per Share [Line Items]          
Antidilutive Securities Excluded from Computation of Earnings Per Share, Amount 0 115,287,015 115,287,015 115,287,015 85,480,841
Common stock options          
Antidilutive Securities Excluded from Computation of Earnings Per Share [Line Items]          
Antidilutive Securities Excluded from Computation of Earnings Per Share, Amount 24,635,687 27,646,468 27,882,520 18,733,170 18,188,736
Restricted stock units          
Antidilutive Securities Excluded from Computation of Earnings Per Share [Line Items]          
Antidilutive Securities Excluded from Computation of Earnings Per Share, Amount 5,107,395 0 1,777,183 0 0
Convertible preferred stock warrants          
Antidilutive Securities Excluded from Computation of Earnings Per Share [Line Items]          
Antidilutive Securities Excluded from Computation of Earnings Per Share, Amount 0 735,760 735,760 735,760 625,607
Common stock warrants          
Antidilutive Securities Excluded from Computation of Earnings Per Share [Line Items]          
Antidilutive Securities Excluded from Computation of Earnings Per Share, Amount 923,857 974,350 688,349 660,748 660,748
Shares subject to repurchase          
Antidilutive Securities Excluded from Computation of Earnings Per Share [Line Items]          
Antidilutive Securities Excluded from Computation of Earnings Per Share, Amount 0 320,589 81,751 1,233,707 26,226
Private And Public Placement Warrants [Member]          
Antidilutive Securities Excluded from Computation of Earnings Per Share [Line Items]          
Antidilutive Securities Excluded from Computation of Earnings Per Share, Amount 14,750,000 0      
Earn Out Share [Member]          
Antidilutive Securities Excluded from Computation of Earnings Per Share [Line Items]          
Antidilutive Securities Excluded from Computation of Earnings Per Share, Amount 13,999,960 0      
Contingently Redeemable Convertible Common Stock [Member]          
Antidilutive Securities Excluded from Computation of Earnings Per Share [Line Items]          
Antidilutive Securities Excluded from Computation of Earnings Per Share, Amount 0 0