XML 134 R120.htm IDEA: XBRL DOCUMENT v3.22.2.2
Fair Value, Assets and Liabilities, Fair Value Option (Details) - Fair value option election [Member] - USD ($)
$ in Millions
3 Months Ended 9 Months Ended
Sep. 30, 2022
Sep. 30, 2021
Sep. 30, 2022
Sep. 30, 2021
Dec. 31, 2021
Fair Value, Option, Quantitative Disclosures [Line Items]          
Loans held for sale, carried at fair value $ 6,125   $ 6,125   $ 15,895
Loans held for sale, Aggregate unpaid principal 6,612   6,612   15,750
Loans held for sale, Fair ​value carrying amount less aggregate unpaid principal (487)   (487)   $ 145
Loans held for sale [Member]          
Fair Value Disclosures, Textual [Abstract]          
Fair value option, changes in fair value, gain (loss) $ (146) $ 495 $ (739) $ 1,700