Annual report pursuant to Section 13 and 15(d)

Fair Value, Measurement Inputs, Disclosure (Details)

v3.19.3.a.u2
Fair Value, Measurement Inputs, Disclosure (Details) - USD ($)
$ in Thousands
Dec. 31, 2019
Dec. 31, 2018
Dec. 31, 2017
Dec. 31, 2016
Fair Value, Assets and Liabilities Measured on Recurring and Nonrecurring Basis [Line Items]        
Debt Securities, Available-for-sale, Categorized as Level 2 Assets 99.20%      
Debt Securities, Available-for-sale, Categorized as Level 3 Assets 0.80%      
Assets Reported at Fair Value, Debt Securities, Available-for-sale 93.70%      
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 $ 1,909,444 $ 1,993,440 $ 1,086,717 $ 693,815
Derivative assets, at fair value 188,051 319,981    
Derivative liabilities, at fair value 6,740 820,590    
Fair Value, Recurring [Member]        
Fair Value, Assets and Liabilities Measured on Recurring and Nonrecurring Basis [Line Items]        
Available-for-sale securities 31,406,328 25,552,604    
Mortgage servicing rights 1,909,444 1,993,440    
Derivative assets, at fair value 188,051 319,981    
Total assets 33,503,823 27,866,025    
Derivative liabilities, at fair value 6,740 820,590    
Total liabilities 6,740 820,590    
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 8,513 21,602    
Total assets 8,513 21,602    
Derivative liabilities, at fair value 6,711 0    
Total liabilities 6,711 0    
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 31,157,154 25,447,447    
Mortgage servicing rights 0 0    
Derivative assets, at fair value 179,538 298,379    
Total assets 31,336,692 25,745,826    
Derivative liabilities, at fair value 29 820,590    
Total liabilities 29 820,590    
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 249,174 105,157    
Mortgage servicing rights 1,909,444 1,993,440    
Derivative assets, at fair value 0 0    
Total assets 2,158,618 2,098,597    
Derivative liabilities, at fair value 0 0    
Total liabilities $ 0 $ 0