Quarterly report pursuant to Section 13 or 15(d)

Fair Value, Measurement Inputs, Disclosure (Details)

v3.7.0.1
Fair Value, Measurement Inputs, Disclosure (Details) - USD ($)
$ in Thousands
Jun. 30, 2017
Mar. 31, 2017
Dec. 31, 2016
Jun. 30, 2016
Mar. 31, 2016
Dec. 31, 2015
Fair Value, Assets and Liabilities Measured on Recurring and Nonrecurring Basis [Line Items]            
Available-for-sale Securities Categorized as Level 2 Assets 100.00%          
Assets Reported at Fair Value, Available-for-sale Securities 79.30%          
Mortgage Servicing Rights Categorized as Level 3 Assets 100.00%          
Mortgage Loans Held-for-investment Categorized as Level 2 Assets 100.00%          
Mortgage Loans Held-for-sale Categorized as Level 2 Assets 1.50%          
Mortgage Loans Held-for-sale Categorized as Level 3 Assets 98.50%          
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%          
Collateralized Borrowings in Securitization Trusts Categorized as Level 2 Liabilities 100.00%          
Mortgage servicing rights $ 898,025 $ 747,580 $ 693,815 $ 427,813 $ 446,170 $ 493,688
Derivative assets, at fair value 240,502   324,182      
Derivative liabilities, at fair value 2,580   12,501      
Fair Value, Measurements, Recurring [Member]            
Fair Value, Assets and Liabilities Measured on Recurring and Nonrecurring Basis [Line Items]            
Available-for-sale securities 16,427,710   13,128,857      
Mortgage servicing rights 898,025   693,815      
Residential mortgage loans held-for-investment in securitization trusts 3,120,410   3,271,317      
Residential mortgage loans held-for-sale 31,946   40,146      
Derivative assets, at fair value 240,502   324,182      
Total assets 20,718,593   17,458,317      
Collateralized borrowings in securitization trusts 2,880,301   3,037,196      
Derivative liabilities, at fair value 2,580   12,501      
Total liabilities 2,882,881   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   0      
Residential mortgage loans held-for-sale 0   0      
Derivative assets, at fair value 8,060   4,294      
Total assets 8,060   4,294      
Collateralized borrowings in securitization trusts 0   0      
Derivative liabilities, at fair value 463   10,344      
Total liabilities 463   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 16,427,710   13,128,857      
Mortgage servicing rights 0   0      
Residential mortgage loans held-for-investment in securitization trusts 3,120,410   3,271,317      
Residential mortgage loans held-for-sale 486   925      
Derivative assets, at fair value 232,442   319,888      
Total assets 19,781,048   16,720,987      
Collateralized borrowings in securitization trusts 2,880,301   3,037,196      
Derivative liabilities, at fair value 2,117   2,157      
Total liabilities 2,882,418   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 0   0      
Mortgage servicing rights 898,025   693,815      
Residential mortgage loans held-for-investment in securitization trusts 0   0      
Residential mortgage loans held-for-sale 31,460   39,221      
Derivative assets, at fair value 0   0      
Total assets 929,485   733,036      
Collateralized borrowings in securitization trusts 0   0      
Derivative liabilities, at fair value 0   0      
Total liabilities $ 0   $ 0