Annual report pursuant to Section 13 and 15(d)

Fair Value, Measurement Inputs, Disclosure (Details)

v3.22.0.1
Fair Value, Measurement Inputs, Disclosure (Details) - USD ($)
$ in Thousands
Dec. 31, 2021
Dec. 31, 2020
Dec. 31, 2019
Dec. 31, 2018
Fair Value, Assets and Liabilities Measured on Recurring and Nonrecurring Basis [Line Items]        
Debt Securities, Available-for-sale, Categorized as Level 2 Assets 99.80%      
Debt Securities, Available-for-sale, Categorized as Level 3 Assets 0.20%      
Assets Reported at Fair Value, Debt Securities, Available-for-sale 75.90%      
Mortgage Servicing Rights Categorized as Level 3 Assets 100.00%      
Over-the-Counter Derivatives Categorized as Level 2 Assets (Liabilities) 100.00%      
Other RMBS Classified as Derivatives Categorized as Level 2 Assets 100.00%      
Other Derivatives Categorized as Level 1 Assets (Liabilities) 100.00%      
Mortgage servicing rights $ 2,191,578 $ 1,596,153 $ 1,909,444 $ 1,993,440
Derivative assets, at fair value 80,134 95,937    
Derivative liabilities, at fair value 53,658 11,058    
Fair Value, Recurring [Member]        
Fair Value, Assets and Liabilities Measured on Recurring and Nonrecurring Basis [Line Items]        
Available-for-sale securities 7,161,703 14,650,922    
Mortgage servicing rights 2,191,578 1,596,153    
Derivative assets, at fair value 80,134 95,937    
Total assets 9,433,415 16,343,012    
Derivative liabilities, at fair value 53,658 11,058    
Total liabilities 53,658 11,058    
Fair Value, Recurring [Member] | Fair Value, Inputs, Level 1 [Member]        
Fair Value, Assets and Liabilities Measured on Recurring and Nonrecurring Basis [Line Items]        
Available-for-sale securities 0 0    
Mortgage servicing rights 0 0    
Derivative assets, at fair value 38,767 33,737    
Total assets 38,767 33,737    
Derivative liabilities, at fair value 1,915 10,462    
Total liabilities 1,915 10,462    
Fair Value, Recurring [Member] | Fair Value, Inputs, Level 2 [Member]        
Fair Value, Assets and Liabilities Measured on Recurring and Nonrecurring Basis [Line Items]        
Available-for-sale securities 7,149,399 14,637,891    
Mortgage servicing rights 0 0    
Derivative assets, at fair value 41,367 62,200    
Total assets 7,190,766 14,700,091    
Derivative liabilities, at fair value 51,743 596    
Total liabilities 51,743 596    
Fair Value, Recurring [Member] | Fair Value, Inputs, Level 3 [Member]        
Fair Value, Assets and Liabilities Measured on Recurring and Nonrecurring Basis [Line Items]        
Available-for-sale securities 12,304 13,031    
Mortgage servicing rights 2,191,578 1,596,153    
Derivative assets, at fair value 0 0    
Total assets 2,203,882 1,609,184    
Derivative liabilities, at fair value 0 0    
Total liabilities $ 0 $ 0