XML 157 R138.htm IDEA: XBRL DOCUMENT v3.22.4
Mortgage Loan Servicing, Origination, and Loans Held for Sale - Mandatory cash forwards (Details) - USD ($)
$ in Thousands
12 Months Ended
Dec. 31, 2022
Dec. 31, 2021
Mortgage loan securitizations, mandatory cash forwards, and whole loan sales    
Loan sales $ 1,600,000 $ 3,100,000
Loan securitizations and loan sales $ 1,200,000 $ 2,400,000
Percentage of loan securitizations and loan sales 76.70% 76.80%
Loans held for sale $ 28,968 $ 191,723
Residential mortgage loans awaiting sale in secondary market | Minimum    
Mortgage loan securitizations, mandatory cash forwards, and whole loan sales    
Loans held for sale, settlement period 15 days  
Residential mortgage loans awaiting sale in secondary market | Maximum    
Mortgage loan securitizations, mandatory cash forwards, and whole loan sales    
Loans held for sale, settlement period 45 days