v3.24.0.1
Summary of Significant Accounting Policies - Narrative (Details) - USD ($)
$ / shares in Units, $ in Millions
12 Months Ended
Dec. 31, 2023
Dec. 31, 2022
Dec. 31, 2021
Jan. 31, 2023
Organization And Summary Of Significant Accounting Policies [Line Items]        
Depreciation $ (11,946) $ (13,475) $ (10,273)  
Net income $ 73,795 $ 59,972 $ 76,033  
Basic net income per share of Class A, Class B, and Class C stock (in dollars per share) $ 5.84 $ 4.59 $ 5.69  
Diluted net income per share of Class A, Class B, and Class C stock (in dollars per share) 5.80 4.56 $ 5.61  
Common stock and capital stock, par value (in dollars per share) $ 0.001 $ 0.001    
Advertising and promotional expenses $ 8,700 $ 9,200 $ 7,900  
Impairment of goodwill 0 $ 0 $ 0  
Service Life        
Organization And Summary Of Significant Accounting Policies [Line Items]        
Depreciation 3,900      
Net income $ 3,000      
Basic net income per share of Class A, Class B, and Class C stock (in dollars per share) $ 0.24      
Diluted net income per share of Class A, Class B, and Class C stock (in dollars per share) 0.24      
Class C Capital Stock        
Organization And Summary Of Significant Accounting Policies [Line Items]        
Basic net income per share of Class A, Class B, and Class C stock (in dollars per share) 5.84 $ 4.59 $ 5.69  
Diluted net income per share of Class A, Class B, and Class C stock (in dollars per share) $ 5.80 $ 4.56 $ 5.61  
Building | Minimum        
Organization And Summary Of Significant Accounting Policies [Line Items]        
Property and equipment, estimated useful lives, up to 7 years      
Building | Maximum        
Organization And Summary Of Significant Accounting Policies [Line Items]        
Property and equipment, estimated useful lives, up to 25 years      
Server Equipment        
Organization And Summary Of Significant Accounting Policies [Line Items]        
Property and equipment, estimated useful lives, up to 6 years 4 years   6 years
Network Equipment        
Organization And Summary Of Significant Accounting Policies [Line Items]        
Property and equipment, estimated useful lives, up to 6 years 5 years   6 years