Quarterly report pursuant to Section 13 or 15(d)

Serviced Mortgage Assets (Details)

v3.8.0.1
Serviced Mortgage Assets (Details)
$ in Thousands
Sep. 30, 2017
USD ($)
loan
Dec. 31, 2016
USD ($)
loan
Assets that Continue to be Recognized, Securitized or Asset-backed Financing Arrangement Assets and any Other Financial Assets Managed Together [Line Items]    
Number of Loans | loan 403,113 285,122
Unpaid Principal Balance | $ $ 91,776,879 $ 66,112,005
Servicing Contracts [Member]    
Assets that Continue to be Recognized, Securitized or Asset-backed Financing Arrangement Assets and any Other Financial Assets Managed Together [Line Items]    
Number of Loans | loan 398,580 280,185
Unpaid Principal Balance | $ $ 88,789,765 $ 62,827,975
Loans Held-for-Investment, Residential Mortgages [Member]    
Assets that Continue to be Recognized, Securitized or Asset-backed Financing Arrangement Assets and any Other Financial Assets Managed Together [Line Items]    
Number of Loans | loan 4,288 4,604
Unpaid Principal Balance | $ $ 2,948,349 $ 3,234,044
Loans Held-for-Sale, Residential Mortgages [Member]    
Assets that Continue to be Recognized, Securitized or Asset-backed Financing Arrangement Assets and any Other Financial Assets Managed Together [Line Items]    
Number of Loans | loan 245 333
Unpaid Principal Balance | $ $ 38,765 $ 49,986