XML 91 R77.htm IDEA: XBRL DOCUMENT v3.22.4
Fair Value Disclosures - Schedule of Gain Loss on Sale of Mortgage Loans (Detail) - USD ($)
$ in Thousands
12 Months Ended
Dec. 31, 2022
Dec. 31, 2021
Dec. 31, 2020
Scheduleofgainlossonsaleofmortgageloans [Abstract]      
Realized gain on sale and fees on mortgage loans* [1] $ 20,357 $ 37,091 $ 39,378
Change in fair value on loans held-for-sale and IRLCs 1,554 (5,259) 5,900
Change in forward mortgage-backed securities trades 232 1,413 (1,406)
Total gain on sale of mortgage loans $ 19,035 $ 33,245 $ 43,872
[1]

* This includes gain on loans held-for-sale carried under the fair value method and lower of cost or market.