Quarterly report pursuant to Section 13 or 15(d)

Fair Value, Measurement Inputs, Disclosure (Details)

v3.8.0.1
Fair Value, Measurement Inputs, Disclosure (Details) - USD ($)
$ in Thousands
Sep. 30, 2017
Jun. 30, 2017
Dec. 31, 2016
Sep. 30, 2016
Jun. 30, 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 99.43917%          
Available-for-sale Securities Categorized as Level 3 Assets 0.60%          
Assets Reported at Fair Value, Available-for-sale Securities 82.70%          
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 $ 930,613 $ 898,025 $ 693,815 $ 455,629 $ 427,813 $ 493,688
Derivative assets, at fair value 238,305   324,182      
Derivative liabilities, at fair value 11,312   12,501      
Fair Value, Measurements, Recurring [Member]            
Fair Value, Assets and Liabilities Measured on Recurring and Nonrecurring Basis [Line Items]            
Available-for-sale securities 20,199,094   13,128,857      
Mortgage servicing rights 930,613   693,815      
Residential mortgage loans held-for-investment in securitization trusts 3,031,191   3,271,317      
Residential mortgage loans held-for-sale 31,197   40,146      
Derivative assets, at fair value 238,305   324,182      
Total assets 24,430,400   17,458,317      
Collateralized borrowings in securitization trusts 2,785,413   3,037,196      
Derivative liabilities, at fair value 11,312   12,501      
Total liabilities 2,796,725   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 5,703   4,294      
Total assets 5,703   4,294      
Collateralized borrowings in securitization trusts 0   0      
Derivative liabilities, at fair value 0   10,344      
Total liabilities 0   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 20,085,812   13,128,857      
Mortgage servicing rights 0   0      
Residential mortgage loans held-for-investment in securitization trusts 3,031,191   3,271,317      
Residential mortgage loans held-for-sale 470   925      
Derivative assets, at fair value 232,602   319,888      
Total assets 23,350,075   16,720,987      
Collateralized borrowings in securitization trusts 2,785,413   3,037,196      
Derivative liabilities, at fair value 11,312   2,157      
Total liabilities 2,796,725   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 113,282   0      
Mortgage servicing rights 930,613   693,815      
Residential mortgage loans held-for-investment in securitization trusts 0   0      
Residential mortgage loans held-for-sale 30,727   39,221      
Derivative assets, at fair value 0   0      
Total assets 1,074,622   733,036      
Collateralized borrowings in securitization trusts 0   0      
Derivative liabilities, at fair value 0   0      
Total liabilities $ 0   $ 0