Quarterly report pursuant to Section 13 or 15(d)

Common Stock - Additional Information (Details)

v3.21.2
Common Stock - Additional Information (Details) - USD ($)
$ / shares in Units, $ in Millions
1 Months Ended 3 Months Ended 9 Months Ended 12 Months Ended
Nov. 30, 2016
Sep. 30, 2021
Jun. 30, 2021
Mar. 31, 2021
Sep. 30, 2020
Jun. 30, 2020
Mar. 31, 2020
Sep. 30, 2021
Dec. 31, 2017
Dec. 31, 2020
Class Of Stock [Line Items]                    
Common stock, par value   $ 0.0001           $ 0.0001   $ 0.0001
Common stock, shares authorized   1,400,000,000           1,400,000,000   517,865,383
Common Stock [Member]                    
Class Of Stock [Line Items]                    
Common stock, par value   $ 0.00001           $ 0.00001    
Common stock, shares authorized   149,793,455           149,793,455    
Stock issued during the period shares exercise of stock options   699,852 592,948 746,830 68,331 233,810 84,023      
Former Parent Company [Member]                    
Class Of Stock [Line Items]                    
Common stock, shares               101,581,935    
Share repurchase program number of shares authorized to be repurchased 101,581,935                  
Shares to be repurchased price per share $ 0.006                  
Restricted Stock [Member] | Restricted Stock Purchase Agreements [Member]                    
Class Of Stock [Line Items]                    
Stock Repurchase Period                 10 years  
Stock issued during the period shares restricted stock awards                 829,727  
Restricted stock shares subject to repurchase   484,871           484,871   547,101
Restricted stock shares weighted average repurchase price per share   $ 0.029           $ 0.029   $ 0.029
Share repurchase liability current   $ 0.1           $ 0.1   $ 0.1
Former Parent Options [Member] | Former Parent Company [Member]                    
Class Of Stock [Line Items]                    
Stock issued during the period shares exercise of stock options 18,846,930             32,438,008    
Share based compensation by share based payment arrangement options exercised during the period weighted average exercise price               $ 0.006    
Former Parent Restricted Stock Units [Member] | Former Parent Company [Member]                    
Class Of Stock [Line Items]                    
Stock issued during the period shares restricted stock awards               69,143,926    
Share based compensation by share based payment arrangement equity instruments other than options non vested outstanding 24,008,306                  
Redeemable Convertible Preferred Stock [Member]                    
Class Of Stock [Line Items]                    
Preferred stock par or stated value per share   $ 0.00001           $ 0.00001    
Preferred stock shares authorized   105,500,526           105,500,526    
Amended And Restated Certificate of Incorporation [Member]                    
Class Of Stock [Line Items]                    
Common stock, par value   $ 0.0001           $ 0.0001    
Common stock, shares authorized   1,400,000,000           1,400,000,000    
Preferred stock par or stated value per share   $ 0.0001           $ 0.0001    
Preferred stock shares authorized   100,000,000           100,000,000    
Common stock shares voting rights               one