Annual report pursuant to Section 13 and 15(d)

Fair Value, Option, Quantitative Disclosures (Details)

v3.8.0.1
Fair Value, Option, Quantitative Disclosures (Details) - USD ($)
$ in Thousands
12 Months Ended
Dec. 31, 2017
Dec. 31, 2016
Dec. 31, 2015
Fair Value, Option, Quantitative Disclosures [Line Items]      
Total included in net income $ 46,936 $ 64,826 $ 56,952
Change in fair value due to credit risk (1,120) 228 (6,365)
Available-for-sale Securities [Member]      
Fair Value, Option, Quantitative Disclosures [Line Items]      
Total included in net income (147) 1,624 56
Loans Held-for-Investment, Residential Mortgages [Member]      
Fair Value, Option, Quantitative Disclosures [Line Items]      
Total included in net income 148,161 114,252 43,300
Loans Held-for-Sale, Residential Mortgages [Member]      
Fair Value, Option, Quantitative Disclosures [Line Items]      
Total included in net income 4,087 38,772 44,898
Change in fair value due to credit risk (1,120) 228 (6,365)
Collateralized Borrowings [Member]      
Fair Value, Option, Quantitative Disclosures [Line Items]      
Total included in net income (105,165) (89,822) (31,302)
Interest Income [Member]      
Fair Value, Option, Quantitative Disclosures [Line Items]      
Total included in net income 17,955 59,020 67,614
Interest Income [Member] | Available-for-sale Securities [Member]      
Fair Value, Option, Quantitative Disclosures [Line Items]      
Total included in net income (4,062) (281) 124
Interest Income [Member] | Loans Held-for-Investment, Residential Mortgages [Member]      
Fair Value, Option, Quantitative Disclosures [Line Items]      
Total included in net income 102,886 133,993 95,740
Interest Income [Member] | Loans Held-for-Sale, Residential Mortgages [Member]      
Fair Value, Option, Quantitative Disclosures [Line Items]      
Total included in net income 1,704 23,037 28,966
Gain (Loss) on Investment Securities [Member]      
Fair Value, Option, Quantitative Disclosures [Line Items]      
Total included in net income 3,915 1,905 (68)
Gain (Loss) on Investment Securities [Member] | Available-for-sale Securities [Member]      
Fair Value, Option, Quantitative Disclosures [Line Items]      
Total included in net income 3,915 1,905 (68)
Gain (Loss) on Investment Securities [Member] | Loans Held-for-Investment, Residential Mortgages [Member]      
Fair Value, Option, Quantitative Disclosures [Line Items]      
Total included in net income 0 0 0
Gain (Loss) on Investment Securities [Member] | Loans Held-for-Sale, Residential Mortgages [Member]      
Fair Value, Option, Quantitative Disclosures [Line Items]      
Total included in net income 0 0 0
Gain (Loss) on Investment Securities [Member] | Collateralized Borrowings [Member]      
Fair Value, Option, Quantitative Disclosures [Line Items]      
Total included in net income 0 0 0
Interest Expense [Member] | Collateralized Borrowings [Member]      
Fair Value, Option, Quantitative Disclosures [Line Items]      
Total included in net income (82,573) (97,729) (57,216)
Gain (Loss) on Residential Mortgage Loans Held-for-Sale [Member]      
Fair Value, Option, Quantitative Disclosures [Line Items]      
Total included in net income 2,383 15,735 15,932
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
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
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 2,383 15,735 15,932
Gain (Loss) on Residential Mortgage Loans Held-for-Sale [Member] | Collateralized Borrowings [Member]      
Fair Value, Option, Quantitative Disclosures [Line Items]      
Total included in net income 0 0 0
Other Income (Loss) [Member]      
Fair Value, Option, Quantitative Disclosures [Line Items]      
Total included in net income 22,683 (11,834) (26,526)
Other Income (Loss) [Member] | Available-for-sale Securities [Member]      
Fair Value, Option, Quantitative Disclosures [Line Items]      
Total included in net income 0 0 0
Other Income (Loss) [Member] | Loans Held-for-Investment, Residential Mortgages [Member]      
Fair Value, Option, Quantitative Disclosures [Line Items]      
Total included in net income 45,275 (19,741) (52,440)
Other Income (Loss) [Member] | Loans Held-for-Sale, Residential Mortgages [Member]      
Fair Value, Option, Quantitative Disclosures [Line Items]      
Total included in net income 0 0 0
Other Income (Loss) [Member] | Collateralized Borrowings [Member]      
Fair Value, Option, Quantitative Disclosures [Line Items]      
Total included in net income $ (22,592) $ 7,907 $ 25,914