Annual report pursuant to Section 13 and 15(d)

Serviced Mortgage Assets (Details)

v3.8.0.1
Serviced Mortgage Assets (Details)
$ in Thousands
Dec. 31, 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 458,109 285,122
Unpaid Principal Balance | $ $ 103,999,702 $ 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 454,028 280,185
Unpaid Principal Balance | $ $ 101,344,054 $ 62,827,975
Loans in Securitization Trusts, 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 3,845 0
Unpaid Principal Balance | $ $ 2,618,016 $ 0
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 0 4,604
Unpaid Principal Balance | $ $ 0 $ 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 236 333
Unpaid Principal Balance | $ $ 37,632 $ 49,986