v3.19.3.a.u2
Summary of Significant Accounting Policies - Additional Information (Details)
1 Months Ended 3 Months Ended 12 Months Ended
Mar. 31, 2017
USD ($)
$ / shares
shares
Mar. 31, 2017
USD ($)
$ / shares
shares
Dec. 31, 2019
USD ($)
$ / shares
shares
Dec. 31, 2018
USD ($)
shares
Dec. 31, 2017
USD ($)
Mar. 31, 2019
USD ($)
Summary Of Significant Accounting Policies [Line Items]            
Net proceeds from initial public offering | $     $ 0 $ 0 $ 2,657,797,000  
Stock-based compensation expense | $     686,013,000 538,211,000 2,639,895,000  
Tax withholding obligation | $     0 551,000 394,156,000  
Advertising revenue-share cost | $     $ 174,700,000 $ 120,300,000 $ 96,300,000  
Type of Cost, Good or Service [Extensible List]     us-gaap:AdvertisingMember us-gaap:AdvertisingMember us-gaap:AdvertisingMember  
Advertising cost | $     $ 31,400,000 $ 11,300,000 $ 10,900,000  
Percentage of tax benefits likelihood of being realized     greater than 50%      
Highly liquid investments with original maturities     90 days or less      
Number of operating segment | $     1 1 1  
Number of reporting unit | $     1 1 1  
Goodwill impairment charges | $     $ 0 $ 0 $ 0  
Operating lease right-of-use assets | $     275,447,000      
Operating lease, liability | $     $ 345,453,000      
ASU 2016-02            
Summary Of Significant Accounting Policies [Line Items]            
Operating lease right-of-use assets | $           $ 284,500,000
Operating lease, liability | $           $ 375,400,000
Computer Hardware and Software            
Summary Of Significant Accounting Policies [Line Items]            
Property and equipment estimated useful life     3 years      
Furniture and Equipment            
Summary Of Significant Accounting Policies [Line Items]            
Property and equipment estimated useful life     5 years      
Minimum | Buildings            
Summary Of Significant Accounting Policies [Line Items]            
Property and equipment estimated useful life     25 years      
Maximum            
Summary Of Significant Accounting Policies [Line Items]            
Business combination measurement period     1 year      
Maximum | Buildings            
Summary Of Significant Accounting Policies [Line Items]            
Property and equipment estimated useful life     45 years      
Pre-2017 RSUs            
Summary Of Significant Accounting Policies [Line Items]            
Initial public offering price per share | $ / shares     $ 17.00      
Shares withheld for payroll taxes | shares   12,100,000        
Common stock issued | shares     26,700,000      
Tax withholding obligation | $   $ 206,600,000        
Pre-2017 RSUs | First Year            
Summary Of Significant Accounting Policies [Line Items]            
Award vesting percentage     10.00%      
Pre-2017 RSUs | Second Year            
Summary Of Significant Accounting Policies [Line Items]            
Award vesting percentage     20.00%      
Pre-2017 RSUs | Third Year            
Summary Of Significant Accounting Policies [Line Items]            
Award vesting percentage     30.00%      
Pre-2017 RSUs | Fourth Year            
Summary Of Significant Accounting Policies [Line Items]            
Award vesting percentage     40.00%      
Restricted Stock Units            
Summary Of Significant Accounting Policies [Line Items]            
Share based compensation arrangement by share based payment award vesting | shares     9,400,000 22,400,000    
Post-2017 RSUs            
Summary Of Significant Accounting Policies [Line Items]            
Service condition satisfied, years     4 years      
Post-2017 RSUs | First Year            
Summary Of Significant Accounting Policies [Line Items]            
Award vesting percentage     10.00%      
Post-2017 RSUs | Second Year            
Summary Of Significant Accounting Policies [Line Items]            
Award vesting percentage     20.00%      
Post-2017 RSUs | Third Year            
Summary Of Significant Accounting Policies [Line Items]            
Award vesting percentage     30.00%      
Post-2017 RSUs | Fourth Year            
Summary Of Significant Accounting Policies [Line Items]            
Award vesting percentage     40.00%      
IPO | Pre-2017 RSUs            
Summary Of Significant Accounting Policies [Line Items]            
Stock-based compensation expense | $     $ 1,300,000,000      
Class A Common Stock            
Summary Of Significant Accounting Policies [Line Items]            
Common stock issued | shares     1,160,127,014 999,304,000    
Class A Common Stock | Restricted Stock Units            
Summary Of Significant Accounting Policies [Line Items]            
Share based compensation arrangement by share based payment award vesting | shares     76,983,000      
Class A Common Stock | IPO            
Summary Of Significant Accounting Policies [Line Items]            
Common stock, shares issued and sold | shares 160,300,000   160,300,000      
Initial public offering price per share | $ / shares $ 17.00 $ 17.00        
Net proceeds from initial public offering | $ $ 2,600,000,000          
Underwriting discounts and commissions | $ 68,100,000          
Other stock offering expenses | $ $ 14,700,000          
Class B Common Stock            
Summary Of Significant Accounting Policies [Line Items]            
Common stock issued | shares     24,521,607 93,845,000    
Class B Common Stock | Restricted Stock Units            
Summary Of Significant Accounting Policies [Line Items]            
Share based compensation arrangement by share based payment award vesting | shares     490,000      
Class B Common Stock | Convertible Preferred Stock Other Than Series FP Preferred Stock | IPO            
Summary Of Significant Accounting Policies [Line Items]            
Conversion of convertible preferred stock into common stock | shares 246,800,000          
Class C Common Stock            
Summary Of Significant Accounting Policies [Line Items]            
Common stock issued | shares     231,147,476 224,611,000    
Class C Common Stock | CEO            
Summary Of Significant Accounting Policies [Line Items]            
Common stock issued | shares       15,600,000    
Shares to be issued in future periods | shares       21,800,000    
Class C Common Stock | IPO | CEO            
Summary Of Significant Accounting Policies [Line Items]            
Common stock issued | shares     28,000,000.0      
Shares to be issued in future periods | shares     9,400,000      
Class C Common Stock | IPO | Restricted Stock Units | CEO            
Summary Of Significant Accounting Policies [Line Items]            
Initial public offering price per share | $ / shares     $ 17.00      
Stock-based compensation expense | $     $ 636,600,000      
Percentage of outstanding shares     3.00%      
Share based compensation arrangement by share based payment award vesting | shares     37,400,000      
Vested awards, distribution period     3 years      
Vested awards, distribution description     The CEO award vested immediately on the closing of the IPO, and such shares are being delivered to the CEO in quarterly installments over three years which began in November 2017.      
Class C Common Stock | Series FP Preferred Stock | IPO            
Summary Of Significant Accounting Policies [Line Items]            
Conversion of convertible preferred stock into common stock | shares 215,900,000          
Class C Common Stock | Series FP Preferred Stock | IPO | Restricted Stock Units            
Summary Of Significant Accounting Policies [Line Items]            
Conversion of convertible preferred stock into common stock | shares     37,400,000      
Class C Common Stock | Series FP Preferred Stock | IPO | Restricted Stock Units | CEO            
Summary Of Significant Accounting Policies [Line Items]            
Conversion of convertible preferred stock into common stock | shares     37,400,000