v3.20.1
Stockholders' Equity - Additional Information (Details) - USD ($)
$ / shares in Units, $ in Thousands
1 Months Ended 3 Months Ended 12 Months Ended
Nov. 30, 2019
Sep. 30, 2019
Mar. 31, 2020
Mar. 31, 2019
Dec. 31, 2019
Sep. 06, 2019
Share Based Compensation Arrangement By Share Based Payment Award [Line Items]            
Common stock, shares authorized           380,000,000
Stock issuable upon the exercise of options outstanding     33,871,098   36,384,767  
Proceeds from exercise of stock options     $ 2,813 $ 1,776    
Share-based payment arrangement, expense     12,060 $ 2,445    
Stock Option            
Share Based Compensation Arrangement By Share Based Payment Award [Line Items]            
Total compensation cost related to unvested awards not yet recognized     $ 83,100   $ 90,500  
Weighted average period over compensation cost related to unvested employee awards     2 years 6 months   2 years 8 months 12 days  
Weighted average grant-date fair value of options granted     $ 16.55 $ 3.34    
Proceeds from exercise of stock options     $ 2,800 $ 1,800    
Intrinsic value of options exercised     86,500 16,800    
Aggregate fair value of options vested     $ 3,800 $ 1,800    
Early exercise of common stock     1,039,500   1,239,750  
RSU            
Share Based Compensation Arrangement By Share Based Payment Award [Line Items]            
Weighted average period over compensation cost related to unvested employee awards     3 years 9 months 18 days   3 years 10 months 24 days  
Common stock granted     696,740      
Total compensation cost related to unvested awards not yet recognized     $ 56,400   $ 30,400  
Employee Stock Purchase Plan            
Share Based Compensation Arrangement By Share Based Payment Award [Line Items]            
Initial offering period   The initial offering period began on the date of the Final Prospectus and will end on May 15, 2020.        
Percentage of purchase the shares at a price per share   85.00%        
Share-based payment arrangement, expense     1,000      
Amounts withheld on behalf of employees for a future purchase     $ 6,400      
Employee Stock Purchase Plan | Initial Public Offering            
Share Based Compensation Arrangement By Share Based Payment Award [Line Items]            
Initial public offering price   $ 27.00        
Class B Common Stock            
Share Based Compensation Arrangement By Share Based Payment Award [Line Items]            
Common stock, number of shares converted     87,517,942      
Common stock, shares authorized     310,000,000   310,000,000  
Common stock, par value     $ 0.00001   $ 0.00001  
Common stock, shares issued     145,238,917   232,078,452  
Common stock, shares outstanding     145,238,917   232,078,452  
Stock issuable upon the exercise of options outstanding     33,835,798   36,364,067  
Class A Common Stock            
Share Based Compensation Arrangement By Share Based Payment Award [Line Items]            
Common stock, shares authorized     2,000,000,000   2,000,000,000  
Common stock, par value     $ 0.00001   $ 0.00001  
Common stock, shares issued     153,495,803   64,308,498  
Common stock, shares outstanding     153,495,803   64,308,498  
Stock issuable upon the exercise of options outstanding     35,300   20,700  
Class A Common Stock | Service-based Restricted Shares            
Share Based Compensation Arrangement By Share Based Payment Award [Line Items]            
Common stock granted 244,445          
Service based vesting period 4 years          
Class A Common Stock | 2019 Equity Incentive Plan            
Share Based Compensation Arrangement By Share Based Payment Award [Line Items]            
Number of shares available for grant     46,421,549      
Class A Common Stock | Employee Stock Purchase Plan            
Share Based Compensation Arrangement By Share Based Payment Award [Line Items]            
Number of shares available for grant     9,688,869      
Number of shares authorized to grant award   6,725,000