v3.22.4
Summary of Significant Accounting Policies - Narrative (Details)
$ / shares in Units, $ in Millions
1 Months Ended 12 Months Ended
Jul. 15, 2022
Feb. 01, 2022
Jan. 31, 2023
Dec. 31, 2022
USD ($)
$ / shares
Dec. 31, 2021
USD ($)
$ / shares
Dec. 31, 2020
USD ($)
$ / shares
Organization And Summary Of Significant Accounting Policies [Line Items]            
Stock split conversion ratio 20 20        
Common stock and capital stock, par value (in dollars per share)       $ 0.001 $ 0.001  
Net income | $       $ 59,972 $ 76,033 $ 40,269
Basic net income per share of Class A, Class B, and Class C stock (in dollars per share)       $ 4.59 $ 5.69 $ 2.96
Diluted net income per share of Class A, Class B, and Class C stock (in dollars per share)       $ 4.56 $ 5.61 $ 2.93
Advertising and promotional expenses | $       $ 9,200 $ 7,900 $ 5,400
Allowance for credit losses on accounts receivable | $       754 550  
Impairment of goodwill | $       $ 0 $ 0 $ 0
Class A Capital Stock            
Organization And Summary Of Significant Accounting Policies [Line Items]            
Common stock and capital stock, par value (in dollars per share)       $ 0.001    
Capital Class B            
Organization And Summary Of Significant Accounting Policies [Line Items]            
Common stock and capital stock, par value (in dollars per share)       0.001    
Class C Capital Stock            
Organization And Summary Of Significant Accounting Policies [Line Items]            
Common stock and capital stock, par value (in dollars per share)       0.001    
Basic net income per share of Class A, Class B, and Class C stock (in dollars per share)       4.59 $ 5.69 $ 2.96
Diluted net income per share of Class A, Class B, and Class C stock (in dollars per share)       $ 4.56 $ 5.61 $ 2.93
Minimum            
Organization And Summary Of Significant Accounting Policies [Line Items]            
Intangible assets, estimated useful lives       1 year    
Maximum            
Organization And Summary Of Significant Accounting Policies [Line Items]            
Intangible assets, estimated useful lives       12 years    
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    
Information technology assets | Minimum            
Organization And Summary Of Significant Accounting Policies [Line Items]            
Property and equipment, estimated useful lives, up to       4 years    
Information technology assets | Maximum            
Organization And Summary Of Significant Accounting Policies [Line Items]            
Property and equipment, estimated useful lives, up to       5 years    
Server Equipment            
Organization And Summary Of Significant Accounting Policies [Line Items]            
Property and equipment, estimated useful lives, up to       4 years    
Server Equipment | Subsequent Event            
Organization And Summary Of Significant Accounting Policies [Line Items]            
Property and equipment, estimated useful lives, up to     6 years      
Network Equipment            
Organization And Summary Of Significant Accounting Policies [Line Items]            
Property and equipment, estimated useful lives, up to       5 years    
Network Equipment | Subsequent Event            
Organization And Summary Of Significant Accounting Policies [Line Items]            
Property and equipment, estimated useful lives, up to     6 years