XML 101 R86.htm IDEA: XBRL DOCUMENT v3.22.1
Net loss per share - Potentially Dilutive Securities Excluded (Details) - shares
12 Months Ended
Dec. 31, 2021
Dec. 31, 2020
Dec. 31, 2019
Antidilutive Securities Excluded from Computation of Earnings Per Share [Line Items]      
Total potentially dilutive securities 23,009,490 104,432,387 97,376,917
Redeemable convertible preferred stock      
Antidilutive Securities Excluded from Computation of Earnings Per Share [Line Items]      
Total potentially dilutive securities 0 85,391,338 79,472,483
Stock options      
Antidilutive Securities Excluded from Computation of Earnings Per Share [Line Items]      
Total potentially dilutive securities 20,342,259 19,028,454 17,889,502
RSUs and restricted stock      
Antidilutive Securities Excluded from Computation of Earnings Per Share [Line Items]      
Total potentially dilutive securities 2,606,351 0 0
Contingently issuable shares under ESPP      
Antidilutive Securities Excluded from Computation of Earnings Per Share [Line Items]      
Total potentially dilutive securities 60,880 0 0
Early exercised common stock options subject to repurchase      
Antidilutive Securities Excluded from Computation of Earnings Per Share [Line Items]      
Total potentially dilutive securities 0 0 2,337
Redeemable convertible preferred stock warrants      
Antidilutive Securities Excluded from Computation of Earnings Per Share [Line Items]      
Total potentially dilutive securities 0 12,595 12,595