XML 159 R141.htm IDEA: XBRL DOCUMENT v3.22.0.1
Loan Servicing, Mortgage Origination, and Loans Held for Sale - Mandatory cash forwards (Details) - USD ($)
$ in Thousands
12 Months Ended
Dec. 31, 2021
Dec. 31, 2020
Mortgage loan securitizations, mandatory cash forwards, and whole loan sales    
Loan sales $ 3,100,000 $ 3,200,000
Loan securitizations and loan sales $ 2,400,000 $ 2,700,000
Percentage of loan securitizations and loan sales 76.80% 85.10%
Loans held for sale $ 191,723 $ 290,467
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