v3.10.0.1
Stockholders' Equity - Additional Information (Details)
12 Months Ended
Dec. 31, 2018
USD ($)
Plan
$ / shares
shares
Dec. 31, 2017
USD ($)
$ / shares
shares
Dec. 31, 2016
USD ($)
Share Based Compensation Arrangement By Share Based Payment Award [Line Items]      
Number of share-based employee compensation plans | Plan 3    
Weighted-average fair value of employee stock options | $ / shares $ 6.99 $ 5.84  
Fair values of options vested | $ $ 24,800,000 $ 58,600,000 $ 15,500,000
Intrinsic values of stock options exercised | $ $ 289,100,000 $ 276,500,000 21,600,000
Expected dividend rate 0.00%    
Maximum | 2017 Equity Incentive Plan      
Share Based Compensation Arrangement By Share Based Payment Award [Line Items]      
Percentage of capital stock outstanding 5.00%    
Shares reserved for issuance, automatic increase date Jan. 01, 2027    
Minimum | 2017 Equity Incentive Plan      
Share Based Compensation Arrangement By Share Based Payment Award [Line Items]      
Shares reserved for issuance, automatic increase date Jan. 01, 2018    
Stock Options      
Share Based Compensation Arrangement By Share Based Payment Award [Line Items]      
Weighted average recognition period   2 years 6 months  
Unrecognized compensation cost related to stock options granted and assumed | $   $ 42,400,000  
Expected dividend rate 0.00%    
Stock Options | Maximum      
Share Based Compensation Arrangement By Share Based Payment Award [Line Items]      
Maximum term for stock options from the grant date 10 years    
RSUs      
Share Based Compensation Arrangement By Share Based Payment Award [Line Items]      
Fair value of vested shares | $ $ 884,100,000 $ 966,000,000 11,800,000
RSUs are vested but not settled 22,400,000 34,400,000  
Pre-2017 RSUs      
Share Based Compensation Arrangement By Share Based Payment Award [Line Items]      
Common stock issued 26,700,000    
Unrecognized compensation cost | $ $ 207,200,000    
Weighted average recognition period 1 year 8 months 12 days    
Post-2017 RSUs      
Share Based Compensation Arrangement By Share Based Payment Award [Line Items]      
Unrecognized compensation cost | $ $ 1,200,000    
Weighted average recognition period 2 years 10 months 24 days    
RSAs      
Share Based Compensation Arrangement By Share Based Payment Award [Line Items]      
Fair value of vested shares | $ $ 6,300,000 $ 1,600,000 $ 0
Unrecognized compensation cost | $ $ 59,000,000    
Weighted average recognition period 3 years 6 months    
Class A Non-voting Common Stock      
Share Based Compensation Arrangement By Share Based Payment Award [Line Items]      
Common stock authorized to issue 3,000,000,000 3,000,000,000  
Common stock par value | $ / shares $ 0.00001 $ 0.00001  
Common stock voting rights no voting rights    
Common stock dividends declared | $ / shares   $ 0  
Common stock issued 999,303,709 883,022,000  
Common stock outstanding 999,303,709 883,022,000  
Class B Common Stock      
Share Based Compensation Arrangement By Share Based Payment Award [Line Items]      
Common stock authorized to issue 700,000,000    
Common stock par value | $ / shares $ 0.00001    
Common stock voting rights one vote    
Common stock dividends declared | $ / shares   $ 0  
Common stock issued 93,845,185    
Common stock outstanding 93,845,185    
Class B Common Stock | RSUs      
Share Based Compensation Arrangement By Share Based Payment Award [Line Items]      
RSUs are vested but not settled 6,331,000    
Class C Common Stock      
Share Based Compensation Arrangement By Share Based Payment Award [Line Items]      
Common stock authorized to issue 260,887,848    
Common stock par value | $ / shares $ 0.00001    
Common stock voting rights ten votes    
Common stock dividends declared | $ / shares   $ 0  
Common stock issued 224,611,365    
Common stock outstanding 224,611,365    
Class A Common Stock | 2017 Equity Incentive Plan      
Share Based Compensation Arrangement By Share Based Payment Award [Line Items]      
Common stock reserved for future issuance 87,270,108    
Class A Common Stock | 2014 Equity Incentive Plan      
Share Based Compensation Arrangement By Share Based Payment Award [Line Items]      
Common stock reserved for future issuance 17,858,235    
Class A Common Stock | 2012 Equity Incentive Plan      
Share Based Compensation Arrangement By Share Based Payment Award [Line Items]      
Common stock reserved for future issuance 11,004,580    
Class A Common Stock | 2017 Employee Stock Purchase Plan      
Share Based Compensation Arrangement By Share Based Payment Award [Line Items]      
Common stock reserved for future issuance 16,484,690    
Number of shares issued or offered under plan 0    
Class A Common Stock | Maximum | 2017 Equity Incentive Plan      
Share Based Compensation Arrangement By Share Based Payment Award [Line Items]      
Additional common stock reserved for future issuance 86,737,997    
Class A Common Stock | Maximum | 2017 Employee Stock Purchase Plan      
Share Based Compensation Arrangement By Share Based Payment Award [Line Items]      
Shares reserved for issuance, automatic increase date Jan. 01, 2027    
Percentage of number of shares, common stock outstanding 1.00%    
Increase in number of shares reserved for issuance 15,000,000    
Class A Common Stock | Minimum | 2017 Employee Stock Purchase Plan      
Share Based Compensation Arrangement By Share Based Payment Award [Line Items]      
Shares reserved for issuance, automatic increase date Jan. 01, 2018    
Class A Common Stock | 2014 Equity Incentive Plan | Maximum | France      
Share Based Compensation Arrangement By Share Based Payment Award [Line Items]      
Awards granted to employees and consultants 2,500,000    
Class A Common Stock | Stock Options And Unvested RSUs | 2014 Equity Incentive Plan      
Share Based Compensation Arrangement By Share Based Payment Award [Line Items]      
Common stock reserved for future issuance 96,993,064    
Class A Common Stock | Stock Options And Unvested RSUs | 2012 Equity Incentive Plan      
Share Based Compensation Arrangement By Share Based Payment Award [Line Items]      
Common stock reserved for future issuance 37,228,865    
Class A Common Stock | RSUs      
Share Based Compensation Arrangement By Share Based Payment Award [Line Items]      
Awards granted to employees and consultants 88,174,000    
RSUs are vested but not settled 50,701,000    
Class A Common Stock | RSAs      
Share Based Compensation Arrangement By Share Based Payment Award [Line Items]      
Awards granted to employees and consultants 7,317,000    
RSUs are vested but not settled 421,000