XML 159 R105.htm IDEA: XBRL DOCUMENT v3.20.1
Stock-Based Compensation and Employee Benefit Plans - Employee Stock Purchase Plan (Details)
12 Months Ended
Jul. 25, 2018
shares
Dec. 31, 2019
USD ($)
shares
Dec. 31, 2018
USD ($)
Dec. 31, 2017
USD ($)
Apr. 30, 2018
shares
Share-based Compensation Arrangement by Share-based Payment Award [Line Items]          
Share-based compensation expense | $   $ 196,291,000 $ 168,482,000 $ 29,101,000  
Employee Stock          
Share-based Compensation Arrangement by Share-based Payment Award [Line Items]          
Number of share maximum per employee   2,500      
Purchase period   6 months      
Dollar maximum per employee | $   $ 25,000      
2018 ESPP          
Share-based Compensation Arrangement by Share-based Payment Award [Line Items]          
Number of common stock reserved for issuance (in shares)   3,030,407      
Employee stock purchase plan, compensation expense | $   $ 10,278,000 $ 4,584,000    
Shares issued in period   1,718,433      
2018 ESPP | Employee Stock | Class A common stock          
Share-based Compensation Arrangement by Share-based Payment Award [Line Items]          
Shares reserved for future issuance (in shares) 3,333,333        
Number of common stock reserved for issuance (in shares)         33,333,333
Purchase price of common stock, percentage of fair market value   85.00%      
Number of share reserved for issuance increase, term 9 years        
Percentage of total outstanding shares for ESPP 0.01        
Number of additional shares authorized   1,415,507