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

Earnings Per Share - Schedule of the computation of basic and diluted earnings per share (Details)

v3.21.2
Earnings Per Share - Schedule of the computation of basic and diluted earnings per share (Details) - 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 272,534,107 180,003,194 175,571,472 180,622,854
Seed 1 Convertible Preferred Stock        
Antidilutive Securities Excluded from Computation of Earnings Per Share [Line Items]        
Antidilutive Securities Excluded from Computation of Earnings Per Share, Amount 20,177,530 20,177,530 20,177,530 20,177,530
Seed 2 Convertible Preferred Stock        
Antidilutive Securities Excluded from Computation of Earnings Per Share [Line Items]        
Antidilutive Securities Excluded from Computation of Earnings Per Share, Amount 9,653,930 9,653,930 9,653,930 9,653,930
Series A Convertible Preferred Stock        
Antidilutive Securities Excluded from Computation of Earnings Per Share [Line Items]        
Antidilutive Securities Excluded from Computation of Earnings Per Share, Amount 29,948,750 29,948,750 29,948,750 29,948,750
Series B Convertible Preferred Stock        
Antidilutive Securities Excluded from Computation of Earnings Per Share [Line Items]        
Antidilutive Securities Excluded from Computation of Earnings Per Share, Amount 71,389,540 71,447,160 71,389,540 71,447,160
Series B-1 Convertible Preferred Stock        
Antidilutive Securities Excluded from Computation of Earnings Per Share [Line Items]        
Antidilutive Securities Excluded from Computation of Earnings Per Share, Amount 2,557,518 2,557,518 2,557,518 2,557,518
Options        
Antidilutive Securities Excluded from Computation of Earnings Per Share [Line Items]        
Antidilutive Securities Excluded from Computation of Earnings Per Share, Amount 41,445,927 38,646,734 40,746,487 41,466,260
Restricted Stock        
Antidilutive Securities Excluded from Computation of Earnings Per Share [Line Items]        
Antidilutive Securities Excluded from Computation of Earnings Per Share, Amount 549,621 3,248,070 1,097,717 5,371,706
Restricted Stock Units (RSUs)        
Antidilutive Securities Excluded from Computation of Earnings Per Share [Line Items]        
Antidilutive Securities Excluded from Computation of Earnings Per Share, Amount 16,413,092      
Grants available under the 2017 Equity Incentive Plan        
Antidilutive Securities Excluded from Computation of Earnings Per Share [Line Items]        
Antidilutive Securities Excluded from Computation of Earnings Per Share, Amount 9,175,894 4,323,502    
Series U-1 Preferred Stock        
Antidilutive Securities Excluded from Computation of Earnings Per Share [Line Items]        
Antidilutive Securities Excluded from Computation of Earnings Per Share, Amount 50,873,075      
Series U-2 Preferred Stock        
Antidilutive Securities Excluded from Computation of Earnings Per Share [Line Items]        
Antidilutive Securities Excluded from Computation of Earnings Per Share, Amount 20,349,230