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

Net Loss per Share Attributable to Common Stockholders - Summary of Outstanding shares of potentially dilutive securities were excluded from the computation of diluted net loss per share (Detail)

v3.21.2
Net Loss per Share Attributable to Common Stockholders - Summary of Outstanding shares of potentially dilutive securities were excluded from the computation of diluted net loss per share (Detail) - shares
6 Months Ended 12 Months Ended
Jun. 30, 2021
Jun. 30, 2020
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 109,535,896 101,910,381 103,739,174 96,952,432
Redeemable Convertible Preferred Stock [Member]        
Antidilutive Securities Excluded from Computation of Earnings Per Share [Line Items]        
Antidilutive Securities Excluded from Computation of Earnings Per Share, Amount 99,608,293 96,252,623 96,252,623 92,613,015
Common Stock [Member]        
Antidilutive Securities Excluded from Computation of Earnings Per Share [Line Items]        
Antidilutive Securities Excluded from Computation of Earnings Per Share, Amount 219,402 219,402 219,402 219,402
Unvested restricted stock awards [Member]        
Antidilutive Securities Excluded from Computation of Earnings Per Share [Line Items]        
Antidilutive Securities Excluded from Computation of Earnings Per Share, Amount 146,250 170,250 158,250 182,250
Unvested restricted stock Units [Member]        
Antidilutive Securities Excluded from Computation of Earnings Per Share [Line Items]        
Antidilutive Securities Excluded from Computation of Earnings Per Share, Amount 2,966,408 0    
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 6,575,686 5,268,106 7,108,899 3,937,765
Series C redeemable convertible preferred stock [Member]        
Antidilutive Securities Excluded from Computation of Earnings Per Share [Line Items]        
Antidilutive Securities Excluded from Computation of Earnings Per Share, Amount 19,857 0