v3.22.0.1
Collateralized Agreements and Financings - Schedule of Repurchase Agreements and Securities Loaned (Detail) - USD ($)
$ in Millions
Dec. 31, 2021
Dec. 31, 2020
Offsetting Liabilities [Line Items]    
Repurchase agreements $ 294,905 $ 224,328
Securities loaned 57,931 $ 27,054
No Stated Maturity and Overnight [Member]    
Offsetting Liabilities [Line Items]    
Repurchase agreements 97,675  
Securities loaned 35,052  
2 - 30 Days [Member]    
Offsetting Liabilities [Line Items]    
Repurchase agreements 102,440  
Securities loaned 153  
31 - 90 Days [Member]    
Offsetting Liabilities [Line Items]    
Repurchase agreements 38,297  
Securities loaned 110  
91 Days - 1 Year [Member]    
Offsetting Liabilities [Line Items]    
Repurchase agreements 41,013  
Securities loaned 15,656  
Greater than 1 Year [Member]    
Offsetting Liabilities [Line Items]    
Repurchase agreements 15,480  
Securities loaned $ 6,960