Quarterly report pursuant to Section 13 or 15(d)

Fair Value, Option, Quantitative Disclosures (Details)

v3.8.0.1
Fair Value, Option, Quantitative Disclosures (Details) - USD ($)
$ in Thousands
3 Months Ended 9 Months Ended
Sep. 30, 2017
Sep. 30, 2016
Sep. 30, 2017
Sep. 30, 2016
Fair Value, Option, Quantitative Disclosures [Line Items]        
Total included in net income $ 16,010 $ 18,312 $ 40,092 $ 60,050
Change in fair value due to credit risk (400) 145 (1,281) 209
Available-for-sale Securities [Member]        
Fair Value, Option, Quantitative Disclosures [Line Items]        
Total included in net income 2,474 (237) 3,559 (1,394)
Loans Held-for-Investment, Residential Mortgages [Member]        
Fair Value, Option, Quantitative Disclosures [Line Items]        
Total included in net income 44,535 58,123 137,888 164,502
Loans Held-for-Sale, Residential Mortgages [Member]        
Fair Value, Option, Quantitative Disclosures [Line Items]        
Total included in net income 834 7,208 3,529 36,817
Change in fair value due to credit risk (400) 145 (1,281) 209
Borrowings [Member]        
Fair Value, Option, Quantitative Disclosures [Line Items]        
Total included in net income (31,833) (46,782) (104,884) (139,875)
Interest Income [Member]        
Fair Value, Option, Quantitative Disclosures [Line Items]        
Total included in net income 4,091 14,451 13,935 49,457
Interest Income [Member] | Available-for-sale Securities [Member]        
Fair Value, Option, Quantitative Disclosures [Line Items]        
Total included in net income (2,283) (249) (5,565) (132)
Interest Income [Member] | Loans Held-for-Investment, Residential Mortgages [Member]        
Fair Value, Option, Quantitative Disclosures [Line Items]        
Total included in net income 29,865 33,495 92,319 100,765
Interest Income [Member] | Loans Held-for-Sale, Residential Mortgages [Member]        
Fair Value, Option, Quantitative Disclosures [Line Items]        
Total included in net income 479 7,627 1,380 19,789
Marketable Securities, Gain (Loss), Excluding Other than Temporary Impairments [Member]        
Fair Value, Option, Quantitative Disclosures [Line Items]        
Total included in net income 4,757 12 9,124 (1,262)
Marketable Securities, Gain (Loss), Excluding Other than Temporary Impairments [Member] | Available-for-sale Securities [Member]        
Fair Value, Option, Quantitative Disclosures [Line Items]        
Total included in net income 4,757 12 9,124 (1,262)
Marketable Securities, Gain (Loss), Excluding Other than Temporary Impairments [Member] | Loans Held-for-Investment, Residential Mortgages [Member]        
Fair Value, Option, Quantitative Disclosures [Line Items]        
Total included in net income 0 0 0 0
Marketable Securities, Gain (Loss), Excluding Other than Temporary Impairments [Member] | Loans Held-for-Sale, Residential Mortgages [Member]        
Fair Value, Option, Quantitative Disclosures [Line Items]        
Total included in net income 0 0 0 0
Marketable Securities, Gain (Loss), Excluding Other than Temporary Impairments [Member] | Borrowings [Member]        
Fair Value, Option, Quantitative Disclosures [Line Items]        
Total included in net income 0 0 0 0
Interest Expense [Member] | Borrowings [Member]        
Fair Value, Option, Quantitative Disclosures [Line Items]        
Total included in net income (23,970) (26,422) (74,199) (70,965)
Gain (Loss) on Residential Mortgage Loans Held-for-Sale [Member]        
Fair Value, Option, Quantitative Disclosures [Line Items]        
Total included in net income 355 (419) 2,149 17,028
Gain (Loss) on Residential Mortgage Loans Held-for-Sale [Member] | Available-for-sale Securities [Member]        
Fair Value, Option, Quantitative Disclosures [Line Items]        
Total included in net income 0 0 0 0
Gain (Loss) on Residential Mortgage Loans Held-for-Sale [Member] | Loans Held-for-Investment, Residential Mortgages [Member]        
Fair Value, Option, Quantitative Disclosures [Line Items]        
Total included in net income 0 0 0 0
Gain (Loss) on Residential Mortgage Loans Held-for-Sale [Member] | Loans Held-for-Sale, Residential Mortgages [Member]        
Fair Value, Option, Quantitative Disclosures [Line Items]        
Total included in net income 355 (419) 2,149 17,028
Gain (Loss) on Residential Mortgage Loans Held-for-Sale [Member] | Borrowings [Member]        
Fair Value, Option, Quantitative Disclosures [Line Items]        
Total included in net income 0 0 0 0
Other Income [Member]        
Fair Value, Option, Quantitative Disclosures [Line Items]        
Total included in net income 6,807 4,268 14,884 (5,173)
Other Income [Member] | Available-for-sale Securities [Member]        
Fair Value, Option, Quantitative Disclosures [Line Items]        
Total included in net income 0 0 0 0
Other Income [Member] | Loans Held-for-Investment, Residential Mortgages [Member]        
Fair Value, Option, Quantitative Disclosures [Line Items]        
Total included in net income 14,670 24,628 45,569 63,737
Other Income [Member] | Loans Held-for-Sale, Residential Mortgages [Member]        
Fair Value, Option, Quantitative Disclosures [Line Items]        
Total included in net income 0 0 0 0
Other Income [Member] | Borrowings [Member]        
Fair Value, Option, Quantitative Disclosures [Line Items]        
Total included in net income $ (7,863) $ (20,360) $ (30,685) $ (68,910)