v3.24.0.1
Stockholders' Equity - Additional Information (Details)
$ / shares in Units, $ in Thousands
3 Months Ended 12 Months Ended
Dec. 31, 2023
USD ($)
vote
plan
$ / shares
shares
Dec. 31, 2022
USD ($)
$ / shares
shares
Dec. 31, 2023
USD ($)
vote
plan
$ / shares
shares
Dec. 31, 2022
USD ($)
$ / shares
shares
Dec. 31, 2021
USD ($)
$ / shares
shares
Oct. 31, 2023
USD ($)
Oct. 31, 2022
USD ($)
Sep. 30, 2022
USD ($)
shares
Jul. 31, 2022
USD ($)
Share Based Compensation Arrangement By Share Based Payment Award [Line Items]                  
Common stock, outstanding (in shares) 1,694,696,000 1,625,398,000 1,694,696,000 1,625,398,000 1,619,283,000        
Number of share-based employee compensation plans | plan 3   3            
Weighted-average fair value of employee stock options (in usd per share) | $ / shares       $ 8.41 $ 36.17        
Fair values of options vested | $     $ 1,100 $ 3,200 $ 7,700        
Intrinsic values of stock options exercised | $ $ 12,300 $ 5,900 12,300 5,900 69,400        
Stock repurchased during period | $ 479,903 $ 500,514 $ 479,903 500,514          
2017 Equity Incentive Plan | Maximum                  
Share Based Compensation Arrangement By Share Based Payment Award [Line Items]                  
Percentage of capital stock outstanding     5.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            
Restricted Stock Units and Restricted Stock Awards                  
Share Based Compensation Arrangement By Share Based Payment Award [Line Items]                  
Fair value of vested shares | $     $ 1,000,000 $ 1,200,000 $ 3,600,000        
Unrecognized compensation cost | $ $ 1,700,000   $ 1,700,000            
Weighted average recognition period     2 years            
Class A                  
Share Based Compensation Arrangement By Share Based Payment Award [Line Items]                  
Common stock, authorized (in shares) 3,000,000,000 3,000,000,000 3,000,000,000 3,000,000,000          
Common stock, par value (in usd per share) | $ / shares $ 0.00001 $ 0.00001 $ 0.00001 $ 0.00001          
Common stock dividends declared (in usd per share) | $ / shares     $ 0            
Common stock, issued (in shares) 1,440,540,591 1,371,242,000 1,440,540,591 1,371,242,000          
Common stock, outstanding (in shares) 1,391,341,262 1,319,930,000 1,391,341,262 1,319,930,000          
Stock repurchase program, authorized amount | $ $ 310,800   $ 310,800     $ 500,000 $ 500,000   $ 500,000
Treasury stock, acquired (in shares) 18,400,000                
Treasury stock, acquired | $ $ 189,400                
Retirement of Class A non-voting common stock (in shares)   53,900,000              
Stock repurchased and retired during period | $   $ 500,500              
Stock repurchased during period (in shares) 49,200,000 51,312,000 49,200,000 51,312,000       51,300,000  
Stock repurchased during period | $               $ 500,500  
Class A | 2017 Equity Incentive Plan                  
Share Based Compensation Arrangement By Share Based Payment Award [Line Items]                  
Common stock reserved for future issuance (in shares) 87,270,108   87,270,108            
Class A | 2017 Equity Incentive Plan | Maximum                  
Share Based Compensation Arrangement By Share Based Payment Award [Line Items]                  
Additional common stock reserved for future issuance (in shares) 86,737,997   86,737,997            
Class A | 2014 Equity Incentive Plan                  
Share Based Compensation Arrangement By Share Based Payment Award [Line Items]                  
Common stock reserved for future issuance (in shares) 17,858,235   17,858,235            
Class A | 2012 Equity Incentive Plan                  
Share Based Compensation Arrangement By Share Based Payment Award [Line Items]                  
Common stock reserved for future issuance (in shares) 11,004,580   11,004,580            
Class A | 2017 Employee Stock Purchase Plan                  
Share Based Compensation Arrangement By Share Based Payment Award [Line Items]                  
Common stock reserved for future issuance (in shares) 16,484,690   16,484,690            
Number of shares issued or offered under plan (in shares)     0            
Percentage of number of shares, common stock outstanding     1.00%            
Class A | 2017 Employee Stock Purchase Plan | Maximum                  
Share Based Compensation Arrangement By Share Based Payment Award [Line Items]                  
Increase in number of shares reserved for issuance (in shares)     15,000,000            
Class A | 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 (in shares) 96,993,064   96,993,064            
Class A | 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 (in shares) 37,228,865   37,228,865            
Class A | Restricted Stock Units and Restricted Stock Awards                  
Share Based Compensation Arrangement By Share Based Payment Award [Line Items]                  
Outstanding restricted stock, Granted (in shares)     148,701,000            
Class A | France | 2014 Equity Incentive Plan                  
Share Based Compensation Arrangement By Share Based Payment Award [Line Items]                  
Outstanding restricted stock, Granted (in shares)     2,500,000            
Class B                  
Share Based Compensation Arrangement By Share Based Payment Award [Line Items]                  
Common stock, authorized (in shares) 700,000,000 700,000,000 700,000,000 700,000,000          
Common stock, par value (in usd per share) | $ / shares $ 0.00001 $ 0.00001 $ 0.00001 $ 0.00001          
Number of votes per share | vote 1   1            
Common stock dividends declared (in usd per share) | $ / shares     $ 0            
Common stock, issued (in shares) 22,528,406 22,529,000 22,528,406 22,529,000          
Common stock, outstanding (in shares) 22,528,406 22,529,000 22,528,406 22,529,000          
Class C                  
Share Based Compensation Arrangement By Share Based Payment Award [Line Items]                  
Common stock, authorized (in shares) 260,887,848 260,888,000 260,887,848 260,888,000          
Common stock, par value (in usd per share) | $ / shares $ 0.00001 $ 0.00001 $ 0.00001 $ 0.00001          
Number of votes per share | vote 10   10            
Common stock dividends declared (in usd per share) | $ / shares     $ 0            
Common stock, issued (in shares) 231,626,943 231,627,000 231,626,943 231,627,000          
Common stock, outstanding (in shares) 231,626,943 231,627,000 231,626,943 231,627,000