v3.22.0.1
Cash and Cash Equivalents and Marketable Securities - Schedule of Cash and Cash Equivalents and Marketable Securities (Details) - USD ($)
$ in Millions
Dec. 31, 2021
Dec. 31, 2020
Dec. 31, 2019
Cash, Cash Equivalents and Marketable Securities      
Cash and cash equivalents $ 16,601 $ 17,576 $ 19,079
Marketable securities 31,397 44,378  
Total cash and cash equivalents and marketable securities 47,998 61,954  
U.S. government securities      
Cash, Cash Equivalents and Marketable Securities      
Marketable securities 10,901 20,921  
U.S. government agency securities      
Cash, Cash Equivalents and Marketable Securities      
Marketable securities 5,927 11,698  
Corporate debt securities      
Cash, Cash Equivalents and Marketable Securities      
Marketable securities 14,569 11,759  
Cash      
Cash, Cash Equivalents and Marketable Securities      
Cash and cash equivalents 7,308 6,488  
Money market funds      
Cash, Cash Equivalents and Marketable Securities      
Cash and cash equivalents 8,850 9,755  
U.S. government securities      
Cash, Cash Equivalents and Marketable Securities      
Cash and cash equivalents 25 1,016  
Certificates of deposit and time deposits      
Cash, Cash Equivalents and Marketable Securities      
Cash and cash equivalents 250 305  
Corporate debt securities      
Cash, Cash Equivalents and Marketable Securities      
Cash and cash equivalents 60 12  
U.S. government agency securities      
Cash, Cash Equivalents and Marketable Securities      
Cash and cash equivalents $ 108 $ 0