Annual report pursuant to Section 13 and 15(d)

Fair Value, Measurement Inputs, Disclosure (Details)

v3.8.0.1
Fair Value, Measurement Inputs, Disclosure (Details) - USD ($)
$ in Thousands
Dec. 31, 2017
Dec. 31, 2016
Dec. 31, 2015
Dec. 31, 2014
Fair Value, Assets and Liabilities Measured on Recurring and Nonrecurring Basis [Line Items]        
Available-for-sale Securities Categorized as Level 2 Assets 99.27834%      
Available-for-sale Securities Categorized as Level 3 Assets 0.70%      
Assets Reported at Fair Value, Available-for-sale Securities 93.60%      
Mortgage Servicing Rights Categorized as Level 3 Assets 100.00%      
Mortgage Loans Held-for-sale Categorized as Level 2 Assets 1.60%      
Mortgage Loans Held-for-sale Categorized as Level 3 Assets 98.40%      
Interest Rate Swaps, Swaptions and Credit Default Swaps Categorized as Level 2 Assets (Liabilities) 100.00%      
Inverse Interest-only Securities Categorized as Level 2 Assets 100.00%      
Agency To-be-Announced Securities Categorized as Level 1 Assets (Liabilities) 100.00%      
Mortgage servicing rights $ 1,086,717 $ 693,815 $ 493,688 $ 452,006
Derivative assets, at fair value 309,918 324,182    
Equity securities 29,413 0    
Derivative liabilities, at fair value 31,903 12,501    
Fair Value, Measurements, Recurring [Member]        
Fair Value, Assets and Liabilities Measured on Recurring and Nonrecurring Basis [Line Items]        
Available-for-sale securities 21,220,819 13,116,171    
Mortgage servicing rights 1,086,717 693,815    
Residential mortgage loans held-for-investment in securitization trusts   3,271,317    
Residential mortgage loans held-for-sale 30,414 40,146    
Derivative assets, at fair value 309,918 324,182    
Equity securities 29,413      
Total assets 22,677,281 17,445,631    
Collateralized borrowings in securitization trusts   3,037,196    
Derivative liabilities, at fair value 31,903 12,501    
Total liabilities 31,903 3,049,697    
Fair Value, Measurements, 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    
Residential mortgage loans held-for-investment in securitization trusts   0    
Residential mortgage loans held-for-sale 0 0    
Derivative assets, at fair value 913 4,294    
Equity securities 29,413      
Total assets 30,326 4,294    
Collateralized borrowings in securitization trusts   0    
Derivative liabilities, at fair value 1,930 10,344    
Total liabilities 1,930 10,344    
Fair Value, Measurements, 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 21,067,678 13,116,171    
Mortgage servicing rights 0 0    
Residential mortgage loans held-for-investment in securitization trusts   3,271,317    
Residential mortgage loans held-for-sale 474 925    
Derivative assets, at fair value 309,005 319,888    
Equity securities 0      
Total assets 21,377,157 16,708,301    
Collateralized borrowings in securitization trusts   3,037,196    
Derivative liabilities, at fair value 29,973 2,157    
Total liabilities 29,973 3,039,353    
Fair Value, Measurements, 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 153,141 0    
Mortgage servicing rights 1,086,717 693,815    
Residential mortgage loans held-for-investment in securitization trusts   0    
Residential mortgage loans held-for-sale 29,940 39,221    
Derivative assets, at fair value 0 0    
Equity securities 0      
Total assets 1,269,798 733,036    
Collateralized borrowings in securitization trusts   0    
Derivative liabilities, at fair value 0 0    
Total liabilities $ 0 $ 0