{
 "instance": {
  "nymt-09302019x10q.htm": {
   "axisCustom": 1,
   "axisStandard": 45,
   "contextCount": 785,
   "dts": {
    "calculationLink": {
     "local": [
      "nymt-20190930_cal.xml"
     ]
    },
    "definitionLink": {
     "local": [
      "nymt-20190930_def.xml"
     ],
     "remote": [
      "http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-eedm-def-2019-01-31.xml",
      "http://xbrl.fasb.org/srt/2019/elts/srt-eedm1-def-2019-01-31.xml"
     ]
    },
    "inline": {
     "local": [
      "nymt-09302019x10q.htm"
     ]
    },
    "labelLink": {
     "local": [
      "nymt-20190930_lab.xml"
     ],
     "remote": [
      "http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-doc-2019-01-31.xml",
      "https://xbrl.sec.gov/dei/2019/dei-doc-2019-01-31.xml",
      "http://xbrl.fasb.org/srt/2019/elts/srt-doc-2019-01-31.xml"
     ]
    },
    "presentationLink": {
     "local": [
      "nymt-20190930_pre.xml"
     ]
    },
    "referenceLink": {
     "remote": [
      "http://xbrl.fasb.org/srt/2019/elts/srt-ref-2019-01-31.xml",
      "https://xbrl.sec.gov/dei/2019/dei-ref-2019-01-31.xml",
      "http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-ref-2019-01-31.xml"
     ]
    },
    "schema": {
     "local": [
      "nymt-20190930.xsd"
     ],
     "remote": [
      "http://xbrl.fasb.org/srt/2019/elts/srt-types-2019-01-31.xsd",
      "http://www.xbrl.org/2003/xbrl-instance-2003-12-31.xsd",
      "http://www.xbrl.org/2003/xbrl-linkbase-2003-12-31.xsd",
      "http://www.xbrl.org/2003/xl-2003-12-31.xsd",
      "http://www.xbrl.org/2003/xlink-2003-12-31.xsd",
      "http://www.xbrl.org/dtr/type/numeric-2009-12-16.xsd",
      "http://www.xbrl.org/dtr/type/nonNumeric-2009-12-16.xsd",
      "http://www.xbrl.org/2006/ref-2006-02-27.xsd",
      "http://xbrl.fasb.org/srt/2019/elts/srt-2019-01-31.xsd",
      "http://www.xbrl.org/2005/xbrldt-2005.xsd",
      "http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd",
      "http://xbrl.fasb.org/us-gaap/2019/elts/us-roles-2019-01-31.xsd",
      "http://xbrl.fasb.org/srt/2019/elts/srt-roles-2019-01-31.xsd",
      "https://xbrl.sec.gov/country/2017/country-2017-01-31.xsd",
      "http://xbrl.fasb.org/us-gaap/2019/elts/us-types-2019-01-31.xsd",
      "http://www.xbrl.org/lrr/arcrole/factExplanatory-2009-12-16.xsd",
      "http://www.xbrl.org/lrr/role/negated-2009-12-16.xsd",
      "http://www.xbrl.org/lrr/role/net-2009-12-16.xsd",
      "https://xbrl.sec.gov/currency/2019/currency-2019-01-31.xsd",
      "https://xbrl.sec.gov/dei/2019/dei-2019-01-31.xsd",
      "https://xbrl.sec.gov/exch/2019/exch-2019-01-31.xsd",
      "http://xbrl.sec.gov/invest/2013/invest-2013-01-31.xsd",
      "http://xbrl.sec.gov/naics/2017/naics-2017-01-31.xsd",
      "http://xbrl.sec.gov/sic/2011/sic-2011-01-31.xsd",
      "https://xbrl.sec.gov/stpr/2018/stpr-2018-01-31.xsd",
      "http://www.xbrl.org/lrr/role/reference-2009-12-16.xsd",
      "http://xbrl.fasb.org/us-gaap/2019/elts/us-parts-codification-2019-01-31.xsd",
      "http://www.xbrl.org/lrr/role/deprecated-2009-12-16.xsd"
     ]
    }
   },
   "elementCount": 812,
   "entityCount": 1,
   "hidden": {
    "http://fasb.org/us-gaap/2019-01-31": 55,
    "http://nymtrust.com/20190930": 7,
    "http://xbrl.sec.gov/dei/2019-01-31": 5,
    "total": 67
   },
   "keyCustom": 70,
   "keyStandard": 441,
   "memberCustom": 91,
   "memberStandard": 71,
   "nsprefix": "nymt",
   "nsuri": "http://nymtrust.com/20190930",
   "report": {
    "R1": {
     "firstAnchor": {
      "ancestors": [
       "span",
       "div",
       "body",
       "html"
      ],
      "baseRef": "nymt-09302019x10q.htm",
      "contextRef": "FD2019Q3YTD",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "dei:DocumentType",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     },
     "groupType": "document",
     "isDefault": "true",
     "longName": "0001000 - Document - Cover",
     "role": "http://nymtrust.com/role/Cover",
     "shortName": "Cover",
     "subGroupType": "",
     "uniqueAnchor": {
      "ancestors": [
       "span",
       "div",
       "body",
       "html"
      ],
      "baseRef": "nymt-09302019x10q.htm",
      "contextRef": "FD2019Q3YTD",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "dei:DocumentType",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     }
    },
    "R10": {
     "firstAnchor": {
      "ancestors": [
       "td",
       "tr",
       "table",
       "body",
       "html"
      ],
      "baseRef": "nymt-09302019x10q.htm",
      "contextRef": "FD2019Q3YTD",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:InvestmentsInDebtAndMarketableEquitySecuritiesAndCertainTradingAssetsDisclosureTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "2103100 - Disclosure - Investment Securities Available for Sale",
     "role": "http://nymtrust.com/role/InvestmentSecuritiesAvailableForSale",
     "shortName": "Investment Securities Available for Sale",
     "subGroupType": "",
     "uniqueAnchor": {
      "ancestors": [
       "td",
       "tr",
       "table",
       "body",
       "html"
      ],
      "baseRef": "nymt-09302019x10q.htm",
      "contextRef": "FD2019Q3YTD",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:InvestmentsInDebtAndMarketableEquitySecuritiesAndCertainTradingAssetsDisclosureTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     }
    },
    "R100": {
     "firstAnchor": {
      "ancestors": [
       "span",
       "span",
       "div",
       "td",
       "tr",
       "table",
       "div",
       "div",
       "us-gaap:NonvestedRestrictedStockSharesActivityTableTextBlock",
       "ix:continuation",
       "body",
       "html"
      ],
      "baseRef": "nymt-09302019x10q.htm",
      "contextRef": "FD2018Q3YTD",
      "decimals": "INF",
      "first": true,
      "lang": null,
      "name": "us-gaap:ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsForfeitedInPeriod",
      "reportCount": 1,
      "unitRef": "shares",
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "2419402 - Disclosure - Stock Based Compensation - Narrative (Details)",
     "role": "http://nymtrust.com/role/StockBasedCompensationNarrativeDetails",
     "shortName": "Stock Based Compensation - Narrative (Details)",
     "subGroupType": "details",
     "uniqueAnchor": {
      "ancestors": [
       "span",
       "span",
       "div",
       "ix:continuation",
       "body",
       "html"
      ],
      "baseRef": "nymt-09302019x10q.htm",
      "contextRef": "D2019Q2Jun1-Jun30_us-gaap_PlanNameAxis_nymt_A2017PlanMember",
      "decimals": "INF",
      "lang": null,
      "name": "us-gaap:ShareBasedCompensationArrangementByShareBasedPaymentAwardNumberOfAdditionalSharesAuthorized",
      "reportCount": 1,
      "unique": true,
      "unitRef": "shares",
      "xsiNil": "false"
     }
    },
    "R101": {
     "firstAnchor": {
      "ancestors": [
       "span",
       "span",
       "div",
       "td",
       "tr",
       "table",
       "div",
       "div",
       "us-gaap:NonvestedRestrictedStockSharesActivityTableTextBlock",
       "ix:continuation",
       "body",
       "html"
      ],
      "baseRef": "nymt-09302019x10q.htm",
      "contextRef": "FD2018Q3YTD",
      "decimals": "INF",
      "first": true,
      "lang": null,
      "name": "us-gaap:ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsForfeitedInPeriod",
      "reportCount": 1,
      "unitRef": "shares",
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "2419403 - Disclosure - Stock Based Compensation - Non-vested Restricted Stock and PSU Award Activity (Details)",
     "role": "http://nymtrust.com/role/StockBasedCompensationNonVestedRestrictedStockAndPsuAwardActivityDetails",
     "shortName": "Stock Based Compensation - Non-vested Restricted Stock and PSU Award Activity (Details)",
     "subGroupType": "details",
     "uniqueAnchor": {
      "ancestors": [
       "span",
       "span",
       "div",
       "td",
       "tr",
       "table",
       "div",
       "div",
       "us-gaap:NonvestedRestrictedStockSharesActivityTableTextBlock",
       "ix:continuation",
       "body",
       "html"
      ],
      "baseRef": "nymt-09302019x10q.htm",
      "contextRef": "FD2019Q3YTD_us-gaap_AwardTypeAxis_us-gaap_RestrictedStockMember",
      "decimals": "INF",
      "lang": null,
      "name": "us-gaap:ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsGrantsInPeriod",
      "reportCount": 1,
      "unique": true,
      "unitRef": "shares",
      "xsiNil": "false"
     }
    },
    "R102": {
     "firstAnchor": {
      "ancestors": [
       "span",
       "span",
       "div",
       "td",
       "tr",
       "table",
       "div",
       "div",
       "us-gaap:ScheduleOfComponentsOfIncomeTaxExpenseBenefitTableTextBlock",
       "ix:continuation",
       "body",
       "html"
      ],
      "baseRef": "nymt-09302019x10q.htm",
      "contextRef": "FD2019Q3QTD",
      "decimals": "-3",
      "first": true,
      "lang": null,
      "name": "us-gaap:CurrentIncomeTaxExpenseBenefit",
      "reportCount": 1,
      "unique": true,
      "unitRef": "usd",
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "2420402 - Disclosure - Income Taxes - Income Tax Provision (Details)",
     "role": "http://nymtrust.com/role/IncomeTaxesIncomeTaxProvisionDetails",
     "shortName": "Income Taxes - Income Tax Provision (Details)",
     "subGroupType": "details",
     "uniqueAnchor": {
      "ancestors": [
       "span",
       "span",
       "div",
       "td",
       "tr",
       "table",
       "div",
       "div",
       "us-gaap:ScheduleOfComponentsOfIncomeTaxExpenseBenefitTableTextBlock",
       "ix:continuation",
       "body",
       "html"
      ],
      "baseRef": "nymt-09302019x10q.htm",
      "contextRef": "FD2019Q3QTD",
      "decimals": "-3",
      "first": true,
      "lang": null,
      "name": "us-gaap:CurrentIncomeTaxExpenseBenefit",
      "reportCount": 1,
      "unique": true,
      "unitRef": "usd",
      "xsiNil": "false"
     }
    },
    "R103": {
     "firstAnchor": {
      "ancestors": [
       "span",
       "span",
       "div",
       "td",
       "tr",
       "table",
       "div",
       "div",
       "us-gaap:ScheduleOfDeferredTaxAssetsAndLiabilitiesTableTextBlock",
       "ix:continuation",
       "body",
       "html"
      ],
      "baseRef": "nymt-09302019x10q.htm",
      "contextRef": "FI2019Q3",
      "decimals": "-3",
      "first": true,
      "lang": null,
      "name": "us-gaap:DeferredTaxAssetsOperatingLossCarryforwards",
      "reportCount": 1,
      "unique": true,
      "unitRef": "usd",
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "2420403 - Disclosure - Income Taxes - Deferred Tax Asset (Details)",
     "role": "http://nymtrust.com/role/IncomeTaxesDeferredTaxAssetDetails",
     "shortName": "Income Taxes - Deferred Tax Asset (Details)",
     "subGroupType": "details",
     "uniqueAnchor": {
      "ancestors": [
       "span",
       "span",
       "div",
       "td",
       "tr",
       "table",
       "div",
       "div",
       "us-gaap:ScheduleOfDeferredTaxAssetsAndLiabilitiesTableTextBlock",
       "ix:continuation",
       "body",
       "html"
      ],
      "baseRef": "nymt-09302019x10q.htm",
      "contextRef": "FI2019Q3",
      "decimals": "-3",
      "first": true,
      "lang": null,
      "name": "us-gaap:DeferredTaxAssetsOperatingLossCarryforwards",
      "reportCount": 1,
      "unique": true,
      "unitRef": "usd",
      "xsiNil": "false"
     }
    },
    "R104": {
     "firstAnchor": {
      "ancestors": [
       "span",
       "span",
       "div",
       "ix:continuation",
       "body",
       "html"
      ],
      "baseRef": "nymt-09302019x10q.htm",
      "contextRef": "FI2019Q3_dei_LegalEntityAxis_nymt_TaxableREITSubsidiariesMember",
      "decimals": "-5",
      "first": true,
      "lang": null,
      "name": "us-gaap:OperatingLossCarryforwards",
      "reportCount": 1,
      "unique": true,
      "unitRef": "usd",
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "2420404 - Disclosure - Income Taxes - Narrative (Details)",
     "role": "http://nymtrust.com/role/IncomeTaxesNarrativeDetails",
     "shortName": "Income Taxes - Narrative (Details)",
     "subGroupType": "details",
     "uniqueAnchor": {
      "ancestors": [
       "span",
       "span",
       "div",
       "ix:continuation",
       "body",
       "html"
      ],
      "baseRef": "nymt-09302019x10q.htm",
      "contextRef": "FI2019Q3_dei_LegalEntityAxis_nymt_TaxableREITSubsidiariesMember",
      "decimals": "-5",
      "first": true,
      "lang": null,
      "name": "us-gaap:OperatingLossCarryforwards",
      "reportCount": 1,
      "unique": true,
      "unitRef": "usd",
      "xsiNil": "false"
     }
    },
    "R105": {
     "firstAnchor": {
      "ancestors": [
       "span",
       "span",
       "div",
       "ix:continuation",
       "body",
       "html"
      ],
      "baseRef": "nymt-09302019x10q.htm",
      "contextRef": "FI2019Q3",
      "decimals": "INF",
      "first": true,
      "lang": null,
      "name": "nymt:CommonAndPreferredStockSharesAuthorized",
      "reportCount": 1,
      "unique": true,
      "unitRef": "shares",
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "2421401 - Disclosure - Subsequent Events (Details)",
     "role": "http://nymtrust.com/role/SubsequentEventsDetails",
     "shortName": "Subsequent Events (Details)",
     "subGroupType": "details",
     "uniqueAnchor": {
      "ancestors": [
       "span",
       "span",
       "div",
       "ix:continuation",
       "body",
       "html"
      ],
      "baseRef": "nymt-09302019x10q.htm",
      "contextRef": "FI2019Q3",
      "decimals": "INF",
      "first": true,
      "lang": null,
      "name": "nymt:CommonAndPreferredStockSharesAuthorized",
      "reportCount": 1,
      "unique": true,
      "unitRef": "shares",
      "xsiNil": "false"
     }
    },
    "R11": {
     "firstAnchor": {
      "ancestors": [
       "td",
       "tr",
       "table",
       "body",
       "html"
      ],
      "baseRef": "nymt-09302019x10q.htm",
      "contextRef": "FD2019Q3YTD",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "nymt:ResidentialMortgageLoansatFairValueTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "2104100 - Disclosure - Distressed and Other Residential Mortgage Loans, At Fair Value",
     "role": "http://nymtrust.com/role/DistressedAndOtherResidentialMortgageLoansAtFairValue",
     "shortName": "Distressed and Other Residential Mortgage Loans, At Fair Value",
     "subGroupType": "",
     "uniqueAnchor": {
      "ancestors": [
       "td",
       "tr",
       "table",
       "body",
       "html"
      ],
      "baseRef": "nymt-09302019x10q.htm",
      "contextRef": "FD2019Q3YTD",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "nymt:ResidentialMortgageLoansatFairValueTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     }
    },
    "R12": {
     "firstAnchor": {
      "ancestors": [
       "td",
       "tr",
       "table",
       "body",
       "html"
      ],
      "baseRef": "nymt-09302019x10q.htm",
      "contextRef": "FD2019Q3YTD",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "srt:MortgageLoansOnRealEstateByLoanDisclosureTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "2105100 - Disclosure - Distressed and Other Residential Mortgage Loans, Net",
     "role": "http://nymtrust.com/role/DistressedAndOtherResidentialMortgageLoansNet",
     "shortName": "Distressed and Other Residential Mortgage Loans, Net",
     "subGroupType": "",
     "uniqueAnchor": {
      "ancestors": [
       "td",
       "tr",
       "table",
       "body",
       "html"
      ],
      "baseRef": "nymt-09302019x10q.htm",
      "contextRef": "FD2019Q3YTD",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "srt:MortgageLoansOnRealEstateByLoanDisclosureTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     }
    },
    "R13": {
     "firstAnchor": {
      "ancestors": [
       "td",
       "tr",
       "table",
       "body",
       "html"
      ],
      "baseRef": "nymt-09302019x10q.htm",
      "contextRef": "FD2019Q3YTD",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:FinancialInstrumentsDisclosureTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "2106100 - Disclosure - Consolidated K-Series",
     "role": "http://nymtrust.com/role/ConsolidatedKSeries",
     "shortName": "Consolidated K-Series",
     "subGroupType": "",
     "uniqueAnchor": {
      "ancestors": [
       "td",
       "tr",
       "table",
       "body",
       "html"
      ],
      "baseRef": "nymt-09302019x10q.htm",
      "contextRef": "FD2019Q3YTD",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:FinancialInstrumentsDisclosureTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     }
    },
    "R14": {
     "firstAnchor": {
      "ancestors": [
       "td",
       "tr",
       "table",
       "body",
       "html"
      ],
      "baseRef": "nymt-09302019x10q.htm",
      "contextRef": "FD2019Q3YTD",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:EquityMethodInvestmentsDisclosureTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "2107100 - Disclosure - Investments in Unconsolidated Entities",
     "role": "http://nymtrust.com/role/InvestmentsInUnconsolidatedEntities",
     "shortName": "Investments in Unconsolidated Entities",
     "subGroupType": "",
     "uniqueAnchor": {
      "ancestors": [
       "td",
       "tr",
       "table",
       "body",
       "html"
      ],
      "baseRef": "nymt-09302019x10q.htm",
      "contextRef": "FD2019Q3YTD",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:EquityMethodInvestmentsDisclosureTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     }
    },
    "R15": {
     "firstAnchor": {
      "ancestors": [
       "td",
       "tr",
       "table",
       "body",
       "html"
      ],
      "baseRef": "nymt-09302019x10q.htm",
      "contextRef": "FD2019Q3YTD",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:VariableInterestEntityDisclosureTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "2108100 - Disclosure - Preferred Equity and Mezzanine Loan Investments",
     "role": "http://nymtrust.com/role/PreferredEquityAndMezzanineLoanInvestments",
     "shortName": "Preferred Equity and Mezzanine Loan Investments",
     "subGroupType": "",
     "uniqueAnchor": {
      "ancestors": [
       "td",
       "tr",
       "table",
       "body",
       "html"
      ],
      "baseRef": "nymt-09302019x10q.htm",
      "contextRef": "FD2019Q3YTD",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:VariableInterestEntityDisclosureTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     }
    },
    "R16": {
     "firstAnchor": {
      "ancestors": [
       "td",
       "tr",
       "table",
       "body",
       "html"
      ],
      "baseRef": "nymt-09302019x10q.htm",
      "contextRef": "FD2019Q3YTD",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "nymt:UseOfSpecialPurposeEntitiesAndVariableInterestEntitiesTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "2109100 - Disclosure - Use of Special Purpose Entities (SPE) and Variable Interest Entities (VIE)",
     "role": "http://nymtrust.com/role/UseOfSpecialPurposeEntitiesSpeAndVariableInterestEntitiesVie",
     "shortName": "Use of Special Purpose Entities (SPE) and Variable Interest Entities (VIE)",
     "subGroupType": "",
     "uniqueAnchor": {
      "ancestors": [
       "td",
       "tr",
       "table",
       "body",
       "html"
      ],
      "baseRef": "nymt-09302019x10q.htm",
      "contextRef": "FD2019Q3YTD",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "nymt:UseOfSpecialPurposeEntitiesAndVariableInterestEntitiesTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     }
    },
    "R17": {
     "firstAnchor": {
      "ancestors": [
       "td",
       "tr",
       "table",
       "body",
       "html"
      ],
      "baseRef": "nymt-09302019x10q.htm",
      "contextRef": "FD2019Q3YTD",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:RealEstateDisclosureTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "2110100 - Disclosure - Real Estate Held for Sale in Consolidated VIEs",
     "role": "http://nymtrust.com/role/RealEstateHeldForSaleInConsolidatedVies",
     "shortName": "Real Estate Held for Sale in Consolidated VIEs",
     "subGroupType": "",
     "uniqueAnchor": {
      "ancestors": [
       "td",
       "tr",
       "table",
       "body",
       "html"
      ],
      "baseRef": "nymt-09302019x10q.htm",
      "contextRef": "FD2019Q3YTD",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:RealEstateDisclosureTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     }
    },
    "R18": {
     "firstAnchor": {
      "ancestors": [
       "td",
       "tr",
       "table",
       "body",
       "html"
      ],
      "baseRef": "nymt-09302019x10q.htm",
      "contextRef": "FD2019Q3YTD",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:DerivativeInstrumentsAndHedgingActivitiesDisclosureTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "2111100 - Disclosure - Derivative Instruments and Hedging Activities",
     "role": "http://nymtrust.com/role/DerivativeInstrumentsAndHedgingActivities",
     "shortName": "Derivative Instruments and Hedging Activities",
     "subGroupType": "",
     "uniqueAnchor": {
      "ancestors": [
       "td",
       "tr",
       "table",
       "body",
       "html"
      ],
      "baseRef": "nymt-09302019x10q.htm",
      "contextRef": "FD2019Q3YTD",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:DerivativeInstrumentsAndHedgingActivitiesDisclosureTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     }
    },
    "R19": {
     "firstAnchor": {
      "ancestors": [
       "td",
       "tr",
       "table",
       "body",
       "html"
      ],
      "baseRef": "nymt-09302019x10q.htm",
      "contextRef": "FD2019Q3YTD",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:RepurchaseAgreementsResaleAgreementsSecuritiesBorrowedAndSecuritiesLoanedDisclosureTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "2112100 - Disclosure - Repurchase Agreements",
     "role": "http://nymtrust.com/role/RepurchaseAgreements",
     "shortName": "Repurchase Agreements",
     "subGroupType": "",
     "uniqueAnchor": {
      "ancestors": [
       "td",
       "tr",
       "table",
       "body",
       "html"
      ],
      "baseRef": "nymt-09302019x10q.htm",
      "contextRef": "FD2019Q3YTD",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:RepurchaseAgreementsResaleAgreementsSecuritiesBorrowedAndSecuritiesLoanedDisclosureTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     }
    },
    "R2": {
     "firstAnchor": {
      "ancestors": [
       "span",
       "span",
       "div",
       "td",
       "tr",
       "table",
       "div",
       "div",
       "ix:continuation",
       "ix:continuation",
       "body",
       "html"
      ],
      "baseRef": "nymt-09302019x10q.htm",
      "contextRef": "FI2019Q3",
      "decimals": "-3",
      "first": true,
      "lang": null,
      "name": "us-gaap:AvailableForSaleSecuritiesDebtSecurities",
      "reportCount": 1,
      "unitRef": "usd",
      "xsiNil": "false"
     },
     "groupType": "statement",
     "isDefault": "false",
     "longName": "1001000 - Statement - CONDENSED CONSOLIDATED BALANCE SHEETS",
     "role": "http://nymtrust.com/role/CondensedConsolidatedBalanceSheets",
     "shortName": "CONDENSED CONSOLIDATED BALANCE SHEETS",
     "subGroupType": "",
     "uniqueAnchor": {
      "ancestors": [
       "span",
       "span",
       "div",
       "td",
       "tr",
       "table",
       "div",
       "div",
       "body",
       "html"
      ],
      "baseRef": "nymt-09302019x10q.htm",
      "contextRef": "FI2019Q3",
      "decimals": "-3",
      "lang": null,
      "name": "us-gaap:InvestmentsInAffiliatesSubsidiariesAssociatesAndJointVentures",
      "reportCount": 1,
      "unique": true,
      "unitRef": "usd",
      "xsiNil": "false"
     }
    },
    "R20": {
     "firstAnchor": {
      "ancestors": [
       "td",
       "tr",
       "table",
       "body",
       "html"
      ],
      "baseRef": "nymt-09302019x10q.htm",
      "contextRef": "FD2019Q3YTD",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:DebtDisclosureTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "2114100 - Disclosure - Debt",
     "role": "http://nymtrust.com/role/Debt",
     "shortName": "Debt",
     "subGroupType": "",
     "uniqueAnchor": {
      "ancestors": [
       "td",
       "tr",
       "table",
       "body",
       "html"
      ],
      "baseRef": "nymt-09302019x10q.htm",
      "contextRef": "FD2019Q3YTD",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:DebtDisclosureTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     }
    },
    "R21": {
     "firstAnchor": {
      "ancestors": [
       "td",
       "tr",
       "table",
       "body",
       "html"
      ],
      "baseRef": "nymt-09302019x10q.htm",
      "contextRef": "FD2019Q3YTD",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:CommitmentsAndContingenciesDisclosureTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "2115100 - Disclosure - Commitments and Contingencies",
     "role": "http://nymtrust.com/role/CommitmentsAndContingencies",
     "shortName": "Commitments and Contingencies",
     "subGroupType": "",
     "uniqueAnchor": {
      "ancestors": [
       "td",
       "tr",
       "table",
       "body",
       "html"
      ],
      "baseRef": "nymt-09302019x10q.htm",
      "contextRef": "FD2019Q3YTD",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:CommitmentsAndContingenciesDisclosureTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     }
    },
    "R22": {
     "firstAnchor": {
      "ancestors": [
       "td",
       "tr",
       "table",
       "body",
       "html"
      ],
      "baseRef": "nymt-09302019x10q.htm",
      "contextRef": "FD2019Q3YTD",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:FairValueDisclosuresTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "2116100 - Disclosure - Fair Value of Financial Instruments",
     "role": "http://nymtrust.com/role/FairValueOfFinancialInstruments",
     "shortName": "Fair Value of Financial Instruments",
     "subGroupType": "",
     "uniqueAnchor": {
      "ancestors": [
       "td",
       "tr",
       "table",
       "body",
       "html"
      ],
      "baseRef": "nymt-09302019x10q.htm",
      "contextRef": "FD2019Q3YTD",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:FairValueDisclosuresTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     }
    },
    "R23": {
     "firstAnchor": {
      "ancestors": [
       "td",
       "tr",
       "table",
       "body",
       "html"
      ],
      "baseRef": "nymt-09302019x10q.htm",
      "contextRef": "FD2019Q3YTD",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:StockholdersEquityNoteDisclosureTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "2117100 - Disclosure - Stockholders' Equity",
     "role": "http://nymtrust.com/role/StockholdersEquity",
     "shortName": "Stockholders' Equity",
     "subGroupType": "",
     "uniqueAnchor": {
      "ancestors": [
       "td",
       "tr",
       "table",
       "body",
       "html"
      ],
      "baseRef": "nymt-09302019x10q.htm",
      "contextRef": "FD2019Q3YTD",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:StockholdersEquityNoteDisclosureTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     }
    },
    "R24": {
     "firstAnchor": {
      "ancestors": [
       "td",
       "tr",
       "table",
       "body",
       "html"
      ],
      "baseRef": "nymt-09302019x10q.htm",
      "contextRef": "FD2019Q3YTD",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:EarningsPerShareTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "2118100 - Disclosure - Earnings Per Share",
     "role": "http://nymtrust.com/role/EarningsPerShare",
     "shortName": "Earnings Per Share",
     "subGroupType": "",
     "uniqueAnchor": {
      "ancestors": [
       "td",
       "tr",
       "table",
       "body",
       "html"
      ],
      "baseRef": "nymt-09302019x10q.htm",
      "contextRef": "FD2019Q3YTD",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:EarningsPerShareTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     }
    },
    "R25": {
     "firstAnchor": {
      "ancestors": [
       "td",
       "tr",
       "table",
       "body",
       "html"
      ],
      "baseRef": "nymt-09302019x10q.htm",
      "contextRef": "FD2019Q3YTD",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:DisclosureOfCompensationRelatedCostsShareBasedPaymentsTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "2119100 - Disclosure - Stock Based Compensation",
     "role": "http://nymtrust.com/role/StockBasedCompensation",
     "shortName": "Stock Based Compensation",
     "subGroupType": "",
     "uniqueAnchor": {
      "ancestors": [
       "td",
       "tr",
       "table",
       "body",
       "html"
      ],
      "baseRef": "nymt-09302019x10q.htm",
      "contextRef": "FD2019Q3YTD",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:DisclosureOfCompensationRelatedCostsShareBasedPaymentsTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     }
    },
    "R26": {
     "firstAnchor": {
      "ancestors": [
       "td",
       "tr",
       "table",
       "body",
       "html"
      ],
      "baseRef": "nymt-09302019x10q.htm",
      "contextRef": "FD2019Q3YTD",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:IncomeTaxDisclosureTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "2120100 - Disclosure - Income Taxes",
     "role": "http://nymtrust.com/role/IncomeTaxes",
     "shortName": "Income Taxes",
     "subGroupType": "",
     "uniqueAnchor": {
      "ancestors": [
       "td",
       "tr",
       "table",
       "body",
       "html"
      ],
      "baseRef": "nymt-09302019x10q.htm",
      "contextRef": "FD2019Q3YTD",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:IncomeTaxDisclosureTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     }
    },
    "R27": {
     "firstAnchor": {
      "ancestors": [
       "td",
       "tr",
       "table",
       "body",
       "html"
      ],
      "baseRef": "nymt-09302019x10q.htm",
      "contextRef": "FD2019Q3YTD",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:SubsequentEventsTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "2121100 - Disclosure - Subsequent Events",
     "role": "http://nymtrust.com/role/SubsequentEvents",
     "shortName": "Subsequent Events",
     "subGroupType": "",
     "uniqueAnchor": {
      "ancestors": [
       "td",
       "tr",
       "table",
       "body",
       "html"
      ],
      "baseRef": "nymt-09302019x10q.htm",
      "contextRef": "FD2019Q3YTD",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:SubsequentEventsTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     }
    },
    "R28": {
     "firstAnchor": {
      "ancestors": [
       "ix:continuation",
       "body",
       "html"
      ],
      "baseRef": "nymt-09302019x10q.htm",
      "contextRef": "FD2019Q3YTD",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:BasisOfAccountingPolicyPolicyTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "2202201 - Disclosure - Summary of Significant Accounting Policies (Policies)",
     "role": "http://nymtrust.com/role/SummaryOfSignificantAccountingPoliciesPolicies",
     "shortName": "Summary of Significant Accounting Policies (Policies)",
     "subGroupType": "policies",
     "uniqueAnchor": {
      "ancestors": [
       "ix:continuation",
       "body",
       "html"
      ],
      "baseRef": "nymt-09302019x10q.htm",
      "contextRef": "FD2019Q3YTD",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:BasisOfAccountingPolicyPolicyTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     }
    },
    "R29": {
     "firstAnchor": {
      "ancestors": [
       "ix:continuation",
       "body",
       "html"
      ],
      "baseRef": "nymt-09302019x10q.htm",
      "contextRef": "FD2019Q3YTD",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:ScheduleOfAvailableForSaleSecuritiesReconciliationTableTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "2303301 - Disclosure - Investment Securities Available for Sale (Tables)",
     "role": "http://nymtrust.com/role/InvestmentSecuritiesAvailableForSaleTables",
     "shortName": "Investment Securities Available for Sale (Tables)",
     "subGroupType": "tables",
     "uniqueAnchor": {
      "ancestors": [
       "ix:continuation",
       "body",
       "html"
      ],
      "baseRef": "nymt-09302019x10q.htm",
      "contextRef": "FD2019Q3YTD",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:ScheduleOfAvailableForSaleSecuritiesReconciliationTableTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     }
    },
    "R3": {
     "firstAnchor": {
      "ancestors": [
       "span",
       "span",
       "div",
       "ix:continuation",
       "body",
       "html"
      ],
      "baseRef": "nymt-09302019x10q.htm",
      "contextRef": "FI2019Q3",
      "decimals": "2",
      "first": true,
      "lang": null,
      "name": "us-gaap:PreferredStockParOrStatedValuePerShare",
      "reportCount": 1,
      "unitRef": "usdPerShare",
      "xsiNil": "false"
     },
     "groupType": "statement",
     "isDefault": "false",
     "longName": "1001501 - Statement - CONDENSED CONSOLIDATED BALANCE SHEETS (Parenthetical)",
     "role": "http://nymtrust.com/role/CondensedConsolidatedBalanceSheetsParenthetical",
     "shortName": "CONDENSED CONSOLIDATED BALANCE SHEETS (Parenthetical)",
     "subGroupType": "parenthetical",
     "uniqueAnchor": null
    },
    "R30": {
     "firstAnchor": {
      "ancestors": [
       "ix:continuation",
       "body",
       "html"
      ],
      "baseRef": "nymt-09302019x10q.htm",
      "contextRef": "FD2019Q3YTD",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "nymt:ResidentialMortgageLoansAtFairValueTableTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "2304301 - Disclosure - Distressed and Other Residential Mortgage Loans, At Fair Value (Tables)",
     "role": "http://nymtrust.com/role/DistressedAndOtherResidentialMortgageLoansAtFairValueTables",
     "shortName": "Distressed and Other Residential Mortgage Loans, At Fair Value (Tables)",
     "subGroupType": "tables",
     "uniqueAnchor": {
      "ancestors": [
       "ix:continuation",
       "body",
       "html"
      ],
      "baseRef": "nymt-09302019x10q.htm",
      "contextRef": "FD2019Q3YTD",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "nymt:ResidentialMortgageLoansAtFairValueTableTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     }
    },
    "R31": {
     "firstAnchor": {
      "ancestors": [
       "ix:continuation",
       "body",
       "html"
      ],
      "baseRef": "nymt-09302019x10q.htm",
      "contextRef": "FD2019Q3YTD",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "nymt:ScheduleOfDistressedResidentialMortgageLoansActivityTableTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "2305301 - Disclosure - Distressed and Other Residential Mortgage Loans, Net (Tables)",
     "role": "http://nymtrust.com/role/DistressedAndOtherResidentialMortgageLoansNetTables",
     "shortName": "Distressed and Other Residential Mortgage Loans, Net (Tables)",
     "subGroupType": "tables",
     "uniqueAnchor": {
      "ancestors": [
       "ix:continuation",
       "body",
       "html"
      ],
      "baseRef": "nymt-09302019x10q.htm",
      "contextRef": "FD2019Q3YTD",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "nymt:ScheduleOfDistressedResidentialMortgageLoansActivityTableTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     }
    },
    "R32": {
     "firstAnchor": {
      "ancestors": [
       "ix:continuation",
       "body",
       "html"
      ],
      "baseRef": "nymt-09302019x10q.htm",
      "contextRef": "FD2019Q3YTD",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "srt:ScheduleOfCondensedBalanceSheetTableTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "2306301 - Disclosure - Consolidated K-Series (Tables)",
     "role": "http://nymtrust.com/role/ConsolidatedKSeriesTables",
     "shortName": "Consolidated K-Series (Tables)",
     "subGroupType": "tables",
     "uniqueAnchor": {
      "ancestors": [
       "ix:continuation",
       "body",
       "html"
      ],
      "baseRef": "nymt-09302019x10q.htm",
      "contextRef": "FD2019Q3YTD",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "srt:ScheduleOfCondensedBalanceSheetTableTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     }
    },
    "R33": {
     "firstAnchor": {
      "ancestors": [
       "body",
       "html"
      ],
      "baseRef": "nymt-09302019x10q.htm",
      "contextRef": "FD2019Q3YTD",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:EquityMethodInvestmentsTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "2307301 - Disclosure - Investments in Unconsolidated Entities (Tables)",
     "role": "http://nymtrust.com/role/InvestmentsInUnconsolidatedEntitiesTables",
     "shortName": "Investments in Unconsolidated Entities (Tables)",
     "subGroupType": "tables",
     "uniqueAnchor": {
      "ancestors": [
       "body",
       "html"
      ],
      "baseRef": "nymt-09302019x10q.htm",
      "contextRef": "FD2019Q3YTD",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:EquityMethodInvestmentsTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     }
    },
    "R34": {
     "firstAnchor": {
      "ancestors": [
       "ix:continuation",
       "body",
       "html"
      ],
      "baseRef": "nymt-09302019x10q.htm",
      "contextRef": "FD2019Q3YTD",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:ScheduleOfVariableInterestEntitiesTextBlock",
      "reportCount": 1,
      "unitRef": null,
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "2308301 - Disclosure - Preferred Equity and Mezzanine Loan Investments (Tables)",
     "role": "http://nymtrust.com/role/PreferredEquityAndMezzanineLoanInvestmentsTables",
     "shortName": "Preferred Equity and Mezzanine Loan Investments (Tables)",
     "subGroupType": "tables",
     "uniqueAnchor": null
    },
    "R35": {
     "firstAnchor": {
      "ancestors": [
       "ix:continuation",
       "body",
       "html"
      ],
      "baseRef": "nymt-09302019x10q.htm",
      "contextRef": "FD2019Q3YTD",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:FairValueByBalanceSheetGroupingTextBlock",
      "reportCount": 1,
      "unitRef": null,
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "2309301 - Disclosure - Use of Special Purpose Entities (SPE) and Variable Interest Entities (VIE) (Tables)",
     "role": "http://nymtrust.com/role/UseOfSpecialPurposeEntitiesSpeAndVariableInterestEntitiesVieTables",
     "shortName": "Use of Special Purpose Entities (SPE) and Variable Interest Entities (VIE) (Tables)",
     "subGroupType": "tables",
     "uniqueAnchor": {
      "ancestors": [
       "ix:continuation",
       "body",
       "html"
      ],
      "baseRef": "nymt-09302019x10q.htm",
      "contextRef": "FD2019Q3YTD",
      "decimals": null,
      "lang": "en-US",
      "name": "nymt:ScheduleOfClassificationAndCarryingValueOfUnconsolidatedVIEsTableTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     }
    },
    "R36": {
     "firstAnchor": {
      "ancestors": [
       "span",
       "div",
       "ix:continuation",
       "body",
       "html"
      ],
      "baseRef": "nymt-09302019x10q.htm",
      "contextRef": "FD2019Q3YTD",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:ScheduleOfRealEstatePropertiesTableTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "2310301 - Disclosure - Real Estate Held for Sale in Consolidated VIEs (Tables)",
     "role": "http://nymtrust.com/role/RealEstateHeldForSaleInConsolidatedViesTables",
     "shortName": "Real Estate Held for Sale in Consolidated VIEs (Tables)",
     "subGroupType": "tables",
     "uniqueAnchor": {
      "ancestors": [
       "span",
       "div",
       "ix:continuation",
       "body",
       "html"
      ],
      "baseRef": "nymt-09302019x10q.htm",
      "contextRef": "FD2019Q3YTD",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:ScheduleOfRealEstatePropertiesTableTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     }
    },
    "R37": {
     "firstAnchor": {
      "ancestors": [
       "ix:continuation",
       "body",
       "html"
      ],
      "baseRef": "nymt-09302019x10q.htm",
      "contextRef": "FD2019Q3YTD",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:ScheduleOfDerivativeInstrumentsTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "2311301 - Disclosure - Derivative Instruments and Hedging Activities (Tables)",
     "role": "http://nymtrust.com/role/DerivativeInstrumentsAndHedgingActivitiesTables",
     "shortName": "Derivative Instruments and Hedging Activities (Tables)",
     "subGroupType": "tables",
     "uniqueAnchor": {
      "ancestors": [
       "ix:continuation",
       "body",
       "html"
      ],
      "baseRef": "nymt-09302019x10q.htm",
      "contextRef": "FD2019Q3YTD",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:ScheduleOfDerivativeInstrumentsTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     }
    },
    "R38": {
     "firstAnchor": {
      "ancestors": [
       "ix:continuation",
       "body",
       "html"
      ],
      "baseRef": "nymt-09302019x10q.htm",
      "contextRef": "FD2019Q3YTD",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:ScheduleOfFinancialInstrumentsOwnedAndPledgedAsCollateralTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "2312301 - Disclosure - Repurchase Agreements (Tables)",
     "role": "http://nymtrust.com/role/RepurchaseAgreementsTables",
     "shortName": "Repurchase Agreements (Tables)",
     "subGroupType": "tables",
     "uniqueAnchor": {
      "ancestors": [
       "ix:continuation",
       "body",
       "html"
      ],
      "baseRef": "nymt-09302019x10q.htm",
      "contextRef": "FD2019Q3YTD",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:ScheduleOfFinancialInstrumentsOwnedAndPledgedAsCollateralTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     }
    },
    "R39": {
     "firstAnchor": {
      "ancestors": [
       "span",
       "div",
       "ix:continuation",
       "body",
       "html"
      ],
      "baseRef": "nymt-09302019x10q.htm",
      "contextRef": "FD2019Q3YTD",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:ScheduleOfSubordinatedBorrowingTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "2314301 - Disclosure - Debt (Tables)",
     "role": "http://nymtrust.com/role/DebtTables",
     "shortName": "Debt (Tables)",
     "subGroupType": "tables",
     "uniqueAnchor": {
      "ancestors": [
       "span",
       "div",
       "ix:continuation",
       "body",
       "html"
      ],
      "baseRef": "nymt-09302019x10q.htm",
      "contextRef": "FD2019Q3YTD",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:ScheduleOfSubordinatedBorrowingTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     }
    },
    "R4": {
     "firstAnchor": {
      "ancestors": [
       "span",
       "span",
       "div",
       "td",
       "tr",
       "table",
       "div",
       "div",
       "body",
       "html"
      ],
      "baseRef": "nymt-09302019x10q.htm",
      "contextRef": "FD2019Q3QTD",
      "decimals": "-3",
      "first": true,
      "lang": null,
      "name": "us-gaap:InterestAndDividendIncomeSecurities",
      "reportCount": 1,
      "unique": true,
      "unitRef": "usd",
      "xsiNil": "false"
     },
     "groupType": "statement",
     "isDefault": "false",
     "longName": "1002000 - Statement - CONDENSED CONSOLIDATED STATEMENTS OF OPERATIONS",
     "role": "http://nymtrust.com/role/CondensedConsolidatedStatementsOfOperations",
     "shortName": "CONDENSED CONSOLIDATED STATEMENTS OF OPERATIONS",
     "subGroupType": "",
     "uniqueAnchor": {
      "ancestors": [
       "span",
       "span",
       "div",
       "td",
       "tr",
       "table",
       "div",
       "div",
       "body",
       "html"
      ],
      "baseRef": "nymt-09302019x10q.htm",
      "contextRef": "FD2019Q3QTD",
      "decimals": "-3",
      "first": true,
      "lang": null,
      "name": "us-gaap:InterestAndDividendIncomeSecurities",
      "reportCount": 1,
      "unique": true,
      "unitRef": "usd",
      "xsiNil": "false"
     }
    },
    "R40": {
     "firstAnchor": {
      "ancestors": [
       "ix:continuation",
       "body",
       "html"
      ],
      "baseRef": "nymt-09302019x10q.htm",
      "contextRef": "FD2019Q3YTD",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:ScheduleOfFairValueAssetsAndLiabilitiesMeasuredOnRecurringBasisTableTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "2316301 - Disclosure - Fair Value of Financial Instruments (Tables)",
     "role": "http://nymtrust.com/role/FairValueOfFinancialInstrumentsTables",
     "shortName": "Fair Value of Financial Instruments (Tables)",
     "subGroupType": "tables",
     "uniqueAnchor": {
      "ancestors": [
       "ix:continuation",
       "body",
       "html"
      ],
      "baseRef": "nymt-09302019x10q.htm",
      "contextRef": "FD2019Q3YTD",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:ScheduleOfFairValueAssetsAndLiabilitiesMeasuredOnRecurringBasisTableTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     }
    },
    "R41": {
     "firstAnchor": {
      "ancestors": [
       "ix:continuation",
       "body",
       "html"
      ],
      "baseRef": "nymt-09302019x10q.htm",
      "contextRef": "FD2019Q3YTD",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:ScheduleOfDividendsPayableTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "2317301 - Disclosure - Stockholders' Equity (Tables)",
     "role": "http://nymtrust.com/role/StockholdersEquityTables",
     "shortName": "Stockholders' Equity (Tables)",
     "subGroupType": "tables",
     "uniqueAnchor": {
      "ancestors": [
       "ix:continuation",
       "body",
       "html"
      ],
      "baseRef": "nymt-09302019x10q.htm",
      "contextRef": "FD2019Q3YTD",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:ScheduleOfDividendsPayableTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     }
    },
    "R42": {
     "firstAnchor": {
      "ancestors": [
       "ix:continuation",
       "body",
       "html"
      ],
      "baseRef": "nymt-09302019x10q.htm",
      "contextRef": "FD2019Q3YTD",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:ScheduleOfEarningsPerShareBasicAndDilutedTableTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "2318301 - Disclosure - Earnings Per Share (Tables)",
     "role": "http://nymtrust.com/role/EarningsPerShareTables",
     "shortName": "Earnings Per Share (Tables)",
     "subGroupType": "tables",
     "uniqueAnchor": {
      "ancestors": [
       "ix:continuation",
       "body",
       "html"
      ],
      "baseRef": "nymt-09302019x10q.htm",
      "contextRef": "FD2019Q3YTD",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:ScheduleOfEarningsPerShareBasicAndDilutedTableTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     }
    },
    "R43": {
     "firstAnchor": {
      "ancestors": [
       "ix:continuation",
       "body",
       "html"
      ],
      "baseRef": "nymt-09302019x10q.htm",
      "contextRef": "FD2019Q3YTD",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:NonvestedRestrictedStockSharesActivityTableTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "2319301 - Disclosure - Stock Based Compensation (Tables)",
     "role": "http://nymtrust.com/role/StockBasedCompensationTables",
     "shortName": "Stock Based Compensation (Tables)",
     "subGroupType": "tables",
     "uniqueAnchor": {
      "ancestors": [
       "ix:continuation",
       "body",
       "html"
      ],
      "baseRef": "nymt-09302019x10q.htm",
      "contextRef": "FD2019Q3YTD",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:NonvestedRestrictedStockSharesActivityTableTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     }
    },
    "R44": {
     "firstAnchor": {
      "ancestors": [
       "ix:continuation",
       "body",
       "html"
      ],
      "baseRef": "nymt-09302019x10q.htm",
      "contextRef": "FD2019Q3YTD",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:ScheduleOfComponentsOfIncomeTaxExpenseBenefitTableTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "2320301 - Disclosure - Income Taxes (Tables)",
     "role": "http://nymtrust.com/role/IncomeTaxesTables",
     "shortName": "Income Taxes (Tables)",
     "subGroupType": "tables",
     "uniqueAnchor": {
      "ancestors": [
       "ix:continuation",
       "body",
       "html"
      ],
      "baseRef": "nymt-09302019x10q.htm",
      "contextRef": "FD2019Q3YTD",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:ScheduleOfComponentsOfIncomeTaxExpenseBenefitTableTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     }
    },
    "R45": {
     "firstAnchor": {
      "ancestors": [
       "span",
       "span",
       "div",
       "us-gaap:NewAccountingPronouncementsPolicyPolicyTextBlock",
       "ix:continuation",
       "body",
       "html"
      ],
      "baseRef": "nymt-09302019x10q.htm",
      "contextRef": "I2019Q1Jan1_us-gaap_AdjustmentsForNewAccountingPronouncementsAxis_us-gaap_AccountingStandardsUpdate201602Member",
      "decimals": "-5",
      "first": true,
      "lang": null,
      "name": "us-gaap:OperatingLeaseRightOfUseAsset",
      "reportCount": 1,
      "unique": true,
      "unitRef": "usd",
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "2402402 - Disclosure - Summary of Significant Accounting Policies - Adoption of Accounting Standards Codification Topic 842 Leases (Details)",
     "role": "http://nymtrust.com/role/SummaryOfSignificantAccountingPoliciesAdoptionOfAccountingStandardsCodificationTopic842LeasesDetails",
     "shortName": "Summary of Significant Accounting Policies - Adoption of Accounting Standards Codification Topic 842 Leases (Details)",
     "subGroupType": "details",
     "uniqueAnchor": {
      "ancestors": [
       "span",
       "span",
       "div",
       "us-gaap:NewAccountingPronouncementsPolicyPolicyTextBlock",
       "ix:continuation",
       "body",
       "html"
      ],
      "baseRef": "nymt-09302019x10q.htm",
      "contextRef": "I2019Q1Jan1_us-gaap_AdjustmentsForNewAccountingPronouncementsAxis_us-gaap_AccountingStandardsUpdate201602Member",
      "decimals": "-5",
      "first": true,
      "lang": null,
      "name": "us-gaap:OperatingLeaseRightOfUseAsset",
      "reportCount": 1,
      "unique": true,
      "unitRef": "usd",
      "xsiNil": "false"
     }
    },
    "R46": {
     "firstAnchor": {
      "ancestors": [
       "span",
       "span",
       "div",
       "td",
       "tr",
       "table",
       "div",
       "div",
       "us-gaap:ScheduleOfAvailableForSaleSecuritiesReconciliationTableTextBlock",
       "ix:continuation",
       "body",
       "html"
      ],
      "baseRef": "nymt-09302019x10q.htm",
      "contextRef": "FI2019Q3",
      "decimals": "-3",
      "first": true,
      "lang": null,
      "name": "us-gaap:AvailableForSaleDebtSecuritiesAmortizedCostBasis",
      "reportCount": 1,
      "unique": true,
      "unitRef": "usd",
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "2403402 - Disclosure - Investment Securities Available for Sale - Schedule of Available for Sale Securities (Details)",
     "role": "http://nymtrust.com/role/InvestmentSecuritiesAvailableForSaleScheduleOfAvailableForSaleSecuritiesDetails",
     "shortName": "Investment Securities Available for Sale - Schedule of Available for Sale Securities (Details)",
     "subGroupType": "details",
     "uniqueAnchor": {
      "ancestors": [
       "span",
       "span",
       "div",
       "td",
       "tr",
       "table",
       "div",
       "div",
       "us-gaap:ScheduleOfAvailableForSaleSecuritiesReconciliationTableTextBlock",
       "ix:continuation",
       "body",
       "html"
      ],
      "baseRef": "nymt-09302019x10q.htm",
      "contextRef": "FI2019Q3",
      "decimals": "-3",
      "first": true,
      "lang": null,
      "name": "us-gaap:AvailableForSaleDebtSecuritiesAmortizedCostBasis",
      "reportCount": 1,
      "unique": true,
      "unitRef": "usd",
      "xsiNil": "false"
     }
    },
    "R47": {
     "firstAnchor": {
      "ancestors": [
       "span",
       "span",
       "div",
       "ix:continuation",
       "body",
       "html"
      ],
      "baseRef": "nymt-09302019x10q.htm",
      "contextRef": "FD2019Q3QTD",
      "decimals": "-5",
      "first": true,
      "lang": null,
      "name": "us-gaap:ProceedsFromSaleOfAvailableForSaleSecuritiesDebt",
      "reportCount": 1,
      "unique": true,
      "unitRef": "usd",
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "2403403 - Disclosure - Investment Securities Available for Sale - Narrative (Details)",
     "role": "http://nymtrust.com/role/InvestmentSecuritiesAvailableForSaleNarrativeDetails",
     "shortName": "Investment Securities Available for Sale - Narrative (Details)",
     "subGroupType": "details",
     "uniqueAnchor": {
      "ancestors": [
       "span",
       "span",
       "div",
       "ix:continuation",
       "body",
       "html"
      ],
      "baseRef": "nymt-09302019x10q.htm",
      "contextRef": "FD2019Q3QTD",
      "decimals": "-5",
      "first": true,
      "lang": null,
      "name": "us-gaap:ProceedsFromSaleOfAvailableForSaleSecuritiesDebt",
      "reportCount": 1,
      "unique": true,
      "unitRef": "usd",
      "xsiNil": "false"
     }
    },
    "R48": {
     "firstAnchor": {
      "ancestors": [
       "span",
       "span",
       "div",
       "td",
       "tr",
       "table",
       "div",
       "div",
       "us-gaap:DebtSecuritiesAvailableForSaleTableTextBlock",
       "ix:continuation",
       "body",
       "html"
      ],
      "baseRef": "nymt-09302019x10q.htm",
      "contextRef": "FI2019Q3",
      "decimals": "-3",
      "first": true,
      "lang": null,
      "name": "nymt:AvailableForSaleSecuritiesDebtMaturitiesThroughYearFiveFairValue",
      "reportCount": 1,
      "unique": true,
      "unitRef": "usd",
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "2403404 - Disclosure - Investment Securities Available for Sale - Weighted Average Lives for Available-for-Sale Securities (Details)",
     "role": "http://nymtrust.com/role/InvestmentSecuritiesAvailableForSaleWeightedAverageLivesForAvailableForSaleSecuritiesDetails",
     "shortName": "Investment Securities Available for Sale - Weighted Average Lives for Available-for-Sale Securities (Details)",
     "subGroupType": "details",
     "uniqueAnchor": {
      "ancestors": [
       "span",
       "span",
       "div",
       "td",
       "tr",
       "table",
       "div",
       "div",
       "us-gaap:DebtSecuritiesAvailableForSaleTableTextBlock",
       "ix:continuation",
       "body",
       "html"
      ],
      "baseRef": "nymt-09302019x10q.htm",
      "contextRef": "FI2019Q3",
      "decimals": "-3",
      "first": true,
      "lang": null,
      "name": "nymt:AvailableForSaleSecuritiesDebtMaturitiesThroughYearFiveFairValue",
      "reportCount": 1,
      "unique": true,
      "unitRef": "usd",
      "xsiNil": "false"
     }
    },
    "R49": {
     "firstAnchor": {
      "ancestors": [
       "span",
       "span",
       "div",
       "td",
       "tr",
       "table",
       "div",
       "div",
       "ix:continuation",
       "ix:continuation",
       "body",
       "html"
      ],
      "baseRef": "nymt-09302019x10q.htm",
      "contextRef": "FI2019Q3",
      "decimals": "-3",
      "first": true,
      "lang": null,
      "name": "us-gaap:DebtSecuritiesAvailableForSaleContinuousUnrealizedLossPositionLessThan12Months",
      "reportCount": 1,
      "unique": true,
      "unitRef": "usd",
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "2403405 - Disclosure - Investment Securities Available for Sale - Schedule of Investment Securities Available for Sale in Unrealized Loss Position (Details)",
     "role": "http://nymtrust.com/role/InvestmentSecuritiesAvailableForSaleScheduleOfInvestmentSecuritiesAvailableForSaleInUnrealizedLossPositionDetails",
     "shortName": "Investment Securities Available for Sale - Schedule of Investment Securities Available for Sale in Unrealized Loss Position (Details)",
     "subGroupType": "details",
     "uniqueAnchor": {
      "ancestors": [
       "span",
       "span",
       "div",
       "td",
       "tr",
       "table",
       "div",
       "div",
       "ix:continuation",
       "ix:continuation",
       "body",
       "html"
      ],
      "baseRef": "nymt-09302019x10q.htm",
      "contextRef": "FI2019Q3",
      "decimals": "-3",
      "first": true,
      "lang": null,
      "name": "us-gaap:DebtSecuritiesAvailableForSaleContinuousUnrealizedLossPositionLessThan12Months",
      "reportCount": 1,
      "unique": true,
      "unitRef": "usd",
      "xsiNil": "false"
     }
    },
    "R5": {
     "firstAnchor": {
      "ancestors": [
       "span",
       "span",
       "div",
       "td",
       "tr",
       "table",
       "div",
       "div",
       "us-gaap:ScheduleOfEarningsPerShareBasicAndDilutedTableTextBlock",
       "ix:continuation",
       "body",
       "html"
      ],
      "baseRef": "nymt-09302019x10q.htm",
      "contextRef": "FD2019Q3QTD",
      "decimals": "-3",
      "first": true,
      "lang": null,
      "name": "us-gaap:NetIncomeLossAvailableToCommonStockholdersBasic",
      "reportCount": 1,
      "unitRef": "usd",
      "xsiNil": "false"
     },
     "groupType": "statement",
     "isDefault": "false",
     "longName": "1003000 - Statement - CONDENSED CONSOLIDATED STATEMENTS OF COMPREHENSIVE INCOME",
     "role": "http://nymtrust.com/role/CondensedConsolidatedStatementsOfComprehensiveIncome",
     "shortName": "CONDENSED CONSOLIDATED STATEMENTS OF COMPREHENSIVE INCOME",
     "subGroupType": "",
     "uniqueAnchor": {
      "ancestors": [
       "span",
       "span",
       "div",
       "td",
       "tr",
       "table",
       "div",
       "div",
       "body",
       "html"
      ],
      "baseRef": "nymt-09302019x10q.htm",
      "contextRef": "FD2019Q3QTD",
      "decimals": "-3",
      "lang": null,
      "name": "us-gaap:OtherComprehensiveIncomeLossNetOfTax",
      "reportCount": 1,
      "unique": true,
      "unitRef": "usd",
      "xsiNil": "false"
     }
    },
    "R50": {
     "firstAnchor": {
      "ancestors": [
       "span",
       "span",
       "div",
       "td",
       "tr",
       "table",
       "div",
       "div",
       "nymt:ResidentialMortgageLoansAtFairValueTableTextBlock",
       "ix:continuation",
       "body",
       "html"
      ],
      "baseRef": "nymt-09302019x10q.htm",
      "contextRef": "FI2019Q3_srt_MortgageLoansOnRealEstateDescriptionLoanCategoryAxis_nymt_FirstAndSecondMortgageMember",
      "decimals": "-3",
      "first": true,
      "lang": null,
      "name": "srt:MortgageLoansOnRealEstateFaceAmountOfMortgages",
      "reportCount": 1,
      "unique": true,
      "unitRef": "usd",
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "2404402 - Disclosure - Distressed and Other Residential Mortgage Loans, At Fair Value - Residential Mortgage Loans at Fair Value (Details)",
     "role": "http://nymtrust.com/role/DistressedAndOtherResidentialMortgageLoansAtFairValueResidentialMortgageLoansAtFairValueDetails",
     "shortName": "Distressed and Other Residential Mortgage Loans, At Fair Value - Residential Mortgage Loans at Fair Value (Details)",
     "subGroupType": "details",
     "uniqueAnchor": {
      "ancestors": [
       "span",
       "span",
       "div",
       "td",
       "tr",
       "table",
       "div",
       "div",
       "nymt:ResidentialMortgageLoansAtFairValueTableTextBlock",
       "ix:continuation",
       "body",
       "html"
      ],
      "baseRef": "nymt-09302019x10q.htm",
      "contextRef": "FI2019Q3_srt_MortgageLoansOnRealEstateDescriptionLoanCategoryAxis_nymt_FirstAndSecondMortgageMember",
      "decimals": "-3",
      "first": true,
      "lang": null,
      "name": "srt:MortgageLoansOnRealEstateFaceAmountOfMortgages",
      "reportCount": 1,
      "unique": true,
      "unitRef": "usd",
      "xsiNil": "false"
     }
    },
    "R51": {
     "firstAnchor": {
      "ancestors": [
       "span",
       "span",
       "div",
       "td",
       "tr",
       "table",
       "div",
       "div",
       "nymt:ComponentsOfNetGainOnResidentialMortgageLoansAtFairValueTableTextBlock",
       "ix:continuation",
       "body",
       "html"
      ],
      "baseRef": "nymt-09302019x10q.htm",
      "contextRef": "FD2019Q3QTD",
      "decimals": "-3",
      "first": true,
      "lang": null,
      "name": "nymt:NetRealizedGainLossOnPayoffAndSaleOfMortgageLoans",
      "reportCount": 1,
      "unique": true,
      "unitRef": "usd",
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "2404403 - Disclosure - Distressed and Other Residential Mortgage Loans, At Fair Value - Components of Net Gain (Loss) on Residential Mortgages (Details)",
     "role": "http://nymtrust.com/role/DistressedAndOtherResidentialMortgageLoansAtFairValueComponentsOfNetGainLossOnResidentialMortgagesDetails",
     "shortName": "Distressed and Other Residential Mortgage Loans, At Fair Value - Components of Net Gain (Loss) on Residential Mortgages (Details)",
     "subGroupType": "details",
     "uniqueAnchor": {
      "ancestors": [
       "span",
       "span",
       "div",
       "td",
       "tr",
       "table",
       "div",
       "div",
       "nymt:ComponentsOfNetGainOnResidentialMortgageLoansAtFairValueTableTextBlock",
       "ix:continuation",
       "body",
       "html"
      ],
      "baseRef": "nymt-09302019x10q.htm",
      "contextRef": "FD2019Q3QTD",
      "decimals": "-3",
      "first": true,
      "lang": null,
      "name": "nymt:NetRealizedGainLossOnPayoffAndSaleOfMortgageLoans",
      "reportCount": 1,
      "unique": true,
      "unitRef": "usd",
      "xsiNil": "false"
     }
    },
    "R52": {
     "firstAnchor": {
      "ancestors": [
       "span",
       "span",
       "div",
       "td",
       "tr",
       "table",
       "div",
       "div",
       "us-gaap:ScheduleOfVariableInterestEntitiesTextBlock",
       "ix:continuation",
       "body",
       "html"
      ],
      "baseRef": "nymt-09302019x10q.htm",
      "contextRef": "FD2019Q3YTD_srt_StatementGeographicalAxis_stpr_FL",
      "decimals": "3",
      "first": true,
      "lang": null,
      "name": "us-gaap:ConcentrationRiskPercentage1",
      "reportCount": 1,
      "unitRef": "pure",
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "2404404 - Disclosure - Distressed and Other Residential Mortgage Loans, At Fair Value - Concentration of Risk (Details)",
     "role": "http://nymtrust.com/role/DistressedAndOtherResidentialMortgageLoansAtFairValueConcentrationOfRiskDetails",
     "shortName": "Distressed and Other Residential Mortgage Loans, At Fair Value - Concentration of Risk (Details)",
     "subGroupType": "details",
     "uniqueAnchor": {
      "ancestors": [
       "span",
       "span",
       "div",
       "td",
       "tr",
       "table",
       "div",
       "div",
       "us-gaap:SchedulesOfConcentrationOfRiskByRiskFactorTextBlock",
       "ix:continuation",
       "body",
       "html"
      ],
      "baseRef": "nymt-09302019x10q.htm",
      "contextRef": "FD2019Q3YTD_srt_StatementGeographicalAxis_stpr_CA_us-gaap_ConcentrationRiskByBenchmarkAxis_nymt_ResidentialMortgageLoansAtFairValueMember_us-gaap_ConcentrationRiskByTypeAxis_us-gaap_GeographicConcentrationRiskMember",
      "decimals": "3",
      "lang": null,
      "name": "us-gaap:ConcentrationRiskPercentage1",
      "reportCount": 1,
      "unique": true,
      "unitRef": "pure",
      "xsiNil": "false"
     }
    },
    "R53": {
     "firstAnchor": {
      "ancestors": [
       "span",
       "span",
       "div",
       "td",
       "tr",
       "table",
       "div",
       "div",
       "nymt:ResidentialMortgageLoansFairValueComparedtoUnpaidPrincipalTableTextBlock",
       "ix:continuation",
       "body",
       "html"
      ],
      "baseRef": "nymt-09302019x10q.htm",
      "contextRef": "FI2019Q3_us-gaap_FinancingReceivablesPeriodPastDueAxis_us-gaap_FinancingReceivablesEqualToGreaterThan90DaysPastDueMember",
      "decimals": "-3",
      "first": true,
      "lang": null,
      "name": "us-gaap:MortgageLoansOnRealEstate",
      "reportCount": 1,
      "unique": true,
      "unitRef": "usd",
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "2404405 - Disclosure - Distressed and Other Residential Mortgage Loans, At Fair Value - Differences Between Fair Value and Aggregate Unpaid Principal (Details)",
     "role": "http://nymtrust.com/role/DistressedAndOtherResidentialMortgageLoansAtFairValueDifferencesBetweenFairValueAndAggregateUnpaidPrincipalDetails",
     "shortName": "Distressed and Other Residential Mortgage Loans, At Fair Value - Differences Between Fair Value and Aggregate Unpaid Principal (Details)",
     "subGroupType": "details",
     "uniqueAnchor": {
      "ancestors": [
       "span",
       "span",
       "div",
       "td",
       "tr",
       "table",
       "div",
       "div",
       "nymt:ResidentialMortgageLoansFairValueComparedtoUnpaidPrincipalTableTextBlock",
       "ix:continuation",
       "body",
       "html"
      ],
      "baseRef": "nymt-09302019x10q.htm",
      "contextRef": "FI2019Q3_us-gaap_FinancingReceivablesPeriodPastDueAxis_us-gaap_FinancingReceivablesEqualToGreaterThan90DaysPastDueMember",
      "decimals": "-3",
      "first": true,
      "lang": null,
      "name": "us-gaap:MortgageLoansOnRealEstate",
      "reportCount": 1,
      "unique": true,
      "unitRef": "usd",
      "xsiNil": "false"
     }
    },
    "R54": {
     "firstAnchor": {
      "ancestors": [
       "span",
       "span",
       "div",
       "ix:continuation",
       "body",
       "html"
      ],
      "baseRef": "nymt-09302019x10q.htm",
      "contextRef": "FI2019Q3_srt_MortgageLoansOnRealEstateDescriptionLoanCategoryAxis_nymt_DistressedResidentialLoansAndSecondMortgagesMember",
      "decimals": "-5",
      "first": true,
      "lang": null,
      "name": "us-gaap:MortgageLoansOnRealEstate",
      "reportCount": 1,
      "unique": true,
      "unitRef": "usd",
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "2404406 - Disclosure - Distressed and Other Residential Mortgage Loans, At Fair Value - Narrative (Details)",
     "role": "http://nymtrust.com/role/DistressedAndOtherResidentialMortgageLoansAtFairValueNarrativeDetails",
     "shortName": "Distressed and Other Residential Mortgage Loans, At Fair Value - Narrative (Details)",
     "subGroupType": "details",
     "uniqueAnchor": {
      "ancestors": [
       "span",
       "span",
       "div",
       "ix:continuation",
       "body",
       "html"
      ],
      "baseRef": "nymt-09302019x10q.htm",
      "contextRef": "FI2019Q3_srt_MortgageLoansOnRealEstateDescriptionLoanCategoryAxis_nymt_DistressedResidentialLoansAndSecondMortgagesMember",
      "decimals": "-5",
      "first": true,
      "lang": null,
      "name": "us-gaap:MortgageLoansOnRealEstate",
      "reportCount": 1,
      "unique": true,
      "unitRef": "usd",
      "xsiNil": "false"
     }
    },
    "R55": {
     "firstAnchor": {
      "ancestors": [
       "span",
       "span",
       "div",
       "td",
       "tr",
       "table",
       "div",
       "div",
       "ix:continuation",
       "ix:continuation",
       "body",
       "html"
      ],
      "baseRef": "nymt-09302019x10q.htm",
      "contextRef": "FI2019Q3",
      "decimals": "-3",
      "first": true,
      "lang": null,
      "name": "us-gaap:FinancingReceivableAllowanceForCreditLosses",
      "reportCount": 1,
      "unitRef": "usd",
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "2405402 - Disclosure - Distressed and Other Residential Mortgage Loans, Net - Narrative (Details)",
     "role": "http://nymtrust.com/role/DistressedAndOtherResidentialMortgageLoansNetNarrativeDetails",
     "shortName": "Distressed and Other Residential Mortgage Loans, Net - Narrative (Details)",
     "subGroupType": "details",
     "uniqueAnchor": {
      "ancestors": [
       "span",
       "span",
       "div",
       "ix:continuation",
       "body",
       "html"
      ],
      "baseRef": "nymt-09302019x10q.htm",
      "contextRef": "FD2019Q3YTD_srt_MortgageLoansOnRealEstateLoanTypeAxis_nymt_ResidentialMortgageLoansHeldInSecuritizationTrustsAndRealEstateOwnedHeldInResidentialSecuritizationMember",
      "decimals": "INF",
      "lang": null,
      "name": "nymt:NumberOfDelinquentLoans",
      "reportCount": 1,
      "unique": true,
      "unitRef": "loan",
      "xsiNil": "false"
     }
    },
    "R56": {
     "firstAnchor": {
      "ancestors": [
       "span",
       "span",
       "div",
       "td",
       "tr",
       "table",
       "div",
       "div",
       "nymt:ScheduleOfDistressedResidentialMortgageLoansActivityTableTextBlock",
       "ix:continuation",
       "body",
       "html"
      ],
      "baseRef": "nymt-09302019x10q.htm",
      "contextRef": "FI2018Q4_srt_MortgageLoansOnRealEstateDescriptionLoanCategoryAxis_nymt_DistressedResidentialMortgageLoansMember",
      "decimals": "-3",
      "first": true,
      "lang": null,
      "name": "us-gaap:CertainLoansAcquiredInTransferAccountedForAsDebtSecuritiesAccretableYield",
      "reportCount": 1,
      "unique": true,
      "unitRef": "usd",
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "2405403 - Disclosure - Distressed and Other Residential Mortgage Loans, Net - Schedule of Accretable Yield (Details)",
     "role": "http://nymtrust.com/role/DistressedAndOtherResidentialMortgageLoansNetScheduleOfAccretableYieldDetails",
     "shortName": "Distressed and Other Residential Mortgage Loans, Net - Schedule of Accretable Yield (Details)",
     "subGroupType": "details",
     "uniqueAnchor": {
      "ancestors": [
       "span",
       "span",
       "div",
       "td",
       "tr",
       "table",
       "div",
       "div",
       "nymt:ScheduleOfDistressedResidentialMortgageLoansActivityTableTextBlock",
       "ix:continuation",
       "body",
       "html"
      ],
      "baseRef": "nymt-09302019x10q.htm",
      "contextRef": "FI2018Q4_srt_MortgageLoansOnRealEstateDescriptionLoanCategoryAxis_nymt_DistressedResidentialMortgageLoansMember",
      "decimals": "-3",
      "first": true,
      "lang": null,
      "name": "us-gaap:CertainLoansAcquiredInTransferAccountedForAsDebtSecuritiesAccretableYield",
      "reportCount": 1,
      "unique": true,
      "unitRef": "usd",
      "xsiNil": "false"
     }
    },
    "R57": {
     "firstAnchor": {
      "ancestors": [
       "span",
       "span",
       "div",
       "td",
       "tr",
       "table",
       "div",
       "div",
       "ix:continuation",
       "ix:continuation",
       "body",
       "html"
      ],
      "baseRef": "nymt-09302019x10q.htm",
      "contextRef": "FD2019Q3YTD_srt_StatementGeographicalAxis_stpr_NC_us-gaap_ConcentrationRiskByBenchmarkAxis_nymt_ResidentialDistressedMortgageLoansHeldInSecuritizationTrustMember_us-gaap_ConcentrationRiskByTypeAxis_us-gaap_GeographicConcentrationRiskMember",
      "decimals": "3",
      "first": true,
      "lang": null,
      "name": "us-gaap:ConcentrationRiskPercentage1",
      "reportCount": 1,
      "unique": true,
      "unitRef": "pure",
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "2405404 - Disclosure - Distressed and Other Residential Mortgage Loans, Net - Schedule of Geographic Concentrations of Credit Risk of Unpaid Principal Balances (Details)",
     "role": "http://nymtrust.com/role/DistressedAndOtherResidentialMortgageLoansNetScheduleOfGeographicConcentrationsOfCreditRiskOfUnpaidPrincipalBalancesDetails",
     "shortName": "Distressed and Other Residential Mortgage Loans, Net - Schedule of Geographic Concentrations of Credit Risk of Unpaid Principal Balances (Details)",
     "subGroupType": "details",
     "uniqueAnchor": {
      "ancestors": [
       "span",
       "span",
       "div",
       "td",
       "tr",
       "table",
       "div",
       "div",
       "ix:continuation",
       "ix:continuation",
       "body",
       "html"
      ],
      "baseRef": "nymt-09302019x10q.htm",
      "contextRef": "FD2019Q3YTD_srt_StatementGeographicalAxis_stpr_NC_us-gaap_ConcentrationRiskByBenchmarkAxis_nymt_ResidentialDistressedMortgageLoansHeldInSecuritizationTrustMember_us-gaap_ConcentrationRiskByTypeAxis_us-gaap_GeographicConcentrationRiskMember",
      "decimals": "3",
      "first": true,
      "lang": null,
      "name": "us-gaap:ConcentrationRiskPercentage1",
      "reportCount": 1,
      "unique": true,
      "unitRef": "pure",
      "xsiNil": "false"
     }
    },
    "R58": {
     "firstAnchor": {
      "ancestors": [
       "span",
       "span",
       "div",
       "td",
       "tr",
       "table",
       "div",
       "div",
       "ix:continuation",
       "ix:continuation",
       "body",
       "html"
      ],
      "baseRef": "nymt-09302019x10q.htm",
      "contextRef": "FI2019Q3",
      "decimals": "-3",
      "first": true,
      "lang": null,
      "name": "us-gaap:NotesReceivableGross",
      "reportCount": 1,
      "unique": true,
      "unitRef": "usd",
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "2405405 - Disclosure - Distressed and Other Residential Mortgage Loans, Net - Residential Mortgage Loans Held in Securitization Trusts, Net (Details)",
     "role": "http://nymtrust.com/role/DistressedAndOtherResidentialMortgageLoansNetResidentialMortgageLoansHeldInSecuritizationTrustsNetDetails",
     "shortName": "Distressed and Other Residential Mortgage Loans, Net - Residential Mortgage Loans Held in Securitization Trusts, Net (Details)",
     "subGroupType": "details",
     "uniqueAnchor": {
      "ancestors": [
       "span",
       "span",
       "div",
       "td",
       "tr",
       "table",
       "div",
       "div",
       "ix:continuation",
       "ix:continuation",
       "body",
       "html"
      ],
      "baseRef": "nymt-09302019x10q.htm",
      "contextRef": "FI2019Q3",
      "decimals": "-3",
      "first": true,
      "lang": null,
      "name": "us-gaap:NotesReceivableGross",
      "reportCount": 1,
      "unique": true,
      "unitRef": "usd",
      "xsiNil": "false"
     }
    },
    "R59": {
     "firstAnchor": {
      "ancestors": [
       "span",
       "span",
       "div",
       "td",
       "tr",
       "table",
       "div",
       "div",
       "ix:continuation",
       "ix:continuation",
       "body",
       "html"
      ],
      "baseRef": "nymt-09302019x10q.htm",
      "contextRef": "FI2018Q4",
      "decimals": "-3",
      "first": true,
      "lang": null,
      "name": "us-gaap:FinancingReceivableAllowanceForCreditLosses",
      "reportCount": 1,
      "unitRef": "usd",
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "2405406 - Disclosure - Distressed and Other Residential Mortgage Loans, Net - Allowance for Loan Losses on Residential Mortgage Loans Held in Securitization Trusts (Details)",
     "role": "http://nymtrust.com/role/DistressedAndOtherResidentialMortgageLoansNetAllowanceForLoanLossesOnResidentialMortgageLoansHeldInSecuritizationTrustsDetails",
     "shortName": "Distressed and Other Residential Mortgage Loans, Net - Allowance for Loan Losses on Residential Mortgage Loans Held in Securitization Trusts (Details)",
     "subGroupType": "details",
     "uniqueAnchor": {
      "ancestors": [
       "span",
       "span",
       "div",
       "td",
       "tr",
       "table",
       "div",
       "div",
       "ix:continuation",
       "ix:continuation",
       "body",
       "html"
      ],
      "baseRef": "nymt-09302019x10q.htm",
      "contextRef": "FD2019Q3YTD",
      "decimals": "-3",
      "lang": null,
      "name": "us-gaap:ProvisionForLoanLeaseAndOtherLosses",
      "reportCount": 1,
      "unique": true,
      "unitRef": "usd",
      "xsiNil": "false"
     }
    },
    "R6": {
     "firstAnchor": {
      "ancestors": [
       "span",
       "span",
       "div",
       "td",
       "tr",
       "table",
       "div",
       "div",
       "body",
       "html"
      ],
      "baseRef": "nymt-09302019x10q.htm",
      "contextRef": "FI2017Q4",
      "decimals": "-3",
      "first": true,
      "lang": null,
      "name": "us-gaap:StockholdersEquityIncludingPortionAttributableToNoncontrollingInterest",
      "reportCount": 1,
      "unitRef": "usd",
      "xsiNil": "false"
     },
     "groupType": "statement",
     "isDefault": "false",
     "longName": "1004000 - Statement - CONDENSED CONSOLIDATED STATEMENTS OF CHANGES IN STOCKHOLDERS' EQUITY",
     "role": "http://nymtrust.com/role/CondensedConsolidatedStatementsOfChangesInStockholdersEquity",
     "shortName": "CONDENSED CONSOLIDATED STATEMENTS OF CHANGES IN STOCKHOLDERS' EQUITY",
     "subGroupType": "",
     "uniqueAnchor": {
      "ancestors": [
       "span",
       "span",
       "div",
       "td",
       "tr",
       "table",
       "div",
       "div",
       "body",
       "html"
      ],
      "baseRef": "nymt-09302019x10q.htm",
      "contextRef": "FD2018Q3YTD_us-gaap_StatementEquityComponentsAxis_us-gaap_RetainedEarningsMember",
      "decimals": "-3",
      "lang": null,
      "name": "us-gaap:ProfitLoss",
      "reportCount": 1,
      "unique": true,
      "unitRef": "usd",
      "xsiNil": "false"
     }
    },
    "R60": {
     "firstAnchor": {
      "ancestors": [
       "span",
       "span",
       "div",
       "td",
       "tr",
       "table",
       "div",
       "div",
       "ix:continuation",
       "ix:continuation",
       "body",
       "html"
      ],
      "baseRef": "nymt-09302019x10q.htm",
      "contextRef": "FD2019Q3YTD",
      "decimals": "INF",
      "first": true,
      "lang": null,
      "name": "nymt:NumberOfDelinquentLoansThroughForeclosure",
      "reportCount": 1,
      "unique": true,
      "unitRef": "loan",
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "2405407 - Disclosure - Distressed and Other Residential Mortgage Loans, Net - Delinquencies in Portfolio of Residential Mortgage Loans Held in Securitization Trusts (Details)",
     "role": "http://nymtrust.com/role/DistressedAndOtherResidentialMortgageLoansNetDelinquenciesInPortfolioOfResidentialMortgageLoansHeldInSecuritizationTrustsDetails",
     "shortName": "Distressed and Other Residential Mortgage Loans, Net - Delinquencies in Portfolio of Residential Mortgage Loans Held in Securitization Trusts (Details)",
     "subGroupType": "details",
     "uniqueAnchor": {
      "ancestors": [
       "span",
       "span",
       "div",
       "td",
       "tr",
       "table",
       "div",
       "div",
       "ix:continuation",
       "ix:continuation",
       "body",
       "html"
      ],
      "baseRef": "nymt-09302019x10q.htm",
      "contextRef": "FD2019Q3YTD",
      "decimals": "INF",
      "first": true,
      "lang": null,
      "name": "nymt:NumberOfDelinquentLoansThroughForeclosure",
      "reportCount": 1,
      "unique": true,
      "unitRef": "loan",
      "xsiNil": "false"
     }
    },
    "R61": {
     "firstAnchor": {
      "ancestors": [
       "span",
       "span",
       "div",
       "td",
       "tr",
       "table",
       "div",
       "div",
       "us-gaap:ScheduleOfVariableInterestEntitiesTextBlock",
       "ix:continuation",
       "body",
       "html"
      ],
      "baseRef": "nymt-09302019x10q.htm",
      "contextRef": "FD2019Q3YTD_srt_StatementGeographicalAxis_stpr_NJ",
      "decimals": "3",
      "first": true,
      "lang": null,
      "name": "us-gaap:ConcentrationRiskPercentage1",
      "reportCount": 1,
      "unitRef": "pure",
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "2405408 - Disclosure - Distressed and Other Residential Mortgage Loans, Net - Schedule of Geographic Concentrations of Credit Risk Exceeding 5% of Total Loan Balances (Details)",
     "role": "http://nymtrust.com/role/DistressedAndOtherResidentialMortgageLoansNetScheduleOfGeographicConcentrationsOfCreditRiskExceeding5OfTotalLoanBalancesDetails",
     "shortName": "Distressed and Other Residential Mortgage Loans, Net - Schedule of Geographic Concentrations of Credit Risk Exceeding 5% of Total Loan Balances (Details)",
     "subGroupType": "details",
     "uniqueAnchor": {
      "ancestors": [
       "span",
       "span",
       "div",
       "td",
       "tr",
       "table",
       "div",
       "div",
       "ix:continuation",
       "ix:continuation",
       "body",
       "html"
      ],
      "baseRef": "nymt-09302019x10q.htm",
      "contextRef": "FD2019Q3YTD_srt_MortgageLoansOnRealEstateDescriptionLoanCategoryAxis_nymt_ResidentialMortgageLoansHeldInSecuritizationTrustsAndRealEstateOwnedHeldInResidentialSecuritizationMember_srt_StatementGeographicalAxis_stpr_NY_us-gaap_ConcentrationRiskByTypeAxis_us-gaap_GeographicConcentrationRiskMember",
      "decimals": "3",
      "lang": null,
      "name": "us-gaap:ConcentrationRiskPercentage1",
      "reportCount": 1,
      "unique": true,
      "unitRef": "pure",
      "xsiNil": "false"
     }
    },
    "R62": {
     "firstAnchor": {
      "ancestors": [
       "span",
       "span",
       "div",
       "ix:continuation",
       "body",
       "html"
      ],
      "baseRef": "nymt-09302019x10q.htm",
      "contextRef": "FI2019Q3_srt_MortgageLoansOnRealEstateLoanTypeAxis_nymt_MultiFamilyLoansHeldInSecuritizationTrustsMember",
      "decimals": "-8",
      "first": true,
      "lang": null,
      "name": "us-gaap:MortgageLoansOnRealEstate",
      "reportCount": 1,
      "unique": true,
      "unitRef": "usd",
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "2406402 - Disclosure - Consolidated K-Series - Narrative (Details)",
     "role": "http://nymtrust.com/role/ConsolidatedKSeriesNarrativeDetails",
     "shortName": "Consolidated K-Series - Narrative (Details)",
     "subGroupType": "details",
     "uniqueAnchor": {
      "ancestors": [
       "span",
       "span",
       "div",
       "ix:continuation",
       "body",
       "html"
      ],
      "baseRef": "nymt-09302019x10q.htm",
      "contextRef": "FI2019Q3_srt_MortgageLoansOnRealEstateLoanTypeAxis_nymt_MultiFamilyLoansHeldInSecuritizationTrustsMember",
      "decimals": "-8",
      "first": true,
      "lang": null,
      "name": "us-gaap:MortgageLoansOnRealEstate",
      "reportCount": 1,
      "unique": true,
      "unitRef": "usd",
      "xsiNil": "false"
     }
    },
    "R63": {
     "firstAnchor": {
      "ancestors": [
       "span",
       "span",
       "div",
       "td",
       "tr",
       "table",
       "div",
       "div",
       "body",
       "html"
      ],
      "baseRef": "nymt-09302019x10q.htm",
      "contextRef": "FI2019Q3",
      "decimals": "-3",
      "first": true,
      "lang": null,
      "name": "us-gaap:FinancialInstrumentsOwnedOtherAtFairValue",
      "reportCount": 1,
      "unitRef": "usd",
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "2406403 - Disclosure - Consolidated K-Series - Condensed Balance Sheet of Consolidated K-Series (Details)",
     "role": "http://nymtrust.com/role/ConsolidatedKSeriesCondensedBalanceSheetOfConsolidatedKSeriesDetails",
     "shortName": "Consolidated K-Series - Condensed Balance Sheet of Consolidated K-Series (Details)",
     "subGroupType": "details",
     "uniqueAnchor": {
      "ancestors": [
       "span",
       "span",
       "div",
       "td",
       "tr",
       "table",
       "div",
       "div",
       "srt:ScheduleOfCondensedBalanceSheetTableTextBlock",
       "ix:continuation",
       "body",
       "html"
      ],
      "baseRef": "nymt-09302019x10q.htm",
      "contextRef": "FI2019Q3_us-gaap_VariableInterestEntitiesByClassificationOfEntityAxis_nymt_ConsolidatedKSeriesMember",
      "decimals": "-3",
      "lang": null,
      "name": "us-gaap:FinancialInstrumentsOwnedOtherAtFairValue",
      "reportCount": 1,
      "unique": true,
      "unitRef": "usd",
      "xsiNil": "false"
     }
    },
    "R64": {
     "firstAnchor": {
      "ancestors": [
       "span",
       "span",
       "div",
       "td",
       "tr",
       "table",
       "div",
       "div",
       "body",
       "html"
      ],
      "baseRef": "nymt-09302019x10q.htm",
      "contextRef": "FD2019Q3QTD",
      "decimals": "-3",
      "first": true,
      "lang": null,
      "name": "us-gaap:InterestExpense",
      "reportCount": 1,
      "unitRef": "usd",
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "2406404 - Disclosure - Consolidated K-Series - Condensed Statement of Operations of Consolidated K-Series (Details)",
     "role": "http://nymtrust.com/role/ConsolidatedKSeriesCondensedStatementOfOperationsOfConsolidatedKSeriesDetails",
     "shortName": "Consolidated K-Series - Condensed Statement of Operations of Consolidated K-Series (Details)",
     "subGroupType": "details",
     "uniqueAnchor": {
      "ancestors": [
       "span",
       "span",
       "div",
       "td",
       "tr",
       "table",
       "div",
       "div",
       "srt:ScheduleOfCondensedIncomeStatementTableTextBlock",
       "ix:continuation",
       "body",
       "html"
      ],
      "baseRef": "nymt-09302019x10q.htm",
      "contextRef": "FD2019Q3QTD_us-gaap_VariableInterestEntitiesByClassificationOfEntityAxis_nymt_ConsolidatedKSeriesMember",
      "decimals": "-3",
      "lang": null,
      "name": "us-gaap:InterestAndOtherIncome",
      "reportCount": 1,
      "unique": true,
      "unitRef": "usd",
      "xsiNil": "false"
     }
    },
    "R65": {
     "firstAnchor": {
      "ancestors": [
       "span",
       "span",
       "div",
       "td",
       "tr",
       "table",
       "div",
       "div",
       "us-gaap:ScheduleOfVariableInterestEntitiesTextBlock",
       "ix:continuation",
       "body",
       "html"
      ],
      "baseRef": "nymt-09302019x10q.htm",
      "contextRef": "FD2019Q3YTD_srt_StatementGeographicalAxis_stpr_TX",
      "decimals": "3",
      "first": true,
      "lang": null,
      "name": "us-gaap:ConcentrationRiskPercentage1",
      "reportCount": 1,
      "unitRef": "pure",
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "2406405 - Disclosure - Consolidated K-Series - Geographic Concentrations of Credit Risk (Details)",
     "role": "http://nymtrust.com/role/ConsolidatedKSeriesGeographicConcentrationsOfCreditRiskDetails",
     "shortName": "Consolidated K-Series - Geographic Concentrations of Credit Risk (Details)",
     "subGroupType": "details",
     "uniqueAnchor": {
      "ancestors": [
       "span",
       "span",
       "div",
       "td",
       "tr",
       "table",
       "div",
       "div",
       "ix:continuation",
       "ix:continuation",
       "body",
       "html"
      ],
      "baseRef": "nymt-09302019x10q.htm",
      "contextRef": "FD2019Q3YTD_srt_MortgageLoansOnRealEstateDescriptionLoanCategoryAxis_nymt_MultiFamilyLoansHeldInSecuritizationTrustsMember_srt_StatementGeographicalAxis_stpr_CA_us-gaap_ConcentrationRiskByTypeAxis_us-gaap_GeographicConcentrationRiskMember",
      "decimals": "3",
      "lang": null,
      "name": "us-gaap:ConcentrationRiskPercentage1",
      "reportCount": 1,
      "unique": true,
      "unitRef": "pure",
      "xsiNil": "false"
     }
    },
    "R66": {
     "firstAnchor": {
      "ancestors": [
       "span",
       "span",
       "div",
       "td",
       "tr",
       "table",
       "div",
       "div",
       "ix:continuation",
       "us-gaap:EquityMethodInvestmentsTextBlock",
       "body",
       "html"
      ],
      "baseRef": "nymt-09302019x10q.htm",
      "contextRef": "FI2019Q3_us-gaap_FinancialInstrumentAxis_us-gaap_EquityMethodInvestmentsMember",
      "decimals": "-3",
      "first": true,
      "lang": null,
      "name": "us-gaap:EquityMethodInvestments",
      "reportCount": 1,
      "unitRef": "usd",
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "2407402 - Disclosure - Investments in Unconsolidated Entities (Details)",
     "role": "http://nymtrust.com/role/InvestmentsInUnconsolidatedEntitiesDetails",
     "shortName": "Investments in Unconsolidated Entities (Details)",
     "subGroupType": "details",
     "uniqueAnchor": {
      "ancestors": [
       "span",
       "span",
       "div",
       "td",
       "tr",
       "table",
       "div",
       "div",
       "ix:continuation",
       "us-gaap:EquityMethodInvestmentsTextBlock",
       "body",
       "html"
      ],
      "baseRef": "nymt-09302019x10q.htm",
      "contextRef": "FI2018Q4_us-gaap_FinancialInstrumentAxis_us-gaap_EquityMethodInvestmentsMember",
      "decimals": "-3",
      "lang": null,
      "name": "us-gaap:EquityMethodInvestments",
      "reportCount": 1,
      "unique": true,
      "unitRef": "usd",
      "xsiNil": "false"
     }
    },
    "R67": {
     "firstAnchor": {
      "ancestors": [
       "span",
       "span",
       "div",
       "td",
       "tr",
       "table",
       "div",
       "div",
       "body",
       "html"
      ],
      "baseRef": "nymt-09302019x10q.htm",
      "contextRef": "FI2019Q3",
      "decimals": "-3",
      "first": true,
      "lang": null,
      "name": "us-gaap:VariableInterestEntityNonconsolidatedCarryingAmountAssetsAndLiabilitiesNet",
      "reportCount": 1,
      "unitRef": "usd",
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "2408402 - Disclosure - Preferred Equity and Mezzanine Loan Investments (Details)",
     "role": "http://nymtrust.com/role/PreferredEquityAndMezzanineLoanInvestmentsDetails",
     "shortName": "Preferred Equity and Mezzanine Loan Investments (Details)",
     "subGroupType": "details",
     "uniqueAnchor": {
      "ancestors": [
       "span",
       "span",
       "div",
       "td",
       "tr",
       "table",
       "div",
       "div",
       "us-gaap:ScheduleOfVariableInterestEntitiesTextBlock",
       "ix:continuation",
       "body",
       "html"
      ],
      "baseRef": "nymt-09302019x10q.htm",
      "contextRef": "FD2019Q3YTD_srt_StatementGeographicalAxis_stpr_TN",
      "decimals": "3",
      "lang": null,
      "name": "us-gaap:ConcentrationRiskPercentage1",
      "reportCount": 1,
      "unique": true,
      "unitRef": "pure",
      "xsiNil": "false"
     }
    },
    "R68": {
     "firstAnchor": {
      "ancestors": [
       "span",
       "span",
       "div",
       "td",
       "tr",
       "table",
       "div",
       "div",
       "body",
       "html"
      ],
      "baseRef": "nymt-09302019x10q.htm",
      "contextRef": "FD2019Q3QTD",
      "decimals": "-3",
      "first": true,
      "lang": null,
      "name": "us-gaap:GainsLossesOnExtinguishmentOfDebt",
      "reportCount": 1,
      "unitRef": "usd",
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "2409402 - Disclosure - Use of Special Purpose Entities (SPE) and Variable Interest Entities (VIE) - Narrative (Details)",
     "role": "http://nymtrust.com/role/UseOfSpecialPurposeEntitiesSpeAndVariableInterestEntitiesVieNarrativeDetails",
     "shortName": "Use of Special Purpose Entities (SPE) and Variable Interest Entities (VIE) - Narrative (Details)",
     "subGroupType": "details",
     "uniqueAnchor": {
      "ancestors": [
       "span",
       "span",
       "div",
       "ix:continuation",
       "body",
       "html"
      ],
      "baseRef": "nymt-09302019x10q.htm",
      "contextRef": "FI2018Q4",
      "decimals": "-5",
      "lang": null,
      "name": "nymt:UnconsolidatedVIEMaximumLossExposure",
      "reportCount": 1,
      "unique": true,
      "unitRef": "usd",
      "xsiNil": "false"
     }
    },
    "R69": {
     "firstAnchor": {
      "ancestors": [
       "span",
       "span",
       "div",
       "td",
       "tr",
       "table",
       "div",
       "div",
       "body",
       "html"
      ],
      "baseRef": "nymt-09302019x10q.htm",
      "contextRef": "FI2018Q4",
      "decimals": "-3",
      "first": true,
      "lang": null,
      "name": "us-gaap:CashAndCashEquivalentsAtCarryingValue",
      "reportCount": 1,
      "unitRef": "usd",
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "2409403 - Disclosure - Use of Special Purpose Entities (SPE) and Variable Interest Entities (VIE) - Assets and Liabilities of Consolidated VIEs (Details)",
     "role": "http://nymtrust.com/role/UseOfSpecialPurposeEntitiesSpeAndVariableInterestEntitiesVieAssetsAndLiabilitiesOfConsolidatedViesDetails",
     "shortName": "Use of Special Purpose Entities (SPE) and Variable Interest Entities (VIE) - Assets and Liabilities of Consolidated VIEs (Details)",
     "subGroupType": "details",
     "uniqueAnchor": {
      "ancestors": [
       "span",
       "span",
       "div",
       "td",
       "tr",
       "table",
       "ix:continuation",
       "ix:continuation",
       "body",
       "html"
      ],
      "baseRef": "nymt-09302019x10q.htm",
      "contextRef": "FI2018Q4_us-gaap_FinancialInstrumentAxis_us-gaap_CollateralizedMortgageObligationsMember_us-gaap_InvestmentTypeAxis_nymt_ClassANotesMember",
      "decimals": "-5",
      "lang": null,
      "name": "us-gaap:TransfersOfFinancialAssetsAccountedForAsSaleInitialFairValueOfAssetsObtainedAsProceeds",
      "reportCount": 1,
      "unique": true,
      "unitRef": "usd",
      "xsiNil": "false"
     }
    },
    "R7": {
     "firstAnchor": {
      "ancestors": [
       "span",
       "span",
       "div",
       "td",
       "tr",
       "table",
       "div",
       "div",
       "body",
       "html"
      ],
      "baseRef": "nymt-09302019x10q.htm",
      "contextRef": "FD2019Q3YTD",
      "decimals": "-3",
      "first": true,
      "lang": null,
      "name": "us-gaap:ProfitLoss",
      "reportCount": 1,
      "unitRef": "usd",
      "xsiNil": "false"
     },
     "groupType": "statement",
     "isDefault": "false",
     "longName": "1005000 - Statement - CONDENSED CONSOLIDATED STATEMENTS OF CASH FLOWS",
     "role": "http://nymtrust.com/role/CondensedConsolidatedStatementsOfCashFlows",
     "shortName": "CONDENSED CONSOLIDATED STATEMENTS OF CASH FLOWS",
     "subGroupType": "",
     "uniqueAnchor": {
      "ancestors": [
       "span",
       "span",
       "div",
       "td",
       "tr",
       "table",
       "div",
       "div",
       "body",
       "html"
      ],
      "baseRef": "nymt-09302019x10q.htm",
      "contextRef": "FD2019Q3YTD",
      "decimals": "-3",
      "lang": null,
      "name": "us-gaap:AccretionAmortizationOfDiscountsAndPremiumsInvestments",
      "reportCount": 1,
      "unique": true,
      "unitRef": "usd",
      "xsiNil": "false"
     }
    },
    "R70": {
     "firstAnchor": {
      "ancestors": [
       "span",
       "span",
       "div",
       "td",
       "tr",
       "table",
       "div",
       "div",
       "body",
       "html"
      ],
      "baseRef": "nymt-09302019x10q.htm",
      "contextRef": "FI2019Q3",
      "decimals": "-3",
      "first": true,
      "lang": null,
      "name": "us-gaap:CollateralizedFinancings",
      "reportCount": 1,
      "unitRef": "usd",
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "2409404 - Disclosure - Use of Special Purpose Entities (SPE) and Variable Interest Entities (VIE) - Securitized Debt (Details)",
     "role": "http://nymtrust.com/role/UseOfSpecialPurposeEntitiesSpeAndVariableInterestEntitiesVieSecuritizedDebtDetails",
     "shortName": "Use of Special Purpose Entities (SPE) and Variable Interest Entities (VIE) - Securitized Debt (Details)",
     "subGroupType": "details",
     "uniqueAnchor": {
      "ancestors": [
       "span",
       "span",
       "div",
       "td",
       "tr",
       "table",
       "div",
       "div",
       "ix:continuation",
       "ix:continuation",
       "body",
       "html"
      ],
      "baseRef": "nymt-09302019x10q.htm",
      "contextRef": "FI2018Q4_us-gaap_VariableInterestEntitiesByClassificationOfEntityAxis_nymt_MultifamilyCMBSResecuritizationMember_us-gaap_VariableRateAxis_us-gaap_LondonInterbankOfferedRateLIBORMember",
      "decimals": "INF",
      "lang": null,
      "name": "us-gaap:DebtInstrumentInterestRateStatedPercentage",
      "reportCount": 1,
      "unique": true,
      "unitRef": "pure",
      "xsiNil": "false"
     }
    },
    "R71": {
     "firstAnchor": {
      "ancestors": [
       "span",
       "span",
       "div",
       "td",
       "tr",
       "table",
       "div",
       "div",
       "ix:continuation",
       "ix:continuation",
       "body",
       "html"
      ],
      "baseRef": "nymt-09302019x10q.htm",
      "contextRef": "FI2019Q3",
      "decimals": "-3",
      "first": true,
      "lang": null,
      "name": "us-gaap:LongTermDebt",
      "reportCount": 1,
      "unitRef": "usd",
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "2409405 - Disclosure - Use of Special Purpose Entities (SPE) and Variable Interest Entities (VIE) - Financing VIEs Securitized Debt by Contractual Maturity (Details)",
     "role": "http://nymtrust.com/role/UseOfSpecialPurposeEntitiesSpeAndVariableInterestEntitiesVieFinancingViesSecuritizedDebtByContractualMaturityDetails",
     "shortName": "Use of Special Purpose Entities (SPE) and Variable Interest Entities (VIE) - Financing VIEs Securitized Debt by Contractual Maturity (Details)",
     "subGroupType": "details",
     "uniqueAnchor": {
      "ancestors": [
       "span",
       "span",
       "div",
       "td",
       "tr",
       "table",
       "div",
       "div",
       "us-gaap:ScheduleOfMaturitiesOfLongTermDebtTableTextBlock",
       "ix:continuation",
       "body",
       "html"
      ],
      "baseRef": "nymt-09302019x10q.htm",
      "contextRef": "FI2018Q4_us-gaap_VariableInterestEntitiesByClassificationOfEntityAxis_nymt_FinancingVIEMember",
      "decimals": "-3",
      "lang": null,
      "name": "nymt:LongtermDebtMaturitiesRepaymentsofPrincipalinNextRollingTwentyFourMonths",
      "reportCount": 1,
      "unique": true,
      "unitRef": "usd",
      "xsiNil": "false"
     }
    },
    "R72": {
     "firstAnchor": {
      "ancestors": [
       "span",
       "span",
       "div",
       "td",
       "tr",
       "table",
       "div",
       "div",
       "ix:continuation",
       "ix:continuation",
       "body",
       "html"
      ],
      "baseRef": "nymt-09302019x10q.htm",
      "contextRef": "FI2019Q3_us-gaap_VariableInterestEntitiesByClassificationOfEntityAxis_us-gaap_VariableInterestEntityNotPrimaryBeneficiaryMember",
      "decimals": "-3",
      "first": true,
      "lang": null,
      "name": "us-gaap:VariableInterestEntityNonconsolidatedCarryingAmountAssets",
      "reportCount": 1,
      "unique": true,
      "unitRef": "usd",
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "2409406 - Disclosure - Use of Special Purpose Entities (SPE) and Variable Interest Entities (VIE) - Classification and Carrying Value of Unconsolidated VIEs (Details)",
     "role": "http://nymtrust.com/role/UseOfSpecialPurposeEntitiesSpeAndVariableInterestEntitiesVieClassificationAndCarryingValueOfUnconsolidatedViesDetails",
     "shortName": "Use of Special Purpose Entities (SPE) and Variable Interest Entities (VIE) - Classification and Carrying Value of Unconsolidated VIEs (Details)",
     "subGroupType": "details",
     "uniqueAnchor": {
      "ancestors": [
       "span",
       "span",
       "div",
       "td",
       "tr",
       "table",
       "div",
       "div",
       "ix:continuation",
       "ix:continuation",
       "body",
       "html"
      ],
      "baseRef": "nymt-09302019x10q.htm",
      "contextRef": "FI2019Q3_us-gaap_VariableInterestEntitiesByClassificationOfEntityAxis_us-gaap_VariableInterestEntityNotPrimaryBeneficiaryMember",
      "decimals": "-3",
      "first": true,
      "lang": null,
      "name": "us-gaap:VariableInterestEntityNonconsolidatedCarryingAmountAssets",
      "reportCount": 1,
      "unique": true,
      "unitRef": "usd",
      "xsiNil": "false"
     }
    },
    "R73": {
     "firstAnchor": {
      "ancestors": [
       "span",
       "span",
       "div",
       "td",
       "tr",
       "table",
       "div",
       "div",
       "body",
       "html"
      ],
      "baseRef": "nymt-09302019x10q.htm",
      "contextRef": "FI2019Q3",
      "decimals": "-3",
      "first": true,
      "lang": null,
      "name": "us-gaap:RealEstateHeldforsale",
      "reportCount": 1,
      "unitRef": "usd",
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "2410402 - Disclosure - Real Estate Held for Sale in Consolidated VIEs (Details)",
     "role": "http://nymtrust.com/role/RealEstateHeldForSaleInConsolidatedViesDetails",
     "shortName": "Real Estate Held for Sale in Consolidated VIEs (Details)",
     "subGroupType": "details",
     "uniqueAnchor": {
      "ancestors": [
       "span",
       "span",
       "div",
       "ix:continuation",
       "body",
       "html"
      ],
      "baseRef": "nymt-09302019x10q.htm",
      "contextRef": "D2018Q1Mar1-31_srt_ScheduleOfEquityMethodInvestmentEquityMethodInvesteeNameAxis_nymt_RiverchaseLandingMember_us-gaap_VariableInterestEntitiesByClassificationOfEntityAxis_us-gaap_VariableInterestEntityPrimaryBeneficiaryMember",
      "decimals": "-5",
      "lang": null,
      "name": "us-gaap:GainsLossesOnSalesOfInvestmentRealEstate",
      "reportCount": 1,
      "unique": true,
      "unitRef": "usd",
      "xsiNil": "false"
     }
    },
    "R74": {
     "firstAnchor": {
      "ancestors": [
       "span",
       "span",
       "div",
       "ix:continuation",
       "td",
       "tr",
       "table",
       "ix:continuation",
       "body",
       "html"
      ],
      "baseRef": "nymt-09302019x10q.htm",
      "contextRef": "FI2019Q3_us-gaap_DerivativeInstrumentRiskAxis_us-gaap_InterestRateSwapMember",
      "decimals": "-5",
      "first": true,
      "lang": null,
      "name": "us-gaap:DerivativeFairValueOfDerivativeLiability",
      "reportCount": 1,
      "unitRef": "usd",
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "2411402 - Disclosure - Derivative Instruments and Hedging Activities - Fair Value of Derivative Instruments  (Details)",
     "role": "http://nymtrust.com/role/DerivativeInstrumentsAndHedgingActivitiesFairValueOfDerivativeInstrumentsDetails",
     "shortName": "Derivative Instruments and Hedging Activities - Fair Value of Derivative Instruments  (Details)",
     "subGroupType": "details",
     "uniqueAnchor": {
      "ancestors": [
       "span",
       "span",
       "div",
       "td",
       "tr",
       "table",
       "div",
       "div",
       "us-gaap:ScheduleOfDerivativeInstrumentsTextBlock",
       "ix:continuation",
       "body",
       "html"
      ],
      "baseRef": "nymt-09302019x10q.htm",
      "contextRef": "FI2019Q3_us-gaap_DerivativeInstrumentRiskAxis_us-gaap_InterestRateSwapMember_us-gaap_HedgingDesignationAxis_us-gaap_NotDesignatedAsHedgingInstrumentTradingMember",
      "decimals": "-3",
      "lang": null,
      "name": "us-gaap:DerivativeInstrumentsNotDesignatedAsHedgingInstrumentsAssetAtFairValue",
      "reportCount": 1,
      "unique": true,
      "unitRef": "usd",
      "xsiNil": "false"
     }
    },
    "R75": {
     "firstAnchor": {
      "ancestors": [
       "span",
       "span",
       "div",
       "td",
       "tr",
       "table",
       "div",
       "div",
       "us-gaap:ScheduleOfOtherDerivativesNotDesignatedAsHedgingInstrumentsStatementsOfFinancialPerformanceAndFinancialPositionLocationTableTextBlock",
       "ix:continuation",
       "body",
       "html"
      ],
      "baseRef": "nymt-09302019x10q.htm",
      "contextRef": "FI2018Q4_us-gaap_DerivativeInstrumentRiskAxis_us-gaap_InterestRateSwapMember_us-gaap_HedgingDesignationAxis_us-gaap_NotDesignatedAsHedgingInstrumentTradingMember",
      "decimals": "-3",
      "first": true,
      "lang": null,
      "name": "nymt:DerivativeAssetLiabilityNotionalAmount",
      "reportCount": 1,
      "unique": true,
      "unitRef": "usd",
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "2411403 - Disclosure - Derivative Instruments and Hedging Activities - Activity of Derivative Instruments Not Designated as Hedges (Details)",
     "role": "http://nymtrust.com/role/DerivativeInstrumentsAndHedgingActivitiesActivityOfDerivativeInstrumentsNotDesignatedAsHedgesDetails",
     "shortName": "Derivative Instruments and Hedging Activities - Activity of Derivative Instruments Not Designated as Hedges (Details)",
     "subGroupType": "details",
     "uniqueAnchor": {
      "ancestors": [
       "span",
       "span",
       "div",
       "td",
       "tr",
       "table",
       "div",
       "div",
       "us-gaap:ScheduleOfOtherDerivativesNotDesignatedAsHedgingInstrumentsStatementsOfFinancialPerformanceAndFinancialPositionLocationTableTextBlock",
       "ix:continuation",
       "body",
       "html"
      ],
      "baseRef": "nymt-09302019x10q.htm",
      "contextRef": "FI2018Q4_us-gaap_DerivativeInstrumentRiskAxis_us-gaap_InterestRateSwapMember_us-gaap_HedgingDesignationAxis_us-gaap_NotDesignatedAsHedgingInstrumentTradingMember",
      "decimals": "-3",
      "first": true,
      "lang": null,
      "name": "nymt:DerivativeAssetLiabilityNotionalAmount",
      "reportCount": 1,
      "unique": true,
      "unitRef": "usd",
      "xsiNil": "false"
     }
    },
    "R76": {
     "firstAnchor": {
      "ancestors": [
       "span",
       "span",
       "div",
       "td",
       "tr",
       "table",
       "div",
       "div",
       "ix:continuation",
       "ix:continuation",
       "body",
       "html"
      ],
      "baseRef": "nymt-09302019x10q.htm",
      "contextRef": "FD2019Q3QTD_us-gaap_DerivativeInstrumentRiskAxis_us-gaap_InterestRateSwapMember_us-gaap_HedgingDesignationAxis_us-gaap_NotDesignatedAsHedgingInstrumentTradingMember",
      "decimals": "-3",
      "first": true,
      "lang": null,
      "name": "us-gaap:UnrealizedGainLossOnDerivatives",
      "reportCount": 1,
      "unique": true,
      "unitRef": "usd",
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "2411404 - Disclosure - Derivative Instruments and Hedging Activities - Components of Investment Fair Value Changes (Details)",
     "role": "http://nymtrust.com/role/DerivativeInstrumentsAndHedgingActivitiesComponentsOfInvestmentFairValueChangesDetails",
     "shortName": "Derivative Instruments and Hedging Activities - Components of Investment Fair Value Changes (Details)",
     "subGroupType": "details",
     "uniqueAnchor": {
      "ancestors": [
       "span",
       "span",
       "div",
       "td",
       "tr",
       "table",
       "div",
       "div",
       "ix:continuation",
       "ix:continuation",
       "body",
       "html"
      ],
      "baseRef": "nymt-09302019x10q.htm",
      "contextRef": "FD2019Q3QTD_us-gaap_DerivativeInstrumentRiskAxis_us-gaap_InterestRateSwapMember_us-gaap_HedgingDesignationAxis_us-gaap_NotDesignatedAsHedgingInstrumentTradingMember",
      "decimals": "-3",
      "first": true,
      "lang": null,
      "name": "us-gaap:UnrealizedGainLossOnDerivatives",
      "reportCount": 1,
      "unique": true,
      "unitRef": "usd",
      "xsiNil": "false"
     }
    },
    "R77": {
     "firstAnchor": {
      "ancestors": [
       "span",
       "span",
       "div",
       "td",
       "tr",
       "table",
       "div",
       "div",
       "us-gaap:ScheduleOfNotionalAmountsOfOutstandingDerivativePositionsTableTextBlock",
       "ix:continuation",
       "body",
       "html"
      ],
      "baseRef": "nymt-09302019x10q.htm",
      "contextRef": "FI2019Q3_us-gaap_DerivativeInstrumentRiskAxis_us-gaap_InterestRateSwapMember_us-gaap_DerivativeInstrumentsGainLossByHedgingRelationshipAxis_us-gaap_CashFlowHedgingMember_us-gaap_HedgingDesignationAxis_us-gaap_DesignatedAsHedgingInstrumentMember",
      "decimals": "INF",
      "first": true,
      "lang": null,
      "name": "us-gaap:DerivativeNotionalAmount",
      "reportCount": 1,
      "unique": true,
      "unitRef": "usd",
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "2411405 - Disclosure - Derivative Instruments and Hedging Activities - Interest Rate Swaps (Details)",
     "role": "http://nymtrust.com/role/DerivativeInstrumentsAndHedgingActivitiesInterestRateSwapsDetails",
     "shortName": "Derivative Instruments and Hedging Activities - Interest Rate Swaps (Details)",
     "subGroupType": "details",
     "uniqueAnchor": {
      "ancestors": [
       "span",
       "span",
       "div",
       "td",
       "tr",
       "table",
       "div",
       "div",
       "us-gaap:ScheduleOfNotionalAmountsOfOutstandingDerivativePositionsTableTextBlock",
       "ix:continuation",
       "body",
       "html"
      ],
      "baseRef": "nymt-09302019x10q.htm",
      "contextRef": "FI2019Q3_us-gaap_DerivativeInstrumentRiskAxis_us-gaap_InterestRateSwapMember_us-gaap_DerivativeInstrumentsGainLossByHedgingRelationshipAxis_us-gaap_CashFlowHedgingMember_us-gaap_HedgingDesignationAxis_us-gaap_DesignatedAsHedgingInstrumentMember",
      "decimals": "INF",
      "first": true,
      "lang": null,
      "name": "us-gaap:DerivativeNotionalAmount",
      "reportCount": 1,
      "unique": true,
      "unitRef": "usd",
      "xsiNil": "false"
     }
    },
    "R78": {
     "firstAnchor": {
      "ancestors": [
       "span",
       "span",
       "div",
       "ix:continuation",
       "body",
       "html"
      ],
      "baseRef": "nymt-09302019x10q.htm",
      "contextRef": "FD2019Q3YTD",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:RepurchaseAgreementCounterpartyWeightedAverageMaturityOfAgreements1",
      "reportCount": 1,
      "unitRef": null,
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "2412402 - Disclosure - Repurchase Agreements - Narrative (Details)",
     "role": "http://nymtrust.com/role/RepurchaseAgreementsNarrativeDetails",
     "shortName": "Repurchase Agreements - Narrative (Details)",
     "subGroupType": "details",
     "uniqueAnchor": {
      "ancestors": [
       "span",
       "span",
       "div",
       "ix:continuation",
       "body",
       "html"
      ],
      "baseRef": "nymt-09302019x10q.htm",
      "contextRef": "FI2019Q3",
      "decimals": "-5",
      "lang": null,
      "name": "us-gaap:InterestPayableCurrentAndNoncurrent",
      "reportCount": 1,
      "unique": true,
      "unitRef": "usd",
      "xsiNil": "false"
     }
    },
    "R79": {
     "firstAnchor": {
      "ancestors": [
       "span",
       "span",
       "div",
       "td",
       "tr",
       "table",
       "div",
       "div",
       "us-gaap:ScheduleOfFinancialInstrumentsOwnedAndPledgedAsCollateralTextBlock",
       "ix:continuation",
       "body",
       "html"
      ],
      "baseRef": "nymt-09302019x10q.htm",
      "contextRef": "FI2019Q3",
      "decimals": "-3",
      "first": true,
      "lang": null,
      "name": "us-gaap:SecuritiesSoldUnderAgreementsToRepurchase",
      "reportCount": 1,
      "unitRef": "usd",
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "2412403 - Disclosure - Repurchase Agreements - Assets Pledged as Collateral (Details)",
     "role": "http://nymtrust.com/role/RepurchaseAgreementsAssetsPledgedAsCollateralDetails",
     "shortName": "Repurchase Agreements - Assets Pledged as Collateral (Details)",
     "subGroupType": "details",
     "uniqueAnchor": {
      "ancestors": [
       "span",
       "span",
       "div",
       "td",
       "tr",
       "table",
       "div",
       "div",
       "us-gaap:ScheduleOfFinancialInstrumentsOwnedAndPledgedAsCollateralTextBlock",
       "ix:continuation",
       "body",
       "html"
      ],
      "baseRef": "nymt-09302019x10q.htm",
      "contextRef": "FI2019Q3",
      "decimals": "-3",
      "lang": null,
      "name": "us-gaap:SecurityOwnedAndPledgedAsCollateralFairValue",
      "reportCount": 1,
      "unique": true,
      "unitRef": "usd",
      "xsiNil": "false"
     }
    },
    "R8": {
     "firstAnchor": {
      "ancestors": [
       "td",
       "tr",
       "table",
       "body",
       "html"
      ],
      "baseRef": "nymt-09302019x10q.htm",
      "contextRef": "FD2019Q3YTD",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:OrganizationConsolidationAndPresentationOfFinancialStatementsDisclosureTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "2101100 - Disclosure - Organization",
     "role": "http://nymtrust.com/role/Organization",
     "shortName": "Organization",
     "subGroupType": "",
     "uniqueAnchor": {
      "ancestors": [
       "td",
       "tr",
       "table",
       "body",
       "html"
      ],
      "baseRef": "nymt-09302019x10q.htm",
      "contextRef": "FD2019Q3YTD",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:OrganizationConsolidationAndPresentationOfFinancialStatementsDisclosureTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     }
    },
    "R80": {
     "firstAnchor": {
      "ancestors": [
       "span",
       "span",
       "div",
       "td",
       "tr",
       "table",
       "div",
       "div",
       "us-gaap:ScheduleOfFinancialInstrumentsOwnedAndPledgedAsCollateralTextBlock",
       "ix:continuation",
       "body",
       "html"
      ],
      "baseRef": "nymt-09302019x10q.htm",
      "contextRef": "FI2019Q3",
      "decimals": "-3",
      "first": true,
      "lang": null,
      "name": "us-gaap:SecuritiesSoldUnderAgreementsToRepurchase",
      "reportCount": 1,
      "unitRef": "usd",
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "2412404 - Disclosure - Repurchase Agreements - Outstanding Repurchase Agreement Borrowings by Contractual Maturity (Details)",
     "role": "http://nymtrust.com/role/RepurchaseAgreementsOutstandingRepurchaseAgreementBorrowingsByContractualMaturityDetails",
     "shortName": "Repurchase Agreements - Outstanding Repurchase Agreement Borrowings by Contractual Maturity (Details)",
     "subGroupType": "details",
     "uniqueAnchor": {
      "ancestors": [
       "span",
       "span",
       "div",
       "td",
       "tr",
       "table",
       "div",
       "div",
       "nymt:OutstandingRepurchaseAgreementsByContractualMaturityTableTextBlock",
       "ix:continuation",
       "body",
       "html"
      ],
      "baseRef": "nymt-09302019x10q.htm",
      "contextRef": "FI2019Q3_us-gaap_AssetsSoldUnderAgreementsToRepurchaseMaturityPeriodsAxis_us-gaap_MaturityUpTo30DaysMember",
      "decimals": "-3",
      "lang": null,
      "name": "us-gaap:SecuritiesSoldUnderAgreementsToRepurchase",
      "reportCount": 1,
      "unique": true,
      "unitRef": "usd",
      "xsiNil": "false"
     }
    },
    "R81": {
     "firstAnchor": {
      "ancestors": [
       "span",
       "span",
       "div",
       "ix:continuation",
       "body",
       "html"
      ],
      "baseRef": "nymt-09302019x10q.htm",
      "contextRef": "FD2019Q3YTD",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:RepurchaseAgreementCounterpartyWeightedAverageMaturityOfAgreements1",
      "reportCount": 1,
      "unitRef": null,
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "2412405 - Disclosure - Repurchase Agreements - Borrowings Under Financing Arrangements and Associated Assets Pledged as Collateral (Details)",
     "role": "http://nymtrust.com/role/RepurchaseAgreementsBorrowingsUnderFinancingArrangementsAndAssociatedAssetsPledgedAsCollateralDetails",
     "shortName": "Repurchase Agreements - Borrowings Under Financing Arrangements and Associated Assets Pledged as Collateral (Details)",
     "subGroupType": "details",
     "uniqueAnchor": {
      "ancestors": [
       "span",
       "span",
       "div",
       "td",
       "tr",
       "table",
       "div",
       "div",
       "ix:continuation",
       "ix:continuation",
       "body",
       "html"
      ],
      "baseRef": "nymt-09302019x10q.htm",
      "contextRef": "FI2019Q3_us-gaap_AssetsSoldUnderAgreementsToRepurchaseAxis_us-gaap_ResidentialMortgageMember",
      "decimals": "-3",
      "lang": null,
      "name": "nymt:AssetsSoldUnderAgreementsToRepurchaseMaximumRepurchaseAmount",
      "reportCount": 1,
      "unique": true,
      "unitRef": "usd",
      "xsiNil": "false"
     }
    },
    "R82": {
     "firstAnchor": {
      "ancestors": [
       "span",
       "span",
       "div",
       "td",
       "tr",
       "table",
       "div",
       "div",
       "ix:continuation",
       "ix:continuation",
       "body",
       "html"
      ],
      "baseRef": "nymt-09302019x10q.htm",
      "contextRef": "FI2019Q3",
      "decimals": "-3",
      "first": true,
      "lang": null,
      "name": "us-gaap:MortgageLoansOnRealEstateCommercialAndConsumerNet",
      "reportCount": 1,
      "unitRef": "usd",
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "2414402 - Disclosure - Debt - Narrative (Details)",
     "role": "http://nymtrust.com/role/DebtNarrativeDetails",
     "shortName": "Debt - Narrative (Details)",
     "subGroupType": "details",
     "uniqueAnchor": {
      "ancestors": [
       "span",
       "span",
       "div",
       "ix:continuation",
       "body",
       "html"
      ],
      "baseRef": "nymt-09302019x10q.htm",
      "contextRef": "FI2019Q3",
      "decimals": "INF",
      "lang": null,
      "name": "nymt:NumberofResidentialCollateralizedDebtObligationSecuritizations",
      "reportCount": 1,
      "unique": true,
      "unitRef": "securitization",
      "xsiNil": "false"
     }
    },
    "R83": {
     "firstAnchor": {
      "ancestors": [
       "span",
       "span",
       "div",
       "td",
       "tr",
       "table",
       "div",
       "div",
       "ix:continuation",
       "ix:continuation",
       "body",
       "html"
      ],
      "baseRef": "nymt-09302019x10q.htm",
      "contextRef": "FI2019Q3_us-gaap_SubordinatedBorrowingAxis_nymt_NYMPreferredTrustIMember",
      "decimals": "INF",
      "first": true,
      "lang": null,
      "name": "us-gaap:DebtInstrumentFaceAmount",
      "reportCount": 1,
      "unique": true,
      "unitRef": "usd",
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "2414403 - Disclosure - Debt - Preferred Securities (Details)",
     "role": "http://nymtrust.com/role/DebtPreferredSecuritiesDetails",
     "shortName": "Debt - Preferred Securities (Details)",
     "subGroupType": "details",
     "uniqueAnchor": {
      "ancestors": [
       "span",
       "span",
       "div",
       "td",
       "tr",
       "table",
       "div",
       "div",
       "ix:continuation",
       "ix:continuation",
       "body",
       "html"
      ],
      "baseRef": "nymt-09302019x10q.htm",
      "contextRef": "FI2019Q3_us-gaap_SubordinatedBorrowingAxis_nymt_NYMPreferredTrustIMember",
      "decimals": "INF",
      "first": true,
      "lang": null,
      "name": "us-gaap:DebtInstrumentFaceAmount",
      "reportCount": 1,
      "unique": true,
      "unitRef": "usd",
      "xsiNil": "false"
     }
    },
    "R84": {
     "firstAnchor": {
      "ancestors": [
       "span",
       "span",
       "div",
       "td",
       "tr",
       "table",
       "div",
       "div",
       "us-gaap:ScheduleOfDebtInstrumentsTextBlock",
       "ix:continuation",
       "body",
       "html"
      ],
      "baseRef": "nymt-09302019x10q.htm",
      "contextRef": "FI2019Q3_srt_ScheduleOfEquityMethodInvestmentEquityMethodInvesteeNameAxis_nymt_KRVIMember_us-gaap_LongtermDebtTypeAxis_us-gaap_MortgagesMember_us-gaap_VariableInterestEntitiesByClassificationOfEntityAxis_us-gaap_VariableInterestEntityPrimaryBeneficiaryMember",
      "decimals": "-3",
      "first": true,
      "lang": null,
      "name": "us-gaap:DebtInstrumentCarryingAmount",
      "reportCount": 1,
      "unitRef": "usd",
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "2414404 - Disclosure - Debt - Schedule of VIE Debt (Details)",
     "role": "http://nymtrust.com/role/DebtScheduleOfVieDebtDetails",
     "shortName": "Debt - Schedule of VIE Debt (Details)",
     "subGroupType": "details",
     "uniqueAnchor": {
      "ancestors": [
       "span",
       "span",
       "div",
       "td",
       "tr",
       "table",
       "div",
       "div",
       "us-gaap:ScheduleOfDebtInstrumentsTextBlock",
       "ix:continuation",
       "body",
       "html"
      ],
      "baseRef": "nymt-09302019x10q.htm",
      "contextRef": "FI2019Q3_srt_ScheduleOfEquityMethodInvestmentEquityMethodInvesteeNameAxis_nymt_KRVIMember_us-gaap_LongtermDebtTypeAxis_us-gaap_MortgagesMember_us-gaap_VariableInterestEntitiesByClassificationOfEntityAxis_us-gaap_VariableInterestEntityPrimaryBeneficiaryMember",
      "decimals": "-3",
      "lang": null,
      "name": "us-gaap:DeferredFinanceCostsNet",
      "reportCount": 1,
      "unique": true,
      "unitRef": "usd",
      "xsiNil": "false"
     }
    },
    "R85": {
     "firstAnchor": {
      "ancestors": [
       "span",
       "span",
       "div",
       "td",
       "tr",
       "table",
       "div",
       "div",
       "ix:continuation",
       "ix:continuation",
       "body",
       "html"
      ],
      "baseRef": "nymt-09302019x10q.htm",
      "contextRef": "FI2019Q3",
      "decimals": "-3",
      "first": true,
      "lang": null,
      "name": "us-gaap:LongTermDebtMaturitiesRepaymentsOfPrincipalRemainderOfFiscalYear",
      "reportCount": 1,
      "unique": true,
      "unitRef": "usd",
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "2414405 - Disclosure - Debt - Schedule of Maturities of Long-Term Debt (Details)",
     "role": "http://nymtrust.com/role/DebtScheduleOfMaturitiesOfLongTermDebtDetails",
     "shortName": "Debt - Schedule of Maturities of Long-Term Debt (Details)",
     "subGroupType": "details",
     "uniqueAnchor": {
      "ancestors": [
       "span",
       "span",
       "div",
       "td",
       "tr",
       "table",
       "div",
       "div",
       "ix:continuation",
       "ix:continuation",
       "body",
       "html"
      ],
      "baseRef": "nymt-09302019x10q.htm",
      "contextRef": "FI2019Q3",
      "decimals": "-3",
      "first": true,
      "lang": null,
      "name": "us-gaap:LongTermDebtMaturitiesRepaymentsOfPrincipalRemainderOfFiscalYear",
      "reportCount": 1,
      "unique": true,
      "unitRef": "usd",
      "xsiNil": "false"
     }
    },
    "R86": {
     "firstAnchor": {
      "ancestors": [
       "span",
       "span",
       "div",
       "td",
       "tr",
       "table",
       "div",
       "div",
       "body",
       "html"
      ],
      "baseRef": "nymt-09302019x10q.htm",
      "contextRef": "FD2019Q3YTD",
      "decimals": "-3",
      "first": true,
      "lang": null,
      "name": "us-gaap:PaymentsToAcquireAvailableForSaleSecuritiesDebt",
      "reportCount": 1,
      "unitRef": "usd",
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "2415401 - Disclosure - Commitments and Contingencies - Commitments (Details)",
     "role": "http://nymtrust.com/role/CommitmentsAndContingenciesCommitmentsDetails",
     "shortName": "Commitments and Contingencies - Commitments (Details)",
     "subGroupType": "details",
     "uniqueAnchor": {
      "ancestors": [
       "span",
       "span",
       "div",
       "ix:continuation",
       "body",
       "html"
      ],
      "baseRef": "nymt-09302019x10q.htm",
      "contextRef": "FD2019Q3QTD_us-gaap_FinancialInstrumentAxis_nymt_FreddieMacMortgageBackedSecuritiesMember_us-gaap_OtherCommitmentsAxis_nymt_CommitmentToPurchaseFreddieMacMortgagebackedSecuritiesMember",
      "decimals": "-5",
      "lang": null,
      "name": "us-gaap:PaymentsToAcquireAvailableForSaleSecuritiesDebt",
      "reportCount": 1,
      "unique": true,
      "unitRef": "usd",
      "xsiNil": "false"
     }
    },
    "R87": {
     "firstAnchor": {
      "ancestors": [
       "span",
       "span",
       "div",
       "ix:continuation",
       "body",
       "html"
      ],
      "baseRef": "nymt-09302019x10q.htm",
      "contextRef": "FI2018Q4_srt_RangeAxis_srt_MinimumMember_us-gaap_FinancialInstrumentAxis_us-gaap_CommercialMortgageBackedSecuritiesMember_us-gaap_MeasurementInputTypeAxis_us-gaap_MeasurementInputDiscountRateMember",
      "decimals": "3",
      "first": true,
      "lang": null,
      "name": "us-gaap:DebtSecuritiesAvailableForSaleMeasurementInput",
      "reportCount": 1,
      "unique": true,
      "unitRef": "pure",
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "2416402 - Disclosure - Fair Value of Financial Instruments - Narrative (Details)",
     "role": "http://nymtrust.com/role/FairValueOfFinancialInstrumentsNarrativeDetails",
     "shortName": "Fair Value of Financial Instruments - Narrative (Details)",
     "subGroupType": "details",
     "uniqueAnchor": {
      "ancestors": [
       "span",
       "span",
       "div",
       "ix:continuation",
       "body",
       "html"
      ],
      "baseRef": "nymt-09302019x10q.htm",
      "contextRef": "FI2018Q4_srt_RangeAxis_srt_MinimumMember_us-gaap_FinancialInstrumentAxis_us-gaap_CommercialMortgageBackedSecuritiesMember_us-gaap_MeasurementInputTypeAxis_us-gaap_MeasurementInputDiscountRateMember",
      "decimals": "3",
      "first": true,
      "lang": null,
      "name": "us-gaap:DebtSecuritiesAvailableForSaleMeasurementInput",
      "reportCount": 1,
      "unique": true,
      "unitRef": "pure",
      "xsiNil": "false"
     }
    },
    "R88": {
     "firstAnchor": {
      "ancestors": [
       "span",
       "span",
       "div",
       "td",
       "tr",
       "table",
       "div",
       "div",
       "ix:continuation",
       "ix:continuation",
       "body",
       "html"
      ],
      "baseRef": "nymt-09302019x10q.htm",
      "contextRef": "FI2019Q3",
      "decimals": "-3",
      "first": true,
      "lang": null,
      "name": "us-gaap:AvailableForSaleSecuritiesDebtSecurities",
      "reportCount": 1,
      "unitRef": "usd",
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "2416403 - Disclosure - Fair Value of Financial Instruments - Assets and Liabilities Measured at Fair Value on a Recurring Basis (Details)",
     "role": "http://nymtrust.com/role/FairValueOfFinancialInstrumentsAssetsAndLiabilitiesMeasuredAtFairValueOnRecurringBasisDetails",
     "shortName": "Fair Value of Financial Instruments - Assets and Liabilities Measured at Fair Value on a Recurring Basis (Details)",
     "subGroupType": "details",
     "uniqueAnchor": {
      "ancestors": [
       "span",
       "span",
       "div",
       "td",
       "tr",
       "table",
       "div",
       "div",
       "us-gaap:ScheduleOfFairValueAssetsAndLiabilitiesMeasuredOnRecurringBasisTableTextBlock",
       "ix:continuation",
       "body",
       "html"
      ],
      "baseRef": "nymt-09302019x10q.htm",
      "contextRef": "FI2019Q3_us-gaap_FairValueByMeasurementFrequencyAxis_us-gaap_FairValueMeasurementsRecurringMember",
      "decimals": "-3",
      "lang": null,
      "name": "nymt:FinancialInstrumentsOwnedDistressedAndOtherResidentialMortgageLoansatFairValue",
      "reportCount": 1,
      "unique": true,
      "unitRef": "usd",
      "xsiNil": "false"
     }
    },
    "R89": {
     "firstAnchor": {
      "ancestors": [
       "span",
       "span",
       "div",
       "td",
       "tr",
       "table",
       "div",
       "div",
       "us-gaap:FairValueAssetsMeasuredOnRecurringBasisUnobservableInputReconciliationTextBlock",
       "ix:continuation",
       "body",
       "html"
      ],
      "baseRef": "nymt-09302019x10q.htm",
      "contextRef": "FI2018Q4",
      "decimals": "-3",
      "first": true,
      "lang": null,
      "name": "us-gaap:FairValueMeasurementWithUnobservableInputsReconciliationRecurringBasisAssetValue",
      "reportCount": 1,
      "unique": true,
      "unitRef": "usd",
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "2416404 - Disclosure - Fair Value of Financial Instruments - Valuation for Level 3 Assets (Details)",
     "role": "http://nymtrust.com/role/FairValueOfFinancialInstrumentsValuationForLevel3AssetsDetails",
     "shortName": "Fair Value of Financial Instruments - Valuation for Level 3 Assets (Details)",
     "subGroupType": "details",
     "uniqueAnchor": {
      "ancestors": [
       "span",
       "span",
       "div",
       "td",
       "tr",
       "table",
       "div",
       "div",
       "us-gaap:FairValueAssetsMeasuredOnRecurringBasisUnobservableInputReconciliationTextBlock",
       "ix:continuation",
       "body",
       "html"
      ],
      "baseRef": "nymt-09302019x10q.htm",
      "contextRef": "FI2018Q4",
      "decimals": "-3",
      "first": true,
      "lang": null,
      "name": "us-gaap:FairValueMeasurementWithUnobservableInputsReconciliationRecurringBasisAssetValue",
      "reportCount": 1,
      "unique": true,
      "unitRef": "usd",
      "xsiNil": "false"
     }
    },
    "R9": {
     "firstAnchor": {
      "ancestors": [
       "div",
       "body",
       "html"
      ],
      "baseRef": "nymt-09302019x10q.htm",
      "contextRef": "FD2019Q3YTD",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:SignificantAccountingPoliciesTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "2102100 - Disclosure - Summary of Significant Accounting Policies",
     "role": "http://nymtrust.com/role/SummaryOfSignificantAccountingPolicies",
     "shortName": "Summary of Significant Accounting Policies",
     "subGroupType": "",
     "uniqueAnchor": {
      "ancestors": [
       "div",
       "body",
       "html"
      ],
      "baseRef": "nymt-09302019x10q.htm",
      "contextRef": "FD2019Q3YTD",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:SignificantAccountingPoliciesTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     }
    },
    "R90": {
     "firstAnchor": {
      "ancestors": [
       "span",
       "span",
       "div",
       "td",
       "tr",
       "table",
       "div",
       "div",
       "ix:continuation",
       "ix:continuation",
       "body",
       "html"
      ],
      "baseRef": "nymt-09302019x10q.htm",
      "contextRef": "FI2018Q4",
      "decimals": "-3",
      "first": true,
      "lang": null,
      "name": "us-gaap:FairValueMeasurementWithUnobservableInputsReconciliationsRecurringBasisLiabilityValue",
      "reportCount": 1,
      "unique": true,
      "unitRef": "usd",
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "2416405 - Disclosure - Fair Value of Financial Instruments - Valuation for Level 3 Liabilities (Details)",
     "role": "http://nymtrust.com/role/FairValueOfFinancialInstrumentsValuationForLevel3LiabilitiesDetails",
     "shortName": "Fair Value of Financial Instruments - Valuation for Level 3 Liabilities (Details)",
     "subGroupType": "details",
     "uniqueAnchor": {
      "ancestors": [
       "span",
       "span",
       "div",
       "td",
       "tr",
       "table",
       "div",
       "div",
       "ix:continuation",
       "ix:continuation",
       "body",
       "html"
      ],
      "baseRef": "nymt-09302019x10q.htm",
      "contextRef": "FI2018Q4",
      "decimals": "-3",
      "first": true,
      "lang": null,
      "name": "us-gaap:FairValueMeasurementWithUnobservableInputsReconciliationsRecurringBasisLiabilityValue",
      "reportCount": 1,
      "unique": true,
      "unitRef": "usd",
      "xsiNil": "false"
     }
    },
    "R91": {
     "firstAnchor": {
      "ancestors": [
       "span",
       "span",
       "div",
       "td",
       "tr",
       "table",
       "div",
       "div",
       "us-gaap:FairValueAssetsAndLiabilitiesMeasuredOnRecurringBasisGainLossIncludedInEarningsTextBlock",
       "ix:continuation",
       "body",
       "html"
      ],
      "baseRef": "nymt-09302019x10q.htm",
      "contextRef": "FD2019Q3QTD_us-gaap_FairValueByFairValueHierarchyLevelAxis_us-gaap_FairValueInputsLevel3Member",
      "decimals": "-3",
      "first": true,
      "lang": null,
      "name": "us-gaap:FairValueLiabilitiesMeasuredOnRecurringBasisChangeInUnrealizedGainLoss",
      "reportCount": 1,
      "unique": true,
      "unitRef": "usd",
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "2416406 - Disclosure - Fair Value of Financial Instruments - Changes in Unrealized Gains (Losses) Included in Earnings for Level 3 Assets and Liabilities (Details)",
     "role": "http://nymtrust.com/role/FairValueOfFinancialInstrumentsChangesInUnrealizedGainsLossesIncludedInEarningsForLevel3AssetsAndLiabilitiesDetails",
     "shortName": "Fair Value of Financial Instruments - Changes in Unrealized Gains (Losses) Included in Earnings for Level 3 Assets and Liabilities (Details)",
     "subGroupType": "details",
     "uniqueAnchor": {
      "ancestors": [
       "span",
       "span",
       "div",
       "td",
       "tr",
       "table",
       "div",
       "div",
       "us-gaap:FairValueAssetsAndLiabilitiesMeasuredOnRecurringBasisGainLossIncludedInEarningsTextBlock",
       "ix:continuation",
       "body",
       "html"
      ],
      "baseRef": "nymt-09302019x10q.htm",
      "contextRef": "FD2019Q3QTD_us-gaap_FairValueByFairValueHierarchyLevelAxis_us-gaap_FairValueInputsLevel3Member",
      "decimals": "-3",
      "first": true,
      "lang": null,
      "name": "us-gaap:FairValueLiabilitiesMeasuredOnRecurringBasisChangeInUnrealizedGainLoss",
      "reportCount": 1,
      "unique": true,
      "unitRef": "usd",
      "xsiNil": "false"
     }
    },
    "R92": {
     "firstAnchor": {
      "ancestors": [
       "span",
       "span",
       "div",
       "td",
       "tr",
       "table",
       "div",
       "div",
       "us-gaap:FairValueAssetsMeasuredOnNonrecurringBasisTextBlock",
       "ix:continuation",
       "body",
       "html"
      ],
      "baseRef": "nymt-09302019x10q.htm",
      "contextRef": "FI2019Q3_srt_MortgageLoansOnRealEstateLoanTypeAxis_nymt_ResidentialMortgageLoansHeldInSecuritizationTrustsImpairedLoansMember_us-gaap_FairValueByMeasurementFrequencyAxis_us-gaap_FairValueMeasurementsNonrecurringMember",
      "decimals": "-3",
      "first": true,
      "lang": null,
      "name": "us-gaap:MortgageBackedSecuritiesHeldToMaturityFairValueDisclosure",
      "reportCount": 1,
      "unique": true,
      "unitRef": "usd",
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "2416407 - Disclosure - Fair Value of Financial Instruments - Assets Measured at Fair Value on a Nonrecurring Basis (Details)",
     "role": "http://nymtrust.com/role/FairValueOfFinancialInstrumentsAssetsMeasuredAtFairValueOnNonrecurringBasisDetails",
     "shortName": "Fair Value of Financial Instruments - Assets Measured at Fair Value on a Nonrecurring Basis (Details)",
     "subGroupType": "details",
     "uniqueAnchor": {
      "ancestors": [
       "span",
       "span",
       "div",
       "td",
       "tr",
       "table",
       "div",
       "div",
       "us-gaap:FairValueAssetsMeasuredOnNonrecurringBasisTextBlock",
       "ix:continuation",
       "body",
       "html"
      ],
      "baseRef": "nymt-09302019x10q.htm",
      "contextRef": "FI2019Q3_srt_MortgageLoansOnRealEstateLoanTypeAxis_nymt_ResidentialMortgageLoansHeldInSecuritizationTrustsImpairedLoansMember_us-gaap_FairValueByMeasurementFrequencyAxis_us-gaap_FairValueMeasurementsNonrecurringMember",
      "decimals": "-3",
      "first": true,
      "lang": null,
      "name": "us-gaap:MortgageBackedSecuritiesHeldToMaturityFairValueDisclosure",
      "reportCount": 1,
      "unique": true,
      "unitRef": "usd",
      "xsiNil": "false"
     }
    },
    "R93": {
     "firstAnchor": {
      "ancestors": [
       "span",
       "span",
       "div",
       "td",
       "tr",
       "table",
       "div",
       "div",
       "ix:continuation",
       "ix:continuation",
       "body",
       "html"
      ],
      "baseRef": "nymt-09302019x10q.htm",
      "contextRef": "FD2019Q3QTD_us-gaap_FairValueByAssetClassAxis_nymt_ResidentialMortgageLoansHeldInSecuritizationTrustsImpairedLoansMember",
      "decimals": "-3",
      "first": true,
      "lang": null,
      "name": "us-gaap:FairValueOptionCreditRiskGainsLossesOnAssets",
      "reportCount": 1,
      "unique": true,
      "unitRef": "usd",
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "2416408 - Disclosure - Fair Value of Financial Instruments - Gains (losses) Incurred for Assets Measured at Fair Value (Details)",
     "role": "http://nymtrust.com/role/FairValueOfFinancialInstrumentsGainsLossesIncurredForAssetsMeasuredAtFairValueDetails",
     "shortName": "Fair Value of Financial Instruments - Gains (losses) Incurred for Assets Measured at Fair Value (Details)",
     "subGroupType": "details",
     "uniqueAnchor": {
      "ancestors": [
       "span",
       "span",
       "div",
       "td",
       "tr",
       "table",
       "div",
       "div",
       "ix:continuation",
       "ix:continuation",
       "body",
       "html"
      ],
      "baseRef": "nymt-09302019x10q.htm",
      "contextRef": "FD2019Q3QTD_us-gaap_FairValueByAssetClassAxis_nymt_ResidentialMortgageLoansHeldInSecuritizationTrustsImpairedLoansMember",
      "decimals": "-3",
      "first": true,
      "lang": null,
      "name": "us-gaap:FairValueOptionCreditRiskGainsLossesOnAssets",
      "reportCount": 1,
      "unique": true,
      "unitRef": "usd",
      "xsiNil": "false"
     }
    },
    "R94": {
     "firstAnchor": {
      "ancestors": [
       "span",
       "span",
       "div",
       "td",
       "tr",
       "table",
       "div",
       "div",
       "body",
       "html"
      ],
      "baseRef": "nymt-09302019x10q.htm",
      "contextRef": "FI2019Q3",
      "decimals": "-3",
      "first": true,
      "lang": null,
      "name": "us-gaap:CashAndCashEquivalentsAtCarryingValue",
      "reportCount": 1,
      "unitRef": "usd",
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "2416409 - Disclosure - Fair Value of Financial Instruments - Carrying Value and Estimated Fair Value of the Company's Financial Assets (Details)",
     "role": "http://nymtrust.com/role/FairValueOfFinancialInstrumentsCarryingValueAndEstimatedFairValueOfCompanysFinancialAssetsDetails",
     "shortName": "Fair Value of Financial Instruments - Carrying Value and Estimated Fair Value of the Company's Financial Assets (Details)",
     "subGroupType": "details",
     "uniqueAnchor": {
      "ancestors": [
       "span",
       "span",
       "div",
       "td",
       "tr",
       "table",
       "div",
       "div",
       "ix:continuation",
       "ix:continuation",
       "body",
       "html"
      ],
      "baseRef": "nymt-09302019x10q.htm",
      "contextRef": "FI2019Q3_us-gaap_FairValueByFairValueHierarchyLevelAxis_us-gaap_FairValueInputsLevel1Member",
      "decimals": "-3",
      "lang": null,
      "name": "us-gaap:CashAndCashEquivalentsAtCarryingValue",
      "reportCount": 1,
      "unique": true,
      "unitRef": "usd",
      "xsiNil": "false"
     }
    },
    "R95": {
     "firstAnchor": {
      "ancestors": [
       "span",
       "span",
       "div",
       "ix:continuation",
       "body",
       "html"
      ],
      "baseRef": "nymt-09302019x10q.htm",
      "contextRef": "FI2019Q3",
      "decimals": "0",
      "first": true,
      "lang": null,
      "name": "us-gaap:PreferredStockSharesAuthorized",
      "reportCount": 1,
      "unitRef": "shares",
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "2417402 - Disclosure - Stockholders' Equity - Narrative (Details)",
     "role": "http://nymtrust.com/role/StockholdersEquityNarrativeDetails",
     "shortName": "Stockholders' Equity - Narrative (Details)",
     "subGroupType": "details",
     "uniqueAnchor": {
      "ancestors": [
       "span",
       "span",
       "div",
       "ix:continuation",
       "body",
       "html"
      ],
      "baseRef": "nymt-09302019x10q.htm",
      "contextRef": "FD2019Q3YTD",
      "decimals": null,
      "lang": "en-US",
      "name": "nymt:PreferredStockRedemptionTerm",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     }
    },
    "R96": {
     "firstAnchor": {
      "ancestors": [
       "span",
       "span",
       "div",
       "td",
       "tr",
       "table",
       "div",
       "div",
       "ix:continuation",
       "ix:continuation",
       "body",
       "html"
      ],
      "baseRef": "nymt-09302019x10q.htm",
      "contextRef": "D2019Q3Jul15_us-gaap_StatementClassOfStockAxis_us-gaap_SeriesBPreferredStockMember",
      "decimals": "INF",
      "first": true,
      "lang": null,
      "name": "us-gaap:PreferredStockDividendsPerShareCashPaid",
      "reportCount": 1,
      "unique": true,
      "unitRef": "usdPerShare",
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "2417403 - Disclosure - Stockholders' Equity - Cash Dividends Declared - Preferred Stock (Details)",
     "role": "http://nymtrust.com/role/StockholdersEquityCashDividendsDeclaredPreferredStockDetails",
     "shortName": "Stockholders' Equity - Cash Dividends Declared - Preferred Stock (Details)",
     "subGroupType": "details",
     "uniqueAnchor": {
      "ancestors": [
       "span",
       "span",
       "div",
       "td",
       "tr",
       "table",
       "div",
       "div",
       "ix:continuation",
       "ix:continuation",
       "body",
       "html"
      ],
      "baseRef": "nymt-09302019x10q.htm",
      "contextRef": "D2019Q3Jul15_us-gaap_StatementClassOfStockAxis_us-gaap_SeriesBPreferredStockMember",
      "decimals": "INF",
      "first": true,
      "lang": null,
      "name": "us-gaap:PreferredStockDividendsPerShareCashPaid",
      "reportCount": 1,
      "unique": true,
      "unitRef": "usdPerShare",
      "xsiNil": "false"
     }
    },
    "R97": {
     "firstAnchor": {
      "ancestors": [
       "span",
       "span",
       "div",
       "td",
       "tr",
       "table",
       "div",
       "div",
       "us-gaap:ScheduleOfDividendsPayableTextBlock",
       "ix:continuation",
       "body",
       "html"
      ],
      "baseRef": "nymt-09302019x10q.htm",
      "contextRef": "FD2019Q3QTD",
      "decimals": "INF",
      "first": true,
      "lang": null,
      "name": "us-gaap:CommonStockDividendsPerShareDeclared",
      "reportCount": 1,
      "unique": true,
      "unitRef": "usdPerShare",
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "2417404 - Disclosure - Stockholders' Equity - Cash Dividends Declared - Common Stock (Details)",
     "role": "http://nymtrust.com/role/StockholdersEquityCashDividendsDeclaredCommonStockDetails",
     "shortName": "Stockholders' Equity - Cash Dividends Declared - Common Stock (Details)",
     "subGroupType": "details",
     "uniqueAnchor": {
      "ancestors": [
       "span",
       "span",
       "div",
       "td",
       "tr",
       "table",
       "div",
       "div",
       "us-gaap:ScheduleOfDividendsPayableTextBlock",
       "ix:continuation",
       "body",
       "html"
      ],
      "baseRef": "nymt-09302019x10q.htm",
      "contextRef": "FD2019Q3QTD",
      "decimals": "INF",
      "first": true,
      "lang": null,
      "name": "us-gaap:CommonStockDividendsPerShareDeclared",
      "reportCount": 1,
      "unique": true,
      "unitRef": "usdPerShare",
      "xsiNil": "false"
     }
    },
    "R98": {
     "firstAnchor": {
      "ancestors": [
       "span",
       "span",
       "div",
       "td",
       "tr",
       "table",
       "div",
       "div",
       "us-gaap:ScheduleOfStockByClassTextBlock",
       "ix:continuation",
       "body",
       "html"
      ],
      "baseRef": "nymt-09302019x10q.htm",
      "contextRef": "D2019Q3Sep01-Sep30_us-gaap_StatementEquityComponentsAxis_us-gaap_CommonStockMember_us-gaap_SubsidiarySaleOfStockAxis_nymt_UnderwrittenPublicOfferingMember",
      "decimals": "0",
      "first": true,
      "lang": null,
      "name": "us-gaap:StockIssuedDuringPeriodSharesNewIssues",
      "reportCount": 1,
      "unique": true,
      "unitRef": "shares",
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "2417405 - Disclosure - Stockholders' Equity - Schedule of Public Offering of Common Stock (Details)",
     "role": "http://nymtrust.com/role/StockholdersEquityScheduleOfPublicOfferingOfCommonStockDetails",
     "shortName": "Stockholders' Equity - Schedule of Public Offering of Common Stock (Details)",
     "subGroupType": "details",
     "uniqueAnchor": {
      "ancestors": [
       "span",
       "span",
       "div",
       "td",
       "tr",
       "table",
       "div",
       "div",
       "us-gaap:ScheduleOfStockByClassTextBlock",
       "ix:continuation",
       "body",
       "html"
      ],
      "baseRef": "nymt-09302019x10q.htm",
      "contextRef": "D2019Q3Sep01-Sep30_us-gaap_StatementEquityComponentsAxis_us-gaap_CommonStockMember_us-gaap_SubsidiarySaleOfStockAxis_nymt_UnderwrittenPublicOfferingMember",
      "decimals": "0",
      "first": true,
      "lang": null,
      "name": "us-gaap:StockIssuedDuringPeriodSharesNewIssues",
      "reportCount": 1,
      "unique": true,
      "unitRef": "shares",
      "xsiNil": "false"
     }
    },
    "R99": {
     "firstAnchor": {
      "ancestors": [
       "span",
       "span",
       "div",
       "td",
       "tr",
       "table",
       "div",
       "div",
       "us-gaap:ScheduleOfEarningsPerShareBasicAndDilutedTableTextBlock",
       "ix:continuation",
       "body",
       "html"
      ],
      "baseRef": "nymt-09302019x10q.htm",
      "contextRef": "FD2019Q3QTD",
      "decimals": "-3",
      "first": true,
      "lang": null,
      "name": "us-gaap:NetIncomeLoss",
      "reportCount": 1,
      "unitRef": "usd",
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "2418402 - Disclosure - Earnings Per Share (Details)",
     "role": "http://nymtrust.com/role/EarningsPerShareDetails",
     "shortName": "Earnings Per Share (Details)",
     "subGroupType": "details",
     "uniqueAnchor": {
      "ancestors": [
       "span",
       "span",
       "div",
       "td",
       "tr",
       "table",
       "div",
       "div",
       "us-gaap:ScheduleOfEarningsPerShareBasicAndDilutedTableTextBlock",
       "ix:continuation",
       "body",
       "html"
      ],
      "baseRef": "nymt-09302019x10q.htm",
      "contextRef": "FD2019Q3QTD",
      "decimals": "-3",
      "lang": null,
      "name": "us-gaap:InterestOnConvertibleDebtNetOfTax",
      "reportCount": 1,
      "unique": true,
      "unitRef": "usd",
      "xsiNil": "false"
     }
    },
    "R9999": {
     "firstAnchor": {
      "ancestors": [
       "span",
       "span",
       "div",
       "td",
       "tr",
       "table",
       "div",
       "div",
       "body",
       "html"
      ],
      "baseRef": "nymt-09302019x10q.htm",
      "contextRef": "FI2018Q3",
      "decimals": "-3",
      "first": true,
      "lang": null,
      "name": "us-gaap:RestrictedCashAndCashEquivalents",
      "reportCount": 1,
      "unique": true,
      "unitRef": "usd",
      "xsiNil": "false"
     },
     "groupType": "",
     "isDefault": "false",
     "longName": "Uncategorized Items - nymt-09302019x10q.htm",
     "role": "http://xbrl.sec.gov/role/uncategorizedFacts",
     "shortName": "Uncategorized Items - nymt-09302019x10q.htm",
     "subGroupType": "",
     "uniqueAnchor": {
      "ancestors": [
       "span",
       "span",
       "div",
       "td",
       "tr",
       "table",
       "div",
       "div",
       "body",
       "html"
      ],
      "baseRef": "nymt-09302019x10q.htm",
      "contextRef": "FI2018Q3",
      "decimals": "-3",
      "first": true,
      "lang": null,
      "name": "us-gaap:RestrictedCashAndCashEquivalents",
      "reportCount": 1,
      "unique": true,
      "unitRef": "usd",
      "xsiNil": "false"
     }
    }
   },
   "segmentCount": 196,
   "tag": {
    "dei_AmendmentFlag": {
     "auth_ref": [],
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Boolean flag that is true when the XBRL content amends previously-filed or accepted submission.",
        "label": "Amendment Flag",
        "terseLabel": "Amendment Flag"
       }
      }
     },
     "localname": "AmendmentFlag",
     "nsuri": "http://xbrl.sec.gov/dei/2019-01-31",
     "presentation": [
      "http://nymtrust.com/role/Cover"
     ],
     "xbrltype": "booleanItemType"
    },
    "dei_CityAreaCode": {
     "auth_ref": [],
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Area code of city",
        "label": "City Area Code",
        "terseLabel": "City Area Code"
       }
      }
     },
     "localname": "CityAreaCode",
     "nsuri": "http://xbrl.sec.gov/dei/2019-01-31",
     "presentation": [
      "http://nymtrust.com/role/Cover"
     ],
     "xbrltype": "normalizedStringItemType"
    },
    "dei_CoverAbstract": {
     "auth_ref": [],
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Cover page.",
        "label": "Cover page."
       }
      }
     },
     "localname": "CoverAbstract",
     "nsuri": "http://xbrl.sec.gov/dei/2019-01-31",
     "xbrltype": "stringItemType"
    },
    "dei_CurrentFiscalYearEndDate": {
     "auth_ref": [],
     "lang": {
      "en-US": {
       "role": {
        "documentation": "End date of current fiscal year in the format --MM-DD.",
        "label": "Current Fiscal Year End Date",
        "terseLabel": "Current Fiscal Year End Date"
       }
      }
     },
     "localname": "CurrentFiscalYearEndDate",
     "nsuri": "http://xbrl.sec.gov/dei/2019-01-31",
     "presentation": [
      "http://nymtrust.com/role/Cover"
     ],
     "xbrltype": "gMonthDayItemType"
    },
    "dei_DocumentFiscalPeriodFocus": {
     "auth_ref": [],
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Fiscal period values are FY, Q1, Q2, and Q3.  1st, 2nd and 3rd quarter 10-Q or 10-QT statements have value Q1, Q2, and Q3 respectively, with 10-K, 10-KT or other fiscal year statements having FY.",
        "label": "Document Fiscal Period Focus",
        "terseLabel": "Document Fiscal Period Focus"
       }
      }
     },
     "localname": "DocumentFiscalPeriodFocus",
     "nsuri": "http://xbrl.sec.gov/dei/2019-01-31",
     "presentation": [
      "http://nymtrust.com/role/Cover"
     ],
     "xbrltype": "fiscalPeriodItemType"
    },
    "dei_DocumentFiscalYearFocus": {
     "auth_ref": [],
     "lang": {
      "en-US": {
       "role": {
        "documentation": "This is focus fiscal year of the document report in CCYY format. For a 2006 annual report, which may also provide financial information from prior periods, fiscal 2006 should be given as the fiscal year focus. Example: 2006.",
        "label": "Document Fiscal Year Focus",
        "terseLabel": "Document Fiscal Year Focus"
       }
      }
     },
     "localname": "DocumentFiscalYearFocus",
     "nsuri": "http://xbrl.sec.gov/dei/2019-01-31",
     "presentation": [
      "http://nymtrust.com/role/Cover"
     ],
     "xbrltype": "gYearItemType"
    },
    "dei_DocumentInformationLineItems": {
     "auth_ref": [],
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Line items represent financial concepts included in a table. These concepts are used to disclose reportable information associated with domain members defined in one or many axes to the table.",
        "label": "Document Information [Line Items]",
        "terseLabel": "Document Information [Line Items]"
       }
      }
     },
     "localname": "DocumentInformationLineItems",
     "nsuri": "http://xbrl.sec.gov/dei/2019-01-31",
     "presentation": [
      "http://nymtrust.com/role/Cover"
     ],
     "xbrltype": "stringItemType"
    },
    "dei_DocumentInformationTable": {
     "auth_ref": [],
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Container to support the formal attachment of each official or unofficial, public or private document as part of a submission package.",
        "label": "Document Information [Table]",
        "terseLabel": "Document Information [Table]"
       }
      }
     },
     "localname": "DocumentInformationTable",
     "nsuri": "http://xbrl.sec.gov/dei/2019-01-31",
     "presentation": [
      "http://nymtrust.com/role/Cover"
     ],
     "xbrltype": "stringItemType"
    },
    "dei_DocumentPeriodEndDate": {
     "auth_ref": [],
     "lang": {
      "en-US": {
       "role": {
        "documentation": "The end date of the period reflected on the cover page if a periodic report. For all other reports and registration statements containing historical data, it is the date up through which that historical data is presented.  If there is no historical data in the report, use the filing date. The format of the date is CCYY-MM-DD.",
        "label": "Document Period End Date",
        "terseLabel": "Document Period End Date"
       }
      }
     },
     "localname": "DocumentPeriodEndDate",
     "nsuri": "http://xbrl.sec.gov/dei/2019-01-31",
     "presentation": [
      "http://nymtrust.com/role/Cover"
     ],
     "xbrltype": "dateItemType"
    },
    "dei_DocumentQuarterlyReport": {
     "auth_ref": [
      "r490"
     ],
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Boolean flag that is true only for a form used as an quarterly report.",
        "label": "Document Quarterly Report",
        "terseLabel": "Document Quarterly Report"
       }
      }
     },
     "localname": "DocumentQuarterlyReport",
     "nsuri": "http://xbrl.sec.gov/dei/2019-01-31",
     "presentation": [
      "http://nymtrust.com/role/Cover"
     ],
     "xbrltype": "booleanItemType"
    },
    "dei_DocumentTransitionReport": {
     "auth_ref": [
      "r491"
     ],
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Boolean flag that is true only for a form used as a transition report.",
        "label": "Document Transition Report",
        "terseLabel": "Document Transition Report"
       }
      }
     },
     "localname": "DocumentTransitionReport",
     "nsuri": "http://xbrl.sec.gov/dei/2019-01-31",
     "presentation": [
      "http://nymtrust.com/role/Cover"
     ],
     "xbrltype": "booleanItemType"
    },
    "dei_DocumentType": {
     "auth_ref": [],
     "lang": {
      "en-US": {
       "role": {
        "documentation": "The type of document being provided (such as 10-K, 10-Q, 485BPOS, etc). The document type is limited to the same value as the supporting SEC submission type, or the word 'Other'.",
        "label": "Document Type",
        "terseLabel": "Document Type"
       }
      }
     },
     "localname": "DocumentType",
     "nsuri": "http://xbrl.sec.gov/dei/2019-01-31",
     "presentation": [
      "http://nymtrust.com/role/Cover"
     ],
     "xbrltype": "submissionTypeItemType"
    },
    "dei_EntityAddressAddressLine1": {
     "auth_ref": [],
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Address Line 1 such as Attn, Building Name, Street Name",
        "label": "Entity Address, Address Line One",
        "terseLabel": "Entity Address, Address Line One"
       }
      }
     },
     "localname": "EntityAddressAddressLine1",
     "nsuri": "http://xbrl.sec.gov/dei/2019-01-31",
     "presentation": [
      "http://nymtrust.com/role/Cover"
     ],
     "xbrltype": "normalizedStringItemType"
    },
    "dei_EntityAddressCityOrTown": {
     "auth_ref": [],
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Name of the City or Town",
        "label": "Entity Address, City or Town",
        "terseLabel": "Entity Address, City or Town"
       }
      }
     },
     "localname": "EntityAddressCityOrTown",
     "nsuri": "http://xbrl.sec.gov/dei/2019-01-31",
     "presentation": [
      "http://nymtrust.com/role/Cover"
     ],
     "xbrltype": "normalizedStringItemType"
    },
    "dei_EntityAddressPostalZipCode": {
     "auth_ref": [],
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Code for the postal or zip code",
        "label": "Entity Address, Postal Zip Code",
        "terseLabel": "Entity Address, Postal Zip Code"
       }
      }
     },
     "localname": "EntityAddressPostalZipCode",
     "nsuri": "http://xbrl.sec.gov/dei/2019-01-31",
     "presentation": [
      "http://nymtrust.com/role/Cover"
     ],
     "xbrltype": "normalizedStringItemType"
    },
    "dei_EntityAddressStateOrProvince": {
     "auth_ref": [],
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Name of the state or province.",
        "label": "Entity Address, State or Province",
        "terseLabel": "Entity Address, State or Province"
       }
      }
     },
     "localname": "EntityAddressStateOrProvince",
     "nsuri": "http://xbrl.sec.gov/dei/2019-01-31",
     "presentation": [
      "http://nymtrust.com/role/Cover"
     ],
     "xbrltype": "stateOrProvinceItemType"
    },
    "dei_EntityCentralIndexKey": {
     "auth_ref": [
      "r492"
     ],
     "lang": {
      "en-US": {
       "role": {
        "documentation": "A unique 10-digit SEC-issued value to identify entities that have filed disclosures with the SEC. It is commonly abbreviated as CIK.",
        "label": "Entity Central Index Key",
        "terseLabel": "Entity Central Index Key"
       }
      }
     },
     "localname": "EntityCentralIndexKey",
     "nsuri": "http://xbrl.sec.gov/dei/2019-01-31",
     "presentation": [
      "http://nymtrust.com/role/Cover"
     ],
     "xbrltype": "centralIndexKeyItemType"
    },
    "dei_EntityCommonStockSharesOutstanding": {
     "auth_ref": [],
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Indicate number of shares or other units outstanding of each of registrant's classes of capital or common stock or other ownership interests, if and as stated on cover of related periodic report. Where multiple classes or units exist define each class/interest by adding class of stock items such as Common Class A [Member], Common Class B [Member] or Partnership Interest [Member] onto the Instrument [Domain] of the Entity Listings, Instrument.",
        "label": "Entity Common Stock, Shares Outstanding",
        "terseLabel": "Entity Common Stock, Shares Outstanding"
       }
      }
     },
     "localname": "EntityCommonStockSharesOutstanding",
     "nsuri": "http://xbrl.sec.gov/dei/2019-01-31",
     "presentation": [
      "http://nymtrust.com/role/Cover"
     ],
     "xbrltype": "sharesItemType"
    },
    "dei_EntityCurrentReportingStatus": {
     "auth_ref": [],
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Indicate 'Yes' or 'No' whether registrants (1) have filed all reports required to be filed by Section 13 or 15(d) of the Securities Exchange Act of 1934 during the preceding 12 months (or for such shorter period that registrants were required to file such reports), and (2) have been subject to such filing requirements for the past 90 days. This information should be based on the registrant's current or most recent filing containing the related disclosure.",
        "label": "Entity Current Reporting Status",
        "terseLabel": "Entity Current Reporting Status"
       }
      }
     },
     "localname": "EntityCurrentReportingStatus",
     "nsuri": "http://xbrl.sec.gov/dei/2019-01-31",
     "presentation": [
      "http://nymtrust.com/role/Cover"
     ],
     "xbrltype": "yesNoItemType"
    },
    "dei_EntityDomain": {
     "auth_ref": [],
     "lang": {
      "en-US": {
       "role": {
        "documentation": "All the names of the entities being reported upon in a document. Any legal structure used to conduct activities or to hold assets. Some examples of such structures are corporations, partnerships, limited liability companies, grantor trusts, and other trusts. This item does not include business and geographical segments which are included in the geographical or business segments domains.",
        "label": "Entity [Domain]",
        "terseLabel": "Entity [Domain]"
       }
      }
     },
     "localname": "EntityDomain",
     "nsuri": "http://xbrl.sec.gov/dei/2019-01-31",
     "presentation": [
      "http://nymtrust.com/role/IncomeTaxesNarrativeDetails",
      "http://nymtrust.com/role/UseOfSpecialPurposeEntitiesSpeAndVariableInterestEntitiesVieNarrativeDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "dei_EntityEmergingGrowthCompany": {
     "auth_ref": [
      "r492"
     ],
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Indicate if registrant meets the emerging growth company criteria.",
        "label": "Entity Emerging Growth Company",
        "terseLabel": "Entity Emerging Growth Company"
       }
      }
     },
     "localname": "EntityEmergingGrowthCompany",
     "nsuri": "http://xbrl.sec.gov/dei/2019-01-31",
     "presentation": [
      "http://nymtrust.com/role/Cover"
     ],
     "xbrltype": "booleanItemType"
    },
    "dei_EntityFileNumber": {
     "auth_ref": [],
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Commission file number. The field allows up to 17 characters. The prefix may contain 1-3 digits, the sequence number may contain 1-8 digits, the optional suffix may contain 1-4 characters, and the fields are separated with a hyphen.",
        "label": "Entity File Number",
        "terseLabel": "Entity File Number"
       }
      }
     },
     "localname": "EntityFileNumber",
     "nsuri": "http://xbrl.sec.gov/dei/2019-01-31",
     "presentation": [
      "http://nymtrust.com/role/Cover"
     ],
     "xbrltype": "fileNumberItemType"
    },
    "dei_EntityFilerCategory": {
     "auth_ref": [
      "r492"
     ],
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Indicate whether the registrant is one of the following: Large Accelerated Filer, Accelerated Filer, Non-accelerated Filer. Definitions of these categories are stated in Rule 12b-2 of the Exchange Act. This information should be based on the registrant's current or most recent filing containing the related disclosure.",
        "label": "Entity Filer Category",
        "terseLabel": "Entity Filer Category"
       }
      }
     },
     "localname": "EntityFilerCategory",
     "nsuri": "http://xbrl.sec.gov/dei/2019-01-31",
     "presentation": [
      "http://nymtrust.com/role/Cover"
     ],
     "xbrltype": "filerCategoryItemType"
    },
    "dei_EntityIncorporationStateCountryCode": {
     "auth_ref": [],
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Two-character EDGAR code representing the state or country of incorporation.",
        "label": "Entity Incorporation, State or Country Code",
        "terseLabel": "Entity Incorporation, State or Country Code"
       }
      }
     },
     "localname": "EntityIncorporationStateCountryCode",
     "nsuri": "http://xbrl.sec.gov/dei/2019-01-31",
     "presentation": [
      "http://nymtrust.com/role/Cover"
     ],
     "xbrltype": "edgarStateCountryItemType"
    },
    "dei_EntityInteractiveDataCurrent": {
     "auth_ref": [
      "r493"
     ],
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Boolean flag that is true when the registrant has submitted electronically every Interactive Data File required to be submitted pursuant to Rule 405 of Regulation S-T during the preceding 12 months (or for such shorter period that the registrant was required to submit such files).",
        "label": "Entity Interactive Data Current",
        "terseLabel": "Entity Interactive Data Current"
       }
      }
     },
     "localname": "EntityInteractiveDataCurrent",
     "nsuri": "http://xbrl.sec.gov/dei/2019-01-31",
     "presentation": [
      "http://nymtrust.com/role/Cover"
     ],
     "xbrltype": "yesNoItemType"
    },
    "dei_EntityRegistrantName": {
     "auth_ref": [
      "r492"
     ],
     "lang": {
      "en-US": {
       "role": {
        "documentation": "The exact name of the entity filing the report as specified in its charter, which is required by forms filed with the SEC.",
        "label": "Entity Registrant Name",
        "terseLabel": "Entity Registrant Name"
       }
      }
     },
     "localname": "EntityRegistrantName",
     "nsuri": "http://xbrl.sec.gov/dei/2019-01-31",
     "presentation": [
      "http://nymtrust.com/role/Cover"
     ],
     "xbrltype": "normalizedStringItemType"
    },
    "dei_EntityShellCompany": {
     "auth_ref": [
      "r492"
     ],
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Boolean flag that is true when the registrant is a shell company as defined in Rule 12b-2 of the Exchange Act.",
        "label": "Entity Shell Company",
        "terseLabel": "Entity Shell Company"
       }
      }
     },
     "localname": "EntityShellCompany",
     "nsuri": "http://xbrl.sec.gov/dei/2019-01-31",
     "presentation": [
      "http://nymtrust.com/role/Cover"
     ],
     "xbrltype": "booleanItemType"
    },
    "dei_EntitySmallBusiness": {
     "auth_ref": [
      "r492"
     ],
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Indicates that the company is a Smaller Reporting Company (SRC).",
        "label": "Entity Small Business",
        "terseLabel": "Entity Small Business"
       }
      }
     },
     "localname": "EntitySmallBusiness",
     "nsuri": "http://xbrl.sec.gov/dei/2019-01-31",
     "presentation": [
      "http://nymtrust.com/role/Cover"
     ],
     "xbrltype": "booleanItemType"
    },
    "dei_EntityTaxIdentificationNumber": {
     "auth_ref": [
      "r492"
     ],
     "lang": {
      "en-US": {
       "role": {
        "documentation": "The Tax Identification Number (TIN), also known as an Employer Identification Number (EIN), is a unique 9-digit value assigned by the IRS.",
        "label": "Entity Tax Identification Number",
        "terseLabel": "Entity Tax Identification Number"
       }
      }
     },
     "localname": "EntityTaxIdentificationNumber",
     "nsuri": "http://xbrl.sec.gov/dei/2019-01-31",
     "presentation": [
      "http://nymtrust.com/role/Cover"
     ],
     "xbrltype": "employerIdItemType"
    },
    "dei_LegalEntityAxis": {
     "auth_ref": [],
     "lang": {
      "en-US": {
       "role": {
        "documentation": "The set of legal entities associated with a report.",
        "label": "Legal Entity [Axis]",
        "terseLabel": "Legal Entity [Axis]"
       }
      }
     },
     "localname": "LegalEntityAxis",
     "nsuri": "http://xbrl.sec.gov/dei/2019-01-31",
     "presentation": [
      "http://nymtrust.com/role/IncomeTaxesNarrativeDetails",
      "http://nymtrust.com/role/UseOfSpecialPurposeEntitiesSpeAndVariableInterestEntitiesVieNarrativeDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "dei_LocalPhoneNumber": {
     "auth_ref": [],
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Local phone number for entity.",
        "label": "Local Phone Number",
        "terseLabel": "Local Phone Number"
       }
      }
     },
     "localname": "LocalPhoneNumber",
     "nsuri": "http://xbrl.sec.gov/dei/2019-01-31",
     "presentation": [
      "http://nymtrust.com/role/Cover"
     ],
     "xbrltype": "normalizedStringItemType"
    },
    "dei_Security12bTitle": {
     "auth_ref": [
      "r488"
     ],
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Title of a 12(b) registered security.",
        "label": "Title of 12(b) Security",
        "terseLabel": "Title of 12(b) Security"
       }
      }
     },
     "localname": "Security12bTitle",
     "nsuri": "http://xbrl.sec.gov/dei/2019-01-31",
     "presentation": [
      "http://nymtrust.com/role/Cover"
     ],
     "xbrltype": "securityTitleItemType"
    },
    "dei_SecurityExchangeName": {
     "auth_ref": [
      "r489"
     ],
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Name of the Exchange on which a security is registered.",
        "label": "Security Exchange Name",
        "terseLabel": "Security Exchange Name"
       }
      }
     },
     "localname": "SecurityExchangeName",
     "nsuri": "http://xbrl.sec.gov/dei/2019-01-31",
     "presentation": [
      "http://nymtrust.com/role/Cover"
     ],
     "xbrltype": "edgarExchangeCodeItemType"
    },
    "dei_TradingSymbol": {
     "auth_ref": [],
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Trading symbol of an instrument as listed on an exchange.",
        "label": "Trading Symbol",
        "terseLabel": "Trading Symbol"
       }
      }
     },
     "localname": "TradingSymbol",
     "nsuri": "http://xbrl.sec.gov/dei/2019-01-31",
     "presentation": [
      "http://nymtrust.com/role/Cover"
     ],
     "xbrltype": "tradingSymbolItemType"
    },
    "invest_InvestmentLineItems": {
     "auth_ref": [],
     "lang": {
      "en-US": {
       "role": {
        "label": "Investment [Line Items]",
        "terseLabel": "Investment [Line Items]"
       }
      }
     },
     "localname": "InvestmentLineItems",
     "nsuri": "http://xbrl.sec.gov/invest/2013-01-31",
     "presentation": [
      "http://nymtrust.com/role/RealEstateHeldForSaleInConsolidatedViesDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "invest_InvestmentTable": {
     "auth_ref": [],
     "lang": {
      "en-US": {
       "role": {
        "label": "Investment [Table]",
        "terseLabel": "Investment [Table]"
       }
      }
     },
     "localname": "InvestmentTable",
     "nsuri": "http://xbrl.sec.gov/invest/2013-01-31",
     "presentation": [
      "http://nymtrust.com/role/RealEstateHeldForSaleInConsolidatedViesDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "nymt_A2017PlanMember": {
     "auth_ref": [],
     "lang": {
      "en-US": {
       "role": {
        "documentation": "2017 Plan [Member]",
        "label": "2017 Plan [Member]",
        "terseLabel": "2017 Incentive Plan"
       }
      }
     },
     "localname": "A2017PlanMember",
     "nsuri": "http://nymtrust.com/20190930",
     "presentation": [
      "http://nymtrust.com/role/StockBasedCompensationNarrativeDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "nymt_A7.75SeriesBCumulativeRedeemablePreferredStockMember": {
     "auth_ref": [],
     "lang": {
      "en-US": {
       "role": {
        "documentation": "7.75% Series B Cumulative Redeemable Preferred Stock [Member]",
        "label": "7.75% Series B Cumulative Redeemable Preferred Stock [Member]",
        "terseLabel": "7.75% Series B Cumulative Redeemable Preferred Stock"
       }
      }
     },
     "localname": "A7.75SeriesBCumulativeRedeemablePreferredStockMember",
     "nsuri": "http://nymtrust.com/20190930",
     "presentation": [
      "http://nymtrust.com/role/Cover"
     ],
     "xbrltype": "domainItemType"
    },
    "nymt_A7.875SeriesCCumulativeRedeemablePreferredStockMember": {
     "auth_ref": [],
     "lang": {
      "en-US": {
       "role": {
        "documentation": "7.875% Series C Cumulative Redeemable Preferred Stock [Member]",
        "label": "7.875% Series C Cumulative Redeemable Preferred Stock [Member]",
        "terseLabel": "7.875% Series C Cumulative Redeemable Preferred Stock"
       }
      }
     },
     "localname": "A7.875SeriesCCumulativeRedeemablePreferredStockMember",
     "nsuri": "http://nymtrust.com/20190930",
     "presentation": [
      "http://nymtrust.com/role/Cover"
     ],
     "xbrltype": "domainItemType"
    },
    "nymt_A7.875SeriesEFixedtoFloatingRateCumulativeRedeemablePreferredStockParValue0.01pershare25.00LiquidationPreferenceMember": {
     "auth_ref": [],
     "lang": {
      "en-US": {
       "role": {
        "documentation": "7.875% Series E Fixed-to-Floating Rate Cumulative Redeemable, Preferred Stock, Par Value $0.01 per share, $25.00 Liquidation Preference [Member]",
        "label": "7.875% Series E Fixed-to-Floating Rate Cumulative Redeemable, Preferred Stock, Par Value $0.01 per share, $25.00 Liquidation Preference [Member]",
        "terseLabel": "7.875% Series E Fixed-to-Floating Rate Cumulative Redeemable, Preferred Stock"
       }
      }
     },
     "localname": "A7.875SeriesEFixedtoFloatingRateCumulativeRedeemablePreferredStockParValue0.01pershare25.00LiquidationPreferenceMember",
     "nsuri": "http://nymtrust.com/20190930",
     "presentation": [
      "http://nymtrust.com/role/Cover"
     ],
     "xbrltype": "domainItemType"
    },
    "nymt_A8.000SeriesDFixedtoFloatingRateCumulativeRedeemablePreferredStockMember": {
     "auth_ref": [],
     "lang": {
      "en-US": {
       "role": {
        "documentation": "8.000% Series D Fixed-to-Floating Rate Cumulative Redeemable Preferred Stock [Member]",
        "label": "8.000% Series D Fixed-to-Floating Rate Cumulative Redeemable Preferred Stock [Member]",
        "terseLabel": "8.000% Series D Fixed-to-Floating Rate Cumulative Redeemable Preferred Stock"
       }
      }
     },
     "localname": "A8.000SeriesDFixedtoFloatingRateCumulativeRedeemablePreferredStockMember",
     "nsuri": "http://nymtrust.com/20190930",
     "presentation": [
      "http://nymtrust.com/role/Cover"
     ],
     "xbrltype": "domainItemType"
    },
    "nymt_AdvanceRate": {
     "auth_ref": [],
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Represents the advance rate of the Company's outstanding balance of repurchase agreements.",
        "label": "Advance Rate",
        "terseLabel": "Advance rate"
       }
      }
     },
     "localname": "AdvanceRate",
     "nsuri": "http://nymtrust.com/20190930",
     "presentation": [
      "http://nymtrust.com/role/RepurchaseAgreementsNarrativeDetails"
     ],
     "xbrltype": "percentItemType"
    },
    "nymt_AgencyARMsMember": {
     "auth_ref": [],
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Agency ARMs.",
        "label": "Agency AR Ms [Member]",
        "terseLabel": "Agency ARMs"
       }
      }
     },
     "localname": "AgencyARMsMember",
     "nsuri": "http://nymtrust.com/20190930",
     "presentation": [
      "http://nymtrust.com/role/InvestmentSecuritiesAvailableForSaleScheduleOfAvailableForSaleSecuritiesDetails",
      "http://nymtrust.com/role/RepurchaseAgreementsAssetsPledgedAsCollateralDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "nymt_AgencyFixedRateMember": {
     "auth_ref": [],
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Agency Fixed Rate.",
        "label": "Agency Fixed Rate [Member]",
        "terseLabel": "Agency Fixed- Rate"
       }
      }
     },
     "localname": "AgencyFixedRateMember",
     "nsuri": "http://nymtrust.com/20190930",
     "presentation": [
      "http://nymtrust.com/role/InvestmentSecuritiesAvailableForSaleScheduleOfAvailableForSaleSecuritiesDetails",
      "http://nymtrust.com/role/RepurchaseAgreementsAssetsPledgedAsCollateralDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "nymt_AgencyRMBsMember": {
     "auth_ref": [],
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Represents information pertaining to Agency RMBs.",
        "label": "Agency RM Bs [Member]",
        "terseLabel": "Agency RMBS"
       }
      }
     },
     "localname": "AgencyRMBsMember",
     "nsuri": "http://nymtrust.com/20190930",
     "presentation": [
      "http://nymtrust.com/role/InvestmentSecuritiesAvailableForSaleNarrativeDetails",
      "http://nymtrust.com/role/InvestmentSecuritiesAvailableForSaleScheduleOfAvailableForSaleSecuritiesDetails",
      "http://nymtrust.com/role/InvestmentSecuritiesAvailableForSaleScheduleOfInvestmentSecuritiesAvailableForSaleInUnrealizedLossPositionDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "nymt_AmortizedCostOfCollateralPledged": {
     "auth_ref": [],
     "crdr": "debit",
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Amortized Cost Of Collateral Pledged.",
        "label": "Amortized Cost Of Collateral Pledged",
        "terseLabel": "Amortized Cost of Collateral Pledged"
       }
      }
     },
     "localname": "AmortizedCostOfCollateralPledged",
     "nsuri": "http://nymtrust.com/20190930",
     "presentation": [
      "http://nymtrust.com/role/RepurchaseAgreementsAssetsPledgedAsCollateralDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "nymt_ArmLoansMember": {
     "auth_ref": [],
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Arm loans.",
        "label": "Arm Loans [Member]",
        "terseLabel": "Arm Loans"
       }
      }
     },
     "localname": "ArmLoansMember",
     "nsuri": "http://nymtrust.com/20190930",
     "presentation": [
      "http://nymtrust.com/role/DebtNarrativeDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "nymt_AssetsSoldUnderAgreementsToRepurchaseMaximumRepurchaseAmount": {
     "auth_ref": [],
     "crdr": "credit",
     "lang": {
      "en-US": {
       "role": {
        "documentation": "The total amount of repossession that is available under the repurchase agreement.",
        "label": "Assets Sold Under Agreements to Repurchase, Maximum Repurchase Amount",
        "terseLabel": "Maximum Aggregate Uncommitted Principal Amount"
       }
      }
     },
     "localname": "AssetsSoldUnderAgreementsToRepurchaseMaximumRepurchaseAmount",
     "nsuri": "http://nymtrust.com/20190930",
     "presentation": [
      "http://nymtrust.com/role/RepurchaseAgreementsBorrowingsUnderFinancingArrangementsAndAssociatedAssetsPledgedAsCollateralDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "nymt_AudubonMezzanineHoldingsL.L.C.SeriesAMember": {
     "auth_ref": [],
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Audubon Mezzanine Holdings, L.L.C. (Series A) [Member]",
        "label": "Audubon Mezzanine Holdings, L.L.C. (Series A) [Member]",
        "terseLabel": "Audubon Mezzanine Holdings, LLC (Series A)"
       }
      }
     },
     "localname": "AudubonMezzanineHoldingsL.L.C.SeriesAMember",
     "nsuri": "http://nymtrust.com/20190930",
     "presentation": [
      "http://nymtrust.com/role/InvestmentsInUnconsolidatedEntitiesDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "nymt_AvailableForSaleSecuritiesDebtMaturitiesThroughYearFiveFairValue": {
     "auth_ref": [],
     "calculation": {
      "http://nymtrust.com/role/InvestmentSecuritiesAvailableForSaleWeightedAverageLivesForAvailableForSaleSecuritiesDetails": {
       "order": 1.0,
       "parentTag": "us-gaap_AvailableForSaleSecuritiesDebtSecurities",
       "weight": 1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Available-For-Sale Securities, Debt Maturities, Through Year Five, Fair Value",
        "label": "Available-For-Sale Securities, Debt Maturities, Through Year Five, Fair Value",
        "terseLabel": "0 to 5 years"
       }
      }
     },
     "localname": "AvailableForSaleSecuritiesDebtMaturitiesThroughYearFiveFairValue",
     "nsuri": "http://nymtrust.com/20190930",
     "presentation": [
      "http://nymtrust.com/role/InvestmentSecuritiesAvailableForSaleWeightedAverageLivesForAvailableForSaleSecuritiesDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "nymt_AvailableForSaleSecuritiesPortfolioLife": {
     "auth_ref": [],
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Represents the weighted average life of the available for sale securities portfolio.",
        "label": "Available For Sale Securities Portfolio Life",
        "terseLabel": "Weighted average life of available for sale securities portfolio"
       }
      }
     },
     "localname": "AvailableForSaleSecuritiesPortfolioLife",
     "nsuri": "http://nymtrust.com/20190930",
     "presentation": [
      "http://nymtrust.com/role/InvestmentSecuritiesAvailableForSaleNarrativeDetails"
     ],
     "xbrltype": "durationItemType"
    },
    "nymt_AvailableforsaleSecuritiesDebtSecuritiesOwnershipPercentage": {
     "auth_ref": [],
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Available-for-sale Securities, Debt Securities, Ownership Percentage",
        "label": "Available-for-sale Securities, Debt Securities, Ownership Percentage",
        "terseLabel": "Percentage of ownership"
       }
      }
     },
     "localname": "AvailableforsaleSecuritiesDebtSecuritiesOwnershipPercentage",
     "nsuri": "http://nymtrust.com/20190930",
     "presentation": [
      "http://nymtrust.com/role/UseOfSpecialPurposeEntitiesSpeAndVariableInterestEntitiesVieAssetsAndLiabilitiesOfConsolidatedViesDetails"
     ],
     "xbrltype": "percentItemType"
    },
    "nymt_AverageHaircut": {
     "auth_ref": [],
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Average haircut percentage.",
        "label": "Average Haircut",
        "terseLabel": "Average haircut"
       }
      }
     },
     "localname": "AverageHaircut",
     "nsuri": "http://nymtrust.com/20190930",
     "presentation": [
      "http://nymtrust.com/role/RepurchaseAgreementsNarrativeDetails"
     ],
     "xbrltype": "percentItemType"
    },
    "nymt_BBAEP320IIL.L.C.BBATen10IIL.L.C.andLexingtonontheGreenApartmentsL.L.C.collectivelyMember": {
     "auth_ref": [],
     "lang": {
      "en-US": {
       "role": {
        "documentation": "BBA-EP320 II, L.L.C., BBA-Ten 10 II, L.L.C., and Lexington on the Green Apartments, L.L.C. (collectively)",
        "label": "BBA-EP320 II, L.L.C., BBA-Ten 10 II, L.L.C., and Lexington on the Green Apartments, L.L.C. (collectively) [Member]",
        "terseLabel": "BBA-EP320 II, L.L.C., BBA-Ten10 II, L.L.C., and Lexington on the Green Apartments, L.L.C. (collectively)"
       }
      }
     },
     "localname": "BBAEP320IIL.L.C.BBATen10IIL.L.C.andLexingtonontheGreenApartmentsL.L.C.collectivelyMember",
     "nsuri": "http://nymtrust.com/20190930",
     "presentation": [
      "http://nymtrust.com/role/InvestmentsInUnconsolidatedEntitiesDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "nymt_BaseManagementFeesExpense": {
     "auth_ref": [],
     "calculation": {
      "http://nymtrust.com/role/CondensedConsolidatedStatementsOfOperations": {
       "order": 4.0,
       "parentTag": "us-gaap_OperatingExpenses",
       "weight": 1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Base Management Fees Expense",
        "label": "Base Management Fees Expense",
        "terseLabel": "Base management and incentive fees"
       }
      }
     },
     "localname": "BaseManagementFeesExpense",
     "nsuri": "http://nymtrust.com/20190930",
     "presentation": [
      "http://nymtrust.com/role/CondensedConsolidatedStatementsOfOperations"
     ],
     "xbrltype": "monetaryItemType"
    },
    "nymt_CDOsOutstanding": {
     "auth_ref": [],
     "crdr": "debit",
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Represents Company\u2019s net investment in the residential securitization trusts, which is the maximum amount of the Company\u2019s investment that is at risk to loss and represents the difference between (i) the carrying amount of the mortgage loans and real estate owned held in residential securitization trusts and (ii) the amount of Residential CDOs outstanding.",
        "label": "CDOs Outstanding",
        "terseLabel": "CDOs outstanding"
       }
      }
     },
     "localname": "CDOsOutstanding",
     "nsuri": "http://nymtrust.com/20190930",
     "presentation": [
      "http://nymtrust.com/role/DebtNarrativeDetails",
      "http://nymtrust.com/role/DistressedAndOtherResidentialMortgageLoansNetNarrativeDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "nymt_CMBSMember": {
     "auth_ref": [],
     "lang": {
      "en-US": {
       "role": {
        "documentation": "CMBS.",
        "label": "CMBS [Member]",
        "terseLabel": "CMBS"
       }
      }
     },
     "localname": "CMBSMember",
     "nsuri": "http://nymtrust.com/20190930",
     "presentation": [
      "http://nymtrust.com/role/InvestmentSecuritiesAvailableForSaleNarrativeDetails",
      "http://nymtrust.com/role/InvestmentSecuritiesAvailableForSaleScheduleOfAvailableForSaleSecuritiesDetails",
      "http://nymtrust.com/role/InvestmentSecuritiesAvailableForSaleScheduleOfInvestmentSecuritiesAvailableForSaleInUnrealizedLossPositionDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "nymt_ClassANotesMember": {
     "auth_ref": [],
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Class A Notes [Member]",
        "label": "Class A Notes [Member]",
        "terseLabel": "Class A Notes"
       }
      }
     },
     "localname": "ClassANotesMember",
     "nsuri": "http://nymtrust.com/20190930",
     "presentation": [
      "http://nymtrust.com/role/UseOfSpecialPurposeEntitiesSpeAndVariableInterestEntitiesVieAssetsAndLiabilitiesOfConsolidatedViesDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "nymt_CollateralizedMortgageBackedSecuritiesHeldinSecuritizationTrustMember": {
     "auth_ref": [],
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Collateralized Mortgage Backed Securities Held in Securitization Trust [Member]",
        "label": "Collateralized Mortgage Backed Securities Held in Securitization Trust [Member]",
        "terseLabel": "CMBS held in securitization trusts"
       }
      }
     },
     "localname": "CollateralizedMortgageBackedSecuritiesHeldinSecuritizationTrustMember",
     "nsuri": "http://nymtrust.com/20190930",
     "presentation": [
      "http://nymtrust.com/role/FairValueOfFinancialInstrumentsValuationForLevel3AssetsDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "nymt_CommitmentToPurchaseFirstLossPOAndIOsMember": {
     "auth_ref": [],
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Commitment To Purchase First Loss PO And IOs [Member]",
        "label": "Commitment To Purchase First Loss PO And IOs [Member]",
        "terseLabel": "Commitment To Purchase First Loss PO And IOs"
       }
      }
     },
     "localname": "CommitmentToPurchaseFirstLossPOAndIOsMember",
     "nsuri": "http://nymtrust.com/20190930",
     "presentation": [
      "http://nymtrust.com/role/CommitmentsAndContingenciesCommitmentsDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "nymt_CommitmentToPurchaseFreddieMacMortgagebackedSecuritiesMember": {
     "auth_ref": [],
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Commitment To Purchase, Freddie Mac, Mortgage-backed Securities [Member]",
        "label": "Commitment To Purchase, Freddie Mac, Mortgage-backed Securities [Member]",
        "terseLabel": "Commitment To Purchase, Freddie Mac, Mortgage-backed Securities"
       }
      }
     },
     "localname": "CommitmentToPurchaseFreddieMacMortgagebackedSecuritiesMember",
     "nsuri": "http://nymtrust.com/20190930",
     "presentation": [
      "http://nymtrust.com/role/CommitmentsAndContingenciesCommitmentsDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "nymt_CommonAndPreferredStockSharesAuthorized": {
     "auth_ref": [],
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Common And Preferred Stock, Shares Authorized",
        "label": "Common And Preferred Stock, Shares Authorized",
        "terseLabel": "Shares authorized (in shares)"
       }
      }
     },
     "localname": "CommonAndPreferredStockSharesAuthorized",
     "nsuri": "http://nymtrust.com/20190930",
     "presentation": [
      "http://nymtrust.com/role/SubsequentEventsDetails"
     ],
     "xbrltype": "sharesItemType"
    },
    "nymt_CommonStockValueofSharesReservedforFutureIssuanceValue": {
     "auth_ref": [],
     "crdr": "credit",
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Aggregate value of common shares reserved for future issuance.",
        "label": "Common Stock, Value of Shares Reserved for Future Issuance, Value",
        "terseLabel": "Common stock reserved for issuance"
       }
      }
     },
     "localname": "CommonStockValueofSharesReservedforFutureIssuanceValue",
     "nsuri": "http://nymtrust.com/20190930",
     "presentation": [
      "http://nymtrust.com/role/StockholdersEquityNarrativeDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "nymt_ComponentsOfNetGainOnResidentialMortgageLoansAtFairValueTableTextBlock": {
     "auth_ref": [],
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Components Of Net Gain On Residential Mortgage Loans At Fair Value [Table Text Block]",
        "label": "Components Of Net Gain On Residential Mortgage Loans At Fair Value [Table Text Block]",
        "terseLabel": "Schedule of Components of Net Gain on Residential Mortgage Loans at Fair Value"
       }
      }
     },
     "localname": "ComponentsOfNetGainOnResidentialMortgageLoansAtFairValueTableTextBlock",
     "nsuri": "http://nymtrust.com/20190930",
     "presentation": [
      "http://nymtrust.com/role/DistressedAndOtherResidentialMortgageLoansAtFairValueTables"
     ],
     "xbrltype": "textBlockItemType"
    },
    "nymt_ConsolidatedKSeriesMember": {
     "auth_ref": [],
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Consolidated K-series.",
        "label": "Consolidated K Series [Member]",
        "terseLabel": "Consolidated K-Series"
       }
      }
     },
     "localname": "ConsolidatedKSeriesMember",
     "nsuri": "http://nymtrust.com/20190930",
     "presentation": [
      "http://nymtrust.com/role/ConsolidatedKSeriesCondensedBalanceSheetOfConsolidatedKSeriesDetails",
      "http://nymtrust.com/role/ConsolidatedKSeriesCondensedStatementOfOperationsOfConsolidatedKSeriesDetails",
      "http://nymtrust.com/role/ConsolidatedKSeriesNarrativeDetails",
      "http://nymtrust.com/role/FairValueOfFinancialInstrumentsValuationForLevel3AssetsDetails",
      "http://nymtrust.com/role/FairValueOfFinancialInstrumentsValuationForLevel3LiabilitiesDetails",
      "http://nymtrust.com/role/RepurchaseAgreementsAssetsPledgedAsCollateralDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "nymt_ContractualMaturities": {
     "auth_ref": [],
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Contractual maturities of investments.",
        "label": "Contractual Maturities",
        "terseLabel": "Contractual maturities (up to)"
       }
      }
     },
     "localname": "ContractualMaturities",
     "nsuri": "http://nymtrust.com/20190930",
     "presentation": [
      "http://nymtrust.com/role/InvestmentSecuritiesAvailableForSaleNarrativeDetails"
     ],
     "xbrltype": "durationItemType"
    },
    "nymt_DebtInstrumentIssuancePercentageofFaceAmount": {
     "auth_ref": [],
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Debt Instrument, Issuance Percentage of Face Amount",
        "label": "Debt Instrument, Issuance Percentage of Face Amount",
        "terseLabel": "Notes issued, percentage of principle"
       }
      }
     },
     "localname": "DebtInstrumentIssuancePercentageofFaceAmount",
     "nsuri": "http://nymtrust.com/20190930",
     "presentation": [
      "http://nymtrust.com/role/DebtNarrativeDetails"
     ],
     "xbrltype": "percentItemType"
    },
    "nymt_DebtIssuanceCostPercentage": {
     "auth_ref": [],
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Debt Issuance Cost, Percentage",
        "label": "Debt Issuance Cost, Percentage",
        "terseLabel": "Debt issuance cost, percentage"
       }
      }
     },
     "localname": "DebtIssuanceCostPercentage",
     "nsuri": "http://nymtrust.com/20190930",
     "presentation": [
      "http://nymtrust.com/role/DebtNarrativeDetails"
     ],
     "xbrltype": "percentItemType"
    },
    "nymt_DebtSecuritiesAvailableForSaleWeightedAverageResetPeriod": {
     "auth_ref": [],
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Debt Securities, Available-for-sale, Weighted Average Reset Period",
        "label": "Debt Securities, Available-For-Sale, Weighted Average Reset Period",
        "terseLabel": "Weighted average reset period"
       }
      }
     },
     "localname": "DebtSecuritiesAvailableForSaleWeightedAverageResetPeriod",
     "nsuri": "http://nymtrust.com/20190930",
     "presentation": [
      "http://nymtrust.com/role/InvestmentSecuritiesAvailableForSaleScheduleOfAvailableForSaleSecuritiesDetails"
     ],
     "xbrltype": "durationItemType"
    },
    "nymt_DepositForInvestmentInResidentialSecuritizationTrusts": {
     "auth_ref": [],
     "calculation": {
      "http://nymtrust.com/role/CondensedConsolidatedStatementsOfCashFlows": {
       "order": 13.0,
       "parentTag": "us-gaap_NetCashProvidedByUsedInInvestingActivities",
       "weight": -1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Deposit For Investment In Residential Securitization Trusts",
        "label": "Deposit For Investment In Residential Securitization Trusts",
        "negatedTerseLabel": "Deposit for investment in a residential securitization"
       }
      }
     },
     "localname": "DepositForInvestmentInResidentialSecuritizationTrusts",
     "nsuri": "http://nymtrust.com/20190930",
     "presentation": [
      "http://nymtrust.com/role/CondensedConsolidatedStatementsOfCashFlows"
     ],
     "xbrltype": "monetaryItemType"
    },
    "nymt_DerivativeAssetLiabilityNotionalAmount": {
     "auth_ref": [],
     "crdr": "debit",
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Derivative Asset (Liability), Notional Amount",
        "label": "Derivative Asset (Liability), Notional Amount",
        "periodEndLabel": "Ending balance",
        "periodStartLabel": "Beginning balance"
       }
      }
     },
     "localname": "DerivativeAssetLiabilityNotionalAmount",
     "nsuri": "http://nymtrust.com/20190930",
     "presentation": [
      "http://nymtrust.com/role/DerivativeInstrumentsAndHedgingActivitiesActivityOfDerivativeInstrumentsNotDesignatedAsHedgesDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "nymt_DerivativeInstrumentsVariationMarginReceivable": {
     "auth_ref": [],
     "crdr": "debit",
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Derivative Instruments, Variation Margin Receivable",
        "label": "Derivative Instruments, Variation Margin Receivable",
        "terseLabel": "Variation margin"
       }
      }
     },
     "localname": "DerivativeInstrumentsVariationMarginReceivable",
     "nsuri": "http://nymtrust.com/20190930",
     "presentation": [
      "http://nymtrust.com/role/DerivativeInstrumentsAndHedgingActivitiesFairValueOfDerivativeInstrumentsDetails",
      "http://nymtrust.com/role/FairValueOfFinancialInstrumentsAssetsAndLiabilitiesMeasuredAtFairValueOnRecurringBasisDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "nymt_DerivativeInstrumentsandHedgingActivitiesDisclosuresRollForward": {
     "auth_ref": [],
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Derivative Instruments and Hedging Activities Disclosures [Roll Forward]",
        "label": "Derivative Instruments and Hedging Activities Disclosures [Roll Forward]",
        "terseLabel": "Derivative Instruments and Hedging Activities Disclosures [Roll Forward]"
       }
      }
     },
     "localname": "DerivativeInstrumentsandHedgingActivitiesDisclosuresRollForward",
     "nsuri": "http://nymtrust.com/20190930",
     "presentation": [
      "http://nymtrust.com/role/DerivativeInstrumentsAndHedgingActivitiesActivityOfDerivativeInstrumentsNotDesignatedAsHedgesDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "nymt_DerivativeMaturity2024Member": {
     "auth_ref": [],
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Derivative Maturity, 2024 [Member]",
        "label": "Derivative Maturity, 2024 [Member]",
        "terseLabel": "2024"
       }
      }
     },
     "localname": "DerivativeMaturity2024Member",
     "nsuri": "http://nymtrust.com/20190930",
     "presentation": [
      "http://nymtrust.com/role/DerivativeInstrumentsAndHedgingActivitiesInterestRateSwapsDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "nymt_DerivativeMaturity2027Member": {
     "auth_ref": [],
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Derivative Maturity, 2027 [Member]",
        "label": "Derivative Maturity, 2027 [Member]",
        "terseLabel": "2027"
       }
      }
     },
     "localname": "DerivativeMaturity2027Member",
     "nsuri": "http://nymtrust.com/20190930",
     "presentation": [
      "http://nymtrust.com/role/DerivativeInstrumentsAndHedgingActivitiesInterestRateSwapsDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "nymt_DerivativeMaturity2028Member": {
     "auth_ref": [],
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Derivative Maturity, 2028 [Member]",
        "label": "Derivative Maturity, 2028 [Member]",
        "terseLabel": "2028"
       }
      }
     },
     "localname": "DerivativeMaturity2028Member",
     "nsuri": "http://nymtrust.com/20190930",
     "presentation": [
      "http://nymtrust.com/role/DerivativeInstrumentsAndHedgingActivitiesInterestRateSwapsDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "nymt_DerivativeMaturityPeriodsAxis": {
     "auth_ref": [],
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Derivative, Maturity Periods [Axis]",
        "label": "Derivative, Maturity Periods [Axis]",
        "terseLabel": "Derivative, Maturity Periods [Axis]"
       }
      }
     },
     "localname": "DerivativeMaturityPeriodsAxis",
     "nsuri": "http://nymtrust.com/20190930",
     "presentation": [
      "http://nymtrust.com/role/DerivativeInstrumentsAndHedgingActivitiesInterestRateSwapsDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "nymt_DerivativeMaturityPeriodsDomain": {
     "auth_ref": [],
     "lang": {
      "en-US": {
       "role": {
        "documentation": "[Domain] for Derivative, Maturity Periods [Axis]",
        "label": "Derivative, Maturity Periods [Domain]",
        "terseLabel": "Derivative, Maturity Periods [Domain]"
       }
      }
     },
     "localname": "DerivativeMaturityPeriodsDomain",
     "nsuri": "http://nymtrust.com/20190930",
     "presentation": [
      "http://nymtrust.com/role/DerivativeInstrumentsAndHedgingActivitiesInterestRateSwapsDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "nymt_DeutscheBankAGCaymanIslandsBranchMember": {
     "auth_ref": [],
     "lang": {
      "en-US": {
       "role": {
        "documentation": "The Cayman Islands branch of Deutsche Bank AG.",
        "label": "Deutsche Bank AG Cayman Islands Branch [Member]",
        "terseLabel": "Deutsche Bank AG, Cayman Islands Branch"
       }
      }
     },
     "localname": "DeutscheBankAGCaymanIslandsBranchMember",
     "nsuri": "http://nymtrust.com/20190930",
     "presentation": [
      "http://nymtrust.com/role/DistressedAndOtherResidentialMortgageLoansNetNarrativeDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "nymt_DistressedAndOtherResidentialMortgageLoansAtFairValueMember": {
     "auth_ref": [],
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Distressed And Other Residential Mortgage Loans At Fair Value [Member] [Member]",
        "label": "Distressed And Other Residential Mortgage Loans At Fair Value [Member]",
        "terseLabel": "Distressed and other residential mortgage loans, at fair value"
       }
      }
     },
     "localname": "DistressedAndOtherResidentialMortgageLoansAtFairValueMember",
     "nsuri": "http://nymtrust.com/20190930",
     "presentation": [
      "http://nymtrust.com/role/FairValueOfFinancialInstrumentsCarryingValueAndEstimatedFairValueOfCompanysFinancialAssetsDetails",
      "http://nymtrust.com/role/FairValueOfFinancialInstrumentsChangesInUnrealizedGainsLossesIncludedInEarningsForLevel3AssetsAndLiabilitiesDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "nymt_DistressedAndOtherResidentialMortgageLoansMember": {
     "auth_ref": [],
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Distressed And Other Residential Mortgage Loans [Member]",
        "label": "Distressed And Other Residential Mortgage Loans [Member]",
        "netLabel": "Distressed and other residential mortgage loans",
        "terseLabel": "Distressed and other residential mortgage loans (including pledged securities)",
        "verboseLabel": "Distressed and other residential mortgage loans"
       }
      }
     },
     "localname": "DistressedAndOtherResidentialMortgageLoansMember",
     "nsuri": "http://nymtrust.com/20190930",
     "presentation": [
      "http://nymtrust.com/role/CondensedConsolidatedBalanceSheets",
      "http://nymtrust.com/role/CondensedConsolidatedStatementsOfOperations",
      "http://nymtrust.com/role/FairValueOfFinancialInstrumentsNarrativeDetails",
      "http://nymtrust.com/role/FairValueOfFinancialInstrumentsValuationForLevel3AssetsDetails",
      "http://nymtrust.com/role/RepurchaseAgreementsBorrowingsUnderFinancingArrangementsAndAssociatedAssetsPledgedAsCollateralDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "nymt_DistressedResidentialLoansAndSecondMortgagesMember": {
     "auth_ref": [],
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Distressed Residential Loans And Second Mortgages [Member]",
        "label": "Distressed Residential Loans And Second Mortgages [Member]",
        "terseLabel": "Distressed Residential Loans And Second Mortgages"
       }
      }
     },
     "localname": "DistressedResidentialLoansAndSecondMortgagesMember",
     "nsuri": "http://nymtrust.com/20190930",
     "presentation": [
      "http://nymtrust.com/role/DistressedAndOtherResidentialMortgageLoansAtFairValueNarrativeDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "nymt_DistressedResidentialMortgageLoanSecuritizationMember": {
     "auth_ref": [],
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Distressed Residential Mortgage Loan Securitization",
        "label": "Distressed Residential Mortgage Loan Securitization [Member]",
        "terseLabel": "Distressed Residential Mortgage Loan Securitization"
       }
      }
     },
     "localname": "DistressedResidentialMortgageLoanSecuritizationMember",
     "nsuri": "http://nymtrust.com/20190930",
     "presentation": [
      "http://nymtrust.com/role/UseOfSpecialPurposeEntitiesSpeAndVariableInterestEntitiesVieAssetsAndLiabilitiesOfConsolidatedViesDetails",
      "http://nymtrust.com/role/UseOfSpecialPurposeEntitiesSpeAndVariableInterestEntitiesVieSecuritizedDebtDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "nymt_DistressedResidentialMortgageLoansMember": {
     "auth_ref": [],
     "lang": {
      "en-US": {
       "role": {
        "documentation": "The amount of mortgage loans that are considered distressed.",
        "label": "Distressed Residential Mortgage Loans [Member]",
        "verboseLabel": "Distressed residential mortgage loans"
       }
      }
     },
     "localname": "DistressedResidentialMortgageLoansMember",
     "nsuri": "http://nymtrust.com/20190930",
     "presentation": [
      "http://nymtrust.com/role/CondensedConsolidatedStatementsOfCashFlows",
      "http://nymtrust.com/role/DistressedAndOtherResidentialMortgageLoansNetNarrativeDetails",
      "http://nymtrust.com/role/DistressedAndOtherResidentialMortgageLoansNetScheduleOfAccretableYieldDetails",
      "http://nymtrust.com/role/FairValueOfFinancialInstrumentsCarryingValueAndEstimatedFairValueOfCompanysFinancialAssetsDetails",
      "http://nymtrust.com/role/RepurchaseAgreementsBorrowingsUnderFinancingArrangementsAndAssociatedAssetsPledgedAsCollateralDetails",
      "http://nymtrust.com/role/RepurchaseAgreementsNarrativeDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "nymt_EP320GrowthFundLLCSeriesAAndTurnburyParkApartmentsBCLLCSeriesAMember": {
     "auth_ref": [],
     "lang": {
      "en-US": {
       "role": {
        "documentation": "EP 320 Growth Fund, LLC (Series A) And Turnbury Park Apartments - BC, LLC (Series A) [Member]",
        "label": "EP 320 Growth Fund, LLC (Series A) And Turnbury Park Apartments - BC, LLC (Series A) [Member]",
        "terseLabel": "EP 320 Growth Fund, L.L.C. (Series A) and Turnbury Park Apartments - BC, L.L.C. (Series A) (collectively)"
       }
      }
     },
     "localname": "EP320GrowthFundLLCSeriesAAndTurnburyParkApartmentsBCLLCSeriesAMember",
     "nsuri": "http://nymtrust.com/20190930",
     "presentation": [
      "http://nymtrust.com/role/InvestmentsInUnconsolidatedEntitiesDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "nymt_EmployeeMember": {
     "auth_ref": [],
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Employee [Member]",
        "label": "Employee [Member]",
        "terseLabel": "Employee"
       }
      }
     },
     "localname": "EmployeeMember",
     "nsuri": "http://nymtrust.com/20190930",
     "presentation": [
      "http://nymtrust.com/role/StockBasedCompensationNarrativeDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "nymt_EquityDistributionAgreementsMember": {
     "auth_ref": [],
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Represents information pertaining to the separate equity distribution agreements (collectively, the \"Equity Distribution Agreements\") with each of JMP Securities LLC (\"JMP\") and MLV &amp; Co. LLC (\"MLV\").",
        "label": "Equity Distribution Agreements [Member]",
        "terseLabel": "Equity Distribution Agreements"
       }
      }
     },
     "localname": "EquityDistributionAgreementsMember",
     "nsuri": "http://nymtrust.com/20190930",
     "presentation": [
      "http://nymtrust.com/role/StockholdersEquityNarrativeDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "nymt_EquityInvestmentinEntitiesthatInvestinMultifamilyPropertiesMember": {
     "auth_ref": [],
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Equity Investment in Entities that Invest in Multi-family Properties [Member]",
        "label": "Equity Investment in Entities that Invest in Multi-family Properties [Member]",
        "terseLabel": "Equity investments in entities that invest in residential properties"
       }
      }
     },
     "localname": "EquityInvestmentinEntitiesthatInvestinMultifamilyPropertiesMember",
     "nsuri": "http://nymtrust.com/20190930",
     "presentation": [
      "http://nymtrust.com/role/UseOfSpecialPurposeEntitiesSpeAndVariableInterestEntitiesVieClassificationAndCarryingValueOfUnconsolidatedViesDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "nymt_EvergreensJVHoldingsLLCMember": {
     "auth_ref": [],
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Evergreens JV Holdings, LLC [Member]",
        "label": "Evergreens JV Holdings, LLC [Member]",
        "terseLabel": "Evergreens JV Holdings, LLC"
       }
      }
     },
     "localname": "EvergreensJVHoldingsLLCMember",
     "nsuri": "http://nymtrust.com/20190930",
     "presentation": [
      "http://nymtrust.com/role/InvestmentsInUnconsolidatedEntitiesDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "nymt_FairValueLossesForAssetsMeasuredOnNonrecurringBasisTableTextBlock": {
     "auth_ref": [],
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Tabular disclosure of losses incurred for assets measured at fair value on a non-recurring basis.",
        "label": "Fair Value, Losses for Assets Measured on Nonrecurring Basis [Table Text Block]",
        "terseLabel": "Schedule of Gains (Losses) Incurred for Assets Measured at Fair Value on a Non-recurring Basis"
       }
      }
     },
     "localname": "FairValueLossesForAssetsMeasuredOnNonrecurringBasisTableTextBlock",
     "nsuri": "http://nymtrust.com/20190930",
     "presentation": [
      "http://nymtrust.com/role/FairValueOfFinancialInstrumentsTables"
     ],
     "xbrltype": "textBlockItemType"
    },
    "nymt_FairValueMeasurementwithUnobservableInputsReconciliationRecurringBasisAssetChargeOff": {
     "auth_ref": [],
     "crdr": "credit",
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Fair Value, Measurement with Unobservable Inputs Reconciliation, Recurring Basis, Asset, Charge-Off",
        "label": "Fair Value, Measurement with Unobservable Inputs Reconciliation, Recurring Basis, Asset, Charge-Off",
        "terseLabel": "Charge-off"
       }
      }
     },
     "localname": "FairValueMeasurementwithUnobservableInputsReconciliationRecurringBasisAssetChargeOff",
     "nsuri": "http://nymtrust.com/20190930",
     "presentation": [
      "http://nymtrust.com/role/FairValueOfFinancialInstrumentsValuationForLevel3AssetsDetails",
      "http://nymtrust.com/role/FairValueOfFinancialInstrumentsValuationForLevel3LiabilitiesDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "nymt_FairValueMeasurementwithUnobservableInputsReconciliationRecurringBasisAssetContributions": {
     "auth_ref": [],
     "crdr": "debit",
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Fair Value, Measurement with Unobservable Inputs Reconciliation, Recurring Basis, Asset, Contributions",
        "label": "Fair Value, Measurement with Unobservable Inputs Reconciliation, Recurring Basis, Asset, Contributions",
        "terseLabel": "Contributions"
       }
      }
     },
     "localname": "FairValueMeasurementwithUnobservableInputsReconciliationRecurringBasisAssetContributions",
     "nsuri": "http://nymtrust.com/20190930",
     "presentation": [
      "http://nymtrust.com/role/FairValueOfFinancialInstrumentsValuationForLevel3AssetsDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "nymt_FannieMaeMember": {
     "auth_ref": [],
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Fannie Mae.",
        "label": "Fannie Mae [Member]",
        "terseLabel": "Fannie Mae"
       }
      }
     },
     "localname": "FannieMaeMember",
     "nsuri": "http://nymtrust.com/20190930",
     "presentation": [
      "http://nymtrust.com/role/InvestmentSecuritiesAvailableForSaleScheduleOfAvailableForSaleSecuritiesDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "nymt_FinancialInstrumentsOwnedDistressedAndOtherResidentialMortgageLoansatFairValue": {
     "auth_ref": [],
     "calculation": {
      "http://nymtrust.com/role/FairValueOfFinancialInstrumentsAssetsAndLiabilitiesMeasuredAtFairValueOnRecurringBasisDetails": {
       "order": 2.0,
       "parentTag": "us-gaap_AssetsFairValueDisclosure",
       "weight": 1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Financial Instruments, Owned, Distressed And Other Residential Mortgage Loans, at Fair Value",
        "label": "Financial Instruments, Owned, Distressed And Other Residential Mortgage Loans, at Fair Value",
        "terseLabel": "Distressed and other residential mortgage loans, at fair value"
       }
      }
     },
     "localname": "FinancialInstrumentsOwnedDistressedAndOtherResidentialMortgageLoansatFairValue",
     "nsuri": "http://nymtrust.com/20190930",
     "presentation": [
      "http://nymtrust.com/role/FairValueOfFinancialInstrumentsAssetsAndLiabilitiesMeasuredAtFairValueOnRecurringBasisDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "nymt_FinancingAndOtherVIEsMember": {
     "auth_ref": [],
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Financing And Other VIEs",
        "label": "Financing And Other VIEs [Member]",
        "terseLabel": "Financing And Other VIEs"
       }
      }
     },
     "localname": "FinancingAndOtherVIEsMember",
     "nsuri": "http://nymtrust.com/20190930",
     "presentation": [
      "http://nymtrust.com/role/UseOfSpecialPurposeEntitiesSpeAndVariableInterestEntitiesVieAssetsAndLiabilitiesOfConsolidatedViesDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "nymt_FinancingReceivableAllowanceForCreditLossesBasisPoints": {
     "auth_ref": [],
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Represents allowance for loan losses expressed as basis points of the outstanding principal balance of residential loans held in securitization trusts.",
        "label": "Financing Receivable, Allowance for Credit Losses, Basis Points",
        "terseLabel": "Allowance for loan losses, basis points"
       }
      }
     },
     "localname": "FinancingReceivableAllowanceForCreditLossesBasisPoints",
     "nsuri": "http://nymtrust.com/20190930",
     "presentation": [
      "http://nymtrust.com/role/DistressedAndOtherResidentialMortgageLoansNetNarrativeDetails"
     ],
     "xbrltype": "percentItemType"
    },
    "nymt_FinancingReceivableRecordedInvestmentPastDueRealEstateOwnedThroughForeclosure": {
     "auth_ref": [],
     "crdr": "debit",
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Financing Receivable, Recorded Investment Past Due, Real Estate Owned Through Foreclosure.",
        "label": "Financing Receivable Recorded Investment Past Due Real Estate Owned Through Foreclosure",
        "terseLabel": "Real estate owned through foreclosure, Total Unpaid Principal"
       }
      }
     },
     "localname": "FinancingReceivableRecordedInvestmentPastDueRealEstateOwnedThroughForeclosure",
     "nsuri": "http://nymtrust.com/20190930",
     "presentation": [
      "http://nymtrust.com/role/DistressedAndOtherResidentialMortgageLoansNetDelinquenciesInPortfolioOfResidentialMortgageLoansHeldInSecuritizationTrustsDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "nymt_FinancingVIEMember": {
     "auth_ref": [],
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Financing variable interest entities.",
        "label": "Financing VIE [Member]",
        "terseLabel": "Financing VIE"
       }
      }
     },
     "localname": "FinancingVIEMember",
     "nsuri": "http://nymtrust.com/20190930",
     "presentation": [
      "http://nymtrust.com/role/UseOfSpecialPurposeEntitiesSpeAndVariableInterestEntitiesVieFinancingViesSecuritizedDebtByContractualMaturityDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "nymt_FirstAndSecondMortgageMember": {
     "auth_ref": [],
     "lang": {
      "en-US": {
       "role": {
        "documentation": "First And Second Mortgage [Member]",
        "label": "First And Second Mortgage [Member]",
        "terseLabel": "First And Second Mortgage"
       }
      }
     },
     "localname": "FirstAndSecondMortgageMember",
     "nsuri": "http://nymtrust.com/20190930",
     "presentation": [
      "http://nymtrust.com/role/DistressedAndOtherResidentialMortgageLoansAtFairValueResidentialMortgageLoansAtFairValueDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "nymt_FreddieMacMortgageBackedSecuritiesMember": {
     "auth_ref": [],
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Freddie Mac.",
        "label": "Freddie Mac, Mortgage-Backed Securities [Member]",
        "terseLabel": "Freddie Mac",
        "verboseLabel": "Freddie Mac, Mortgage-Backed Securities"
       }
      }
     },
     "localname": "FreddieMacMortgageBackedSecuritiesMember",
     "nsuri": "http://nymtrust.com/20190930",
     "presentation": [
      "http://nymtrust.com/role/CommitmentsAndContingenciesCommitmentsDetails",
      "http://nymtrust.com/role/InvestmentSecuritiesAvailableForSaleScheduleOfAvailableForSaleSecuritiesDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "nymt_FreddieMacMultifamilyLoanKSeriesMember": {
     "auth_ref": [],
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Freddie Mac Multi-family Loan K-Series [Member]",
        "label": "Freddie Mac Multi-family Loan K-Series [Member]",
        "terseLabel": "Freddie Mac Multi-family loan K-Series"
       }
      }
     },
     "localname": "FreddieMacMultifamilyLoanKSeriesMember",
     "nsuri": "http://nymtrust.com/20190930",
     "presentation": [
      "http://nymtrust.com/role/CommitmentsAndContingenciesCommitmentsDetails",
      "http://nymtrust.com/role/ConsolidatedKSeriesNarrativeDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "nymt_Gen1814LLCAndSeriesAHighlandsAndMtgHoldingsLLCAndSeriesAAndPolosatHudsonInvestmentsLLCAndSeriesAMember": {
     "auth_ref": [],
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Gen1814 LLC And Series A Highlands And Mtg Holdings LLC And Series A And Polos at Hudson Investments LLC And Series A [Member]",
        "label": "Gen1814 LLC And Series A Highlands And Mtg Holdings LLC And Series A And Polos at Hudson Investments LLC And Series A [Member]",
        "terseLabel": "Gen1814, LLC - Series A, Highlands - Mtg. Holdings, LLC - Series A, and Polos at Hudson Investments, LLC - Series A (collectively)"
       }
      }
     },
     "localname": "Gen1814LLCAndSeriesAHighlandsAndMtgHoldingsLLCAndSeriesAAndPolosatHudsonInvestmentsLLCAndSeriesAMember",
     "nsuri": "http://nymtrust.com/20190930",
     "presentation": [
      "http://nymtrust.com/role/InvestmentsInUnconsolidatedEntitiesDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "nymt_GinnieMaeMember": {
     "auth_ref": [],
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Ginnie Mae.",
        "label": "Ginnie Mae [Member]",
        "terseLabel": "Ginnie Mae"
       }
      }
     },
     "localname": "GinnieMaeMember",
     "nsuri": "http://nymtrust.com/20190930",
     "presentation": [
      "http://nymtrust.com/role/InvestmentSecuritiesAvailableForSaleScheduleOfAvailableForSaleSecuritiesDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "nymt_HeadlandsAssetManagementFundIIICaymanLPHeadlandsFlagshipOpportunityFundSeriesIMember": {
     "auth_ref": [],
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Headlands Asset Management Fund III, Cayman, LP, Headlands Flagship Opportunity Fund Series I [Member]",
        "label": "Headlands Asset Management Fund III, Cayman, LP, Headlands Flagship Opportunity Fund Series I [Member]",
        "terseLabel": "Headlands Asset Management Fund III (Cayman), LP (Headlands Flagship Opportunity Fund Series I)"
       }
      }
     },
     "localname": "HeadlandsAssetManagementFundIIICaymanLPHeadlandsFlagshipOpportunityFundSeriesIMember",
     "nsuri": "http://nymtrust.com/20190930",
     "presentation": [
      "http://nymtrust.com/role/InvestmentsInUnconsolidatedEntitiesDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "nymt_IncreaseDecreaseReceivablesAndOtherAssets": {
     "auth_ref": [],
     "calculation": {
      "http://nymtrust.com/role/CondensedConsolidatedStatementsOfCashFlows": {
       "order": 12.0,
       "parentTag": "us-gaap_NetCashProvidedByUsedInOperatingActivities",
       "weight": -1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Increase/decrease carrying amounts of receivables due as of the balance sheet date from parties or arising from transactions not otherwise specified in the taxonomy.  Sum of the carrying amount for an unclassified balance sheet date of expenditures made in advance of when the economic benefit of the cost will be realized, and which will be expensed in future periods with the passage of time or when a triggering event occurs and the carrying amount as of the balance sheet date of assets not otherwise specified in the taxonomy. Also includes assets not individually reported in the financial statements, or not separately disclosed in notes.",
        "label": "Increase Decrease Receivables And Other Assets",
        "negatedLabel": "Receivables and other assets"
       }
      }
     },
     "localname": "IncreaseDecreaseReceivablesAndOtherAssets",
     "nsuri": "http://nymtrust.com/20190930",
     "presentation": [
      "http://nymtrust.com/role/CondensedConsolidatedStatementsOfCashFlows"
     ],
     "xbrltype": "monetaryItemType"
    },
    "nymt_InterestIncomeAbstract": {
     "auth_ref": [],
     "lang": {
      "en-US": {
       "role": {
        "documentation": "",
        "label": "INTEREST INCOME:",
        "terseLabel": "INTEREST INCOME:"
       }
      }
     },
     "localname": "InterestIncomeAbstract",
     "nsuri": "http://nymtrust.com/20190930",
     "presentation": [
      "http://nymtrust.com/role/CondensedConsolidatedStatementsOfOperations"
     ],
     "xbrltype": "stringItemType"
    },
    "nymt_InvestmentSecuritiesAvailableforSaleAtFairValueMember": {
     "auth_ref": [],
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Investment Securities Available for Sale At Fair Value [Member]",
        "label": "Investment Securities Available for Sale At Fair Value [Member]",
        "verboseLabel": "Investment securities, available for sale, at fair value, held in securitization trusts"
       }
      }
     },
     "localname": "InvestmentSecuritiesAvailableforSaleAtFairValueMember",
     "nsuri": "http://nymtrust.com/20190930",
     "presentation": [
      "http://nymtrust.com/role/UseOfSpecialPurposeEntitiesSpeAndVariableInterestEntitiesVieClassificationAndCarryingValueOfUnconsolidatedViesDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "nymt_InvestmentinUnconsolidatedEntitiesMember": {
     "auth_ref": [],
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Investment in Unconsolidated Entities [Member]",
        "label": "Investment in Unconsolidated Entities [Member]",
        "terseLabel": "Investments in unconsolidated entities"
       }
      }
     },
     "localname": "InvestmentinUnconsolidatedEntitiesMember",
     "nsuri": "http://nymtrust.com/20190930",
     "presentation": [
      "http://nymtrust.com/role/UseOfSpecialPurposeEntitiesSpeAndVariableInterestEntitiesVieClassificationAndCarryingValueOfUnconsolidatedViesDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "nymt_KRVIMember": {
     "auth_ref": [],
     "lang": {
      "en-US": {
       "role": {
        "documentation": "KRVI",
        "label": "KRVI [Member]",
        "terseLabel": "KRVI"
       }
      }
     },
     "localname": "KRVIMember",
     "nsuri": "http://nymtrust.com/20190930",
     "presentation": [
      "http://nymtrust.com/role/DebtNarrativeDetails",
      "http://nymtrust.com/role/DebtScheduleOfVieDebtDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "nymt_KSeriesCarryingValue": {
     "auth_ref": [],
     "crdr": "debit",
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Represents the aggregate carrying value of the investment in the multi-family loans held in securitization trusts.",
        "label": "K-Series Carrying Value",
        "terseLabel": "K-Series, carrying value"
       }
      }
     },
     "localname": "KSeriesCarryingValue",
     "nsuri": "http://nymtrust.com/20190930",
     "presentation": [
      "http://nymtrust.com/role/ConsolidatedKSeriesNarrativeDetails",
      "http://nymtrust.com/role/RepurchaseAgreementsAssetsPledgedAsCollateralDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "nymt_KSeriesMember": {
     "auth_ref": [],
     "lang": {
      "en-US": {
       "role": {
        "documentation": "K-Series [Member]",
        "label": "K-Series [Member]",
        "terseLabel": "K-Series",
        "verboseLabel": "Consolidated K-Series"
       }
      }
     },
     "localname": "KSeriesMember",
     "nsuri": "http://nymtrust.com/20190930",
     "presentation": [
      "http://nymtrust.com/role/UseOfSpecialPurposeEntitiesSpeAndVariableInterestEntitiesVieAssetsAndLiabilitiesOfConsolidatedViesDetails",
      "http://nymtrust.com/role/UseOfSpecialPurposeEntitiesSpeAndVariableInterestEntitiesVieNarrativeDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "nymt_LongtermDebtMaturitiesRepaymentsofPrincipalAfterYearSix": {
     "auth_ref": [],
     "calculation": {
      "http://nymtrust.com/role/DebtScheduleOfMaturitiesOfLongTermDebtDetails": {
       "order": 6.0,
       "parentTag": "us-gaap_LongTermDebt",
       "weight": 1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Long-term Debt, Maturities, Repayments of Principal After Year Six",
        "label": "Long-term Debt, Maturities, Repayments of Principal After Year Six",
        "terseLabel": "Thereafter"
       }
      }
     },
     "localname": "LongtermDebtMaturitiesRepaymentsofPrincipalAfterYearSix",
     "nsuri": "http://nymtrust.com/20190930",
     "presentation": [
      "http://nymtrust.com/role/DebtScheduleOfMaturitiesOfLongTermDebtDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "nymt_LongtermDebtMaturitiesRepaymentsofPrincipalinNextRollingTwentyFourMonths": {
     "auth_ref": [],
     "calculation": {
      "http://nymtrust.com/role/UseOfSpecialPurposeEntitiesSpeAndVariableInterestEntitiesVieFinancingViesSecuritizedDebtByContractualMaturityDetails": {
       "order": 3.0,
       "parentTag": "us-gaap_LongTermDebt",
       "weight": 1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Long-term Debt, Maturities, Repayments of Principal in Next Rolling Twenty Four Months",
        "label": "Long-term Debt, Maturities, Repayments of Principal in Next Rolling Twenty Four Months",
        "terseLabel": "Within 24 months"
       }
      }
     },
     "localname": "LongtermDebtMaturitiesRepaymentsofPrincipalinNextRollingTwentyFourMonths",
     "nsuri": "http://nymtrust.com/20190930",
     "presentation": [
      "http://nymtrust.com/role/UseOfSpecialPurposeEntitiesSpeAndVariableInterestEntitiesVieFinancingViesSecuritizedDebtByContractualMaturityDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "nymt_MansionsPropertyHoldingsLLCMember": {
     "auth_ref": [],
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Mansions Property Holdings LLC [Member]",
        "label": "Mansions Property Holdings LLC [Member]",
        "terseLabel": "Mansions Property Holdings, LLC"
       }
      }
     },
     "localname": "MansionsPropertyHoldingsLLCMember",
     "nsuri": "http://nymtrust.com/20190930",
     "presentation": [
      "http://nymtrust.com/role/InvestmentsInUnconsolidatedEntitiesDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "nymt_MezzanineConstructionLoanonMultifamilyPropertiesMember": {
     "auth_ref": [],
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Mezzanine/Construction Loan on Multi-family Properties [Member]",
        "label": "Mezzanine/Construction Loan on Multi-family Properties [Member]",
        "terseLabel": "Mezzanine loans on multi-family properties"
       }
      }
     },
     "localname": "MezzanineConstructionLoanonMultifamilyPropertiesMember",
     "nsuri": "http://nymtrust.com/20190930",
     "presentation": [
      "http://nymtrust.com/role/UseOfSpecialPurposeEntitiesSpeAndVariableInterestEntitiesVieClassificationAndCarryingValueOfUnconsolidatedViesDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "nymt_MezzanineLoanandPreferredEquityInvestmentsMember": {
     "auth_ref": [],
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Mezzanine Loan and Preferred Equity Investments [Member]",
        "label": "Mezzanine Loan and Preferred Equity Investments [Member]",
        "terseLabel": "Preferred equity and mezzanine loan investments",
        "verboseLabel": "Preferred equity and mezzanine loan investments"
       }
      }
     },
     "localname": "MezzanineLoanandPreferredEquityInvestmentsMember",
     "nsuri": "http://nymtrust.com/20190930",
     "presentation": [
      "http://nymtrust.com/role/CondensedConsolidatedStatementsOfOperations",
      "http://nymtrust.com/role/PreferredEquityAndMezzanineLoanInvestmentsDetails",
      "http://nymtrust.com/role/UseOfSpecialPurposeEntitiesSpeAndVariableInterestEntitiesVieClassificationAndCarryingValueOfUnconsolidatedViesDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "nymt_MinimumNumberofQuarterswithNoDividendsthatResultsinVotingRights": {
     "auth_ref": [],
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Minimum Number of Quarters with No Dividends that Results in Voting Rights",
        "label": "Minimum Number of Quarters with No Dividends that Results in Voting Rights",
        "terseLabel": "Number of quarters with no dividends that results in voting rights"
       }
      }
     },
     "localname": "MinimumNumberofQuarterswithNoDividendsthatResultsinVotingRights",
     "nsuri": "http://nymtrust.com/20190930",
     "presentation": [
      "http://nymtrust.com/role/StockholdersEquityNarrativeDetails"
     ],
     "xbrltype": "integerItemType"
    },
    "nymt_ModifiedPercent": {
     "auth_ref": [],
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Represents the percentage of delinquent loans that are currently under some form of modified payment plan.",
        "label": "Modified Percent",
        "terseLabel": "Delinquent loans under modified payment, percent"
       }
      }
     },
     "localname": "ModifiedPercent",
     "nsuri": "http://nymtrust.com/20190930",
     "presentation": [
      "http://nymtrust.com/role/DistressedAndOtherResidentialMortgageLoansNetNarrativeDetails"
     ],
     "xbrltype": "percentItemType"
    },
    "nymt_MorrocroftNeighborhoodStabilizationFundIILPMember": {
     "auth_ref": [],
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Morrocroft Neighborhood Stabilization Fund II, LP [Member]",
        "label": "Morrocroft Neighborhood Stabilization Fund II, LP [Member]",
        "terseLabel": "Morrocroft Neighborhood Stabilization Fund II, LP"
       }
      }
     },
     "localname": "MorrocroftNeighborhoodStabilizationFundIILPMember",
     "nsuri": "http://nymtrust.com/20190930",
     "presentation": [
      "http://nymtrust.com/role/InvestmentsInUnconsolidatedEntitiesDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "nymt_MulitFamilyCMBSMember": {
     "auth_ref": [],
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Mulit Family CMBS [Member]",
        "label": "Mulit Family CMBS [Member]",
        "terseLabel": "Multi-family CMBS"
       }
      }
     },
     "localname": "MulitFamilyCMBSMember",
     "nsuri": "http://nymtrust.com/20190930",
     "presentation": [
      "http://nymtrust.com/role/UseOfSpecialPurposeEntitiesSpeAndVariableInterestEntitiesVieClassificationAndCarryingValueOfUnconsolidatedViesDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "nymt_MultiFamilyCollateralizedDebtObligationsMember": {
     "auth_ref": [],
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Multi-family collateralized debt obligations.",
        "label": "Multi Family Collateralized Debt Obligations [Member]",
        "terseLabel": "Multi-family collateralized debt obligations, at fair value",
        "verboseLabel": "Multi-family collateralized debt obligations"
       }
      }
     },
     "localname": "MultiFamilyCollateralizedDebtObligationsMember",
     "nsuri": "http://nymtrust.com/20190930",
     "presentation": [
      "http://nymtrust.com/role/CondensedConsolidatedBalanceSheets",
      "http://nymtrust.com/role/CondensedConsolidatedStatementsOfCashFlows",
      "http://nymtrust.com/role/CondensedConsolidatedStatementsOfOperations",
      "http://nymtrust.com/role/ConsolidatedKSeriesNarrativeDetails",
      "http://nymtrust.com/role/FairValueOfFinancialInstrumentsAssetsAndLiabilitiesMeasuredAtFairValueOnRecurringBasisDetails",
      "http://nymtrust.com/role/FairValueOfFinancialInstrumentsCarryingValueAndEstimatedFairValueOfCompanysFinancialAssetsDetails",
      "http://nymtrust.com/role/UseOfSpecialPurposeEntitiesSpeAndVariableInterestEntitiesVieAssetsAndLiabilitiesOfConsolidatedViesDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "nymt_MultiFamilyLoansHeldInSecuritizationTrustsMember": {
     "auth_ref": [],
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Multi-family loans held in securitization trusts.",
        "label": "Multi Family Loans Held In Securitization Trusts [Member]",
        "terseLabel": "Multi-family loans held in securitization trusts"
       }
      }
     },
     "localname": "MultiFamilyLoansHeldInSecuritizationTrustsMember",
     "nsuri": "http://nymtrust.com/20190930",
     "presentation": [
      "http://nymtrust.com/role/CondensedConsolidatedStatementsOfOperations",
      "http://nymtrust.com/role/ConsolidatedKSeriesGeographicConcentrationsOfCreditRiskDetails",
      "http://nymtrust.com/role/ConsolidatedKSeriesNarrativeDetails",
      "http://nymtrust.com/role/FairValueOfFinancialInstrumentsAssetsAndLiabilitiesMeasuredAtFairValueOnRecurringBasisDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "nymt_MultiFamilyLoansHeldInSecuritizationTrustsNetMember": {
     "auth_ref": [],
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Multi-family loans held in securitization trusts, Net.",
        "label": "Multi Family Loans Held In Securitization Trusts Net [Member]",
        "terseLabel": "Multi-family loans held in securitization trusts"
       }
      }
     },
     "localname": "MultiFamilyLoansHeldInSecuritizationTrustsNetMember",
     "nsuri": "http://nymtrust.com/20190930",
     "presentation": [
      "http://nymtrust.com/role/FairValueOfFinancialInstrumentsCarryingValueAndEstimatedFairValueOfCompanysFinancialAssetsDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "nymt_MultiFamilyLoansHeldinSecuritizationTrustMember": {
     "auth_ref": [],
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Multi-Family Loans Held in Securitization Trust [Member]",
        "label": "Multi-Family Loans Held in Securitization Trust [Member]",
        "terseLabel": "Multi-family loans held in securitization trust",
        "verboseLabel": "Multi-family loans held in securitization trusts"
       }
      }
     },
     "localname": "MultiFamilyLoansHeldinSecuritizationTrustMember",
     "nsuri": "http://nymtrust.com/20190930",
     "presentation": [
      "http://nymtrust.com/role/CondensedConsolidatedStatementsOfCashFlows",
      "http://nymtrust.com/role/FairValueOfFinancialInstrumentsChangesInUnrealizedGainsLossesIncludedInEarningsForLevel3AssetsAndLiabilitiesDetails",
      "http://nymtrust.com/role/FairValueOfFinancialInstrumentsValuationForLevel3AssetsDetails",
      "http://nymtrust.com/role/FairValueOfFinancialInstrumentsValuationForLevel3LiabilitiesDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "nymt_MultifamilyCMBSResecuritizationMember": {
     "auth_ref": [],
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Multi-family CMBS Re-securitization",
        "label": "Multi-family CMBS Re-securitization [Member]",
        "terseLabel": "Multi-family CMBS Re-securitization"
       }
      }
     },
     "localname": "MultifamilyCMBSResecuritizationMember",
     "nsuri": "http://nymtrust.com/20190930",
     "presentation": [
      "http://nymtrust.com/role/UseOfSpecialPurposeEntitiesSpeAndVariableInterestEntitiesVieAssetsAndLiabilitiesOfConsolidatedViesDetails",
      "http://nymtrust.com/role/UseOfSpecialPurposeEntitiesSpeAndVariableInterestEntitiesVieNarrativeDetails",
      "http://nymtrust.com/role/UseOfSpecialPurposeEntitiesSpeAndVariableInterestEntitiesVieSecuritizedDebtDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "nymt_MultifamilyLoansHeldInSecuritizationTrustsAtFairValueMember": {
     "auth_ref": [],
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Multi-family Loans Held In Securitization Trusts, At Fair Value",
        "label": "Multi-family Loans Held In Securitization Trusts, At Fair Value [Member]",
        "terseLabel": "Multi-family loans held in securitization trusts, at fair value"
       }
      }
     },
     "localname": "MultifamilyLoansHeldInSecuritizationTrustsAtFairValueMember",
     "nsuri": "http://nymtrust.com/20190930",
     "presentation": [
      "http://nymtrust.com/role/UseOfSpecialPurposeEntitiesSpeAndVariableInterestEntitiesVieAssetsAndLiabilitiesOfConsolidatedViesDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "nymt_NYMPreferredTrustIIMember": {
     "auth_ref": [],
     "lang": {
      "en-US": {
       "role": {
        "documentation": "NYM Preferred Trust II.",
        "label": "NYM Preferred Trust II [Member]",
        "terseLabel": "NYM Preferred Trust II"
       }
      }
     },
     "localname": "NYMPreferredTrustIIMember",
     "nsuri": "http://nymtrust.com/20190930",
     "presentation": [
      "http://nymtrust.com/role/DebtPreferredSecuritiesDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "nymt_NYMPreferredTrustIMember": {
     "auth_ref": [],
     "lang": {
      "en-US": {
       "role": {
        "documentation": "NYM Preferred Trust I.",
        "label": "NYM Preferred Trust I [Member]",
        "terseLabel": "NYM Preferred Trust I"
       }
      }
     },
     "localname": "NYMPreferredTrustIMember",
     "nsuri": "http://nymtrust.com/20190930",
     "presentation": [
      "http://nymtrust.com/role/DebtPreferredSecuritiesDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "nymt_NetRealizedGainLossOnPayoffAndSaleOfMortgageLoans": {
     "auth_ref": [],
     "crdr": "credit",
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Net Realized Gain (Loss) On Payoff And Sale Of Mortgage Loans",
        "label": "Net Realized Gain (Loss) On Payoff And Sale Of Mortgage Loans",
        "terseLabel": "Net realized gains on payoff and sale of loans"
       }
      }
     },
     "localname": "NetRealizedGainLossOnPayoffAndSaleOfMortgageLoans",
     "nsuri": "http://nymtrust.com/20190930",
     "presentation": [
      "http://nymtrust.com/role/DistressedAndOtherResidentialMortgageLoansAtFairValueComponentsOfNetGainLossOnResidentialMortgagesDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "nymt_NonAgencyRMBSMember": {
     "auth_ref": [],
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Non-agency RMBS.",
        "label": "Non Agency RMBS [Member]",
        "terseLabel": "Non-Agency RMBS"
       }
      }
     },
     "localname": "NonAgencyRMBSMember",
     "nsuri": "http://nymtrust.com/20190930",
     "presentation": [
      "http://nymtrust.com/role/InvestmentSecuritiesAvailableForSaleNarrativeDetails",
      "http://nymtrust.com/role/InvestmentSecuritiesAvailableForSaleScheduleOfAvailableForSaleSecuritiesDetails",
      "http://nymtrust.com/role/InvestmentSecuritiesAvailableForSaleScheduleOfInvestmentSecuritiesAvailableForSaleInUnrealizedLossPositionDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "nymt_NonCashFinancingActivitiesAbstract": {
     "auth_ref": [],
     "lang": {
      "en-US": {
       "role": {
        "documentation": "",
        "label": "Non-Cash Financing Activities:",
        "terseLabel": "Non-Cash Financing Activities:"
       }
      }
     },
     "localname": "NonCashFinancingActivitiesAbstract",
     "nsuri": "http://nymtrust.com/20190930",
     "presentation": [
      "http://nymtrust.com/role/CondensedConsolidatedStatementsOfCashFlows"
     ],
     "xbrltype": "stringItemType"
    },
    "nymt_NonCashInvestmentActivitiesAbstract": {
     "auth_ref": [],
     "lang": {
      "en-US": {
       "role": {
        "documentation": "",
        "label": "Non-Cash Investment Activities:",
        "terseLabel": "Non-Cash Investment Activities:"
       }
      }
     },
     "localname": "NonCashInvestmentActivitiesAbstract",
     "nsuri": "http://nymtrust.com/20190930",
     "presentation": [
      "http://nymtrust.com/role/CondensedConsolidatedStatementsOfCashFlows"
     ],
     "xbrltype": "stringItemType"
    },
    "nymt_NonFinancingsMultiFamilyCMBSMember": {
     "auth_ref": [],
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Non-financings, multi-family CMBS.",
        "label": "Non Financings Multi Family CMBS [Member]",
        "terseLabel": "Non Financings Multi Family CMBS"
       }
      }
     },
     "localname": "NonFinancingsMultiFamilyCMBSMember",
     "nsuri": "http://nymtrust.com/20190930",
     "presentation": [
      "http://nymtrust.com/role/UseOfSpecialPurposeEntitiesSpeAndVariableInterestEntitiesVieAssetsAndLiabilitiesOfConsolidatedViesDetails",
      "http://nymtrust.com/role/UseOfSpecialPurposeEntitiesSpeAndVariableInterestEntitiesVieNarrativeDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "nymt_NotionalAmountOfOtherDerivativeAdditions": {
     "auth_ref": [],
     "crdr": "debit",
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Additions for notional amount of other derivatives..",
        "label": "Notional Amount Of Other Derivative Additions",
        "terseLabel": "Additions"
       }
      }
     },
     "localname": "NotionalAmountOfOtherDerivativeAdditions",
     "nsuri": "http://nymtrust.com/20190930",
     "presentation": [
      "http://nymtrust.com/role/DerivativeInstrumentsAndHedgingActivitiesActivityOfDerivativeInstrumentsNotDesignatedAsHedgesDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "nymt_NotionalAmountOfOtherDerivativesSettlementExpirationOrExercise": {
     "auth_ref": [],
     "crdr": "credit",
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Settlement, expiration, or exercise for notional amount of other derivatives.",
        "label": "Notional Amount Of Other Derivatives, Settlement Expiration Or Exercise",
        "negatedLabel": "Settlement, Expiration or Exercise"
       }
      }
     },
     "localname": "NotionalAmountOfOtherDerivativesSettlementExpirationOrExercise",
     "nsuri": "http://nymtrust.com/20190930",
     "presentation": [
      "http://nymtrust.com/role/DerivativeInstrumentsAndHedgingActivitiesActivityOfDerivativeInstrumentsNotDesignatedAsHedgesDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "nymt_NumberOfDelinquentLoans": {
     "auth_ref": [],
     "lang": {
      "en-US": {
       "role": {
        "documentation": "The aggregate number of delinquent loans.",
        "label": "Number of Delinquent Loans",
        "terseLabel": "Number of Delinquent Loans",
        "verboseLabel": "Number of delinquent loans"
       }
      }
     },
     "localname": "NumberOfDelinquentLoans",
     "nsuri": "http://nymtrust.com/20190930",
     "presentation": [
      "http://nymtrust.com/role/DistressedAndOtherResidentialMortgageLoansNetDelinquenciesInPortfolioOfResidentialMortgageLoansHeldInSecuritizationTrustsDetails",
      "http://nymtrust.com/role/DistressedAndOtherResidentialMortgageLoansNetNarrativeDetails",
      "http://nymtrust.com/role/PreferredEquityAndMezzanineLoanInvestmentsDetails"
     ],
     "xbrltype": "integerItemType"
    },
    "nymt_NumberOfDelinquentLoansThroughForeclosure": {
     "auth_ref": [],
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Number of delinquent loans through foreclosure.",
        "label": "Number Of Delinquent Loans Through Foreclosure",
        "terseLabel": "Real estate owned through foreclosure, Number of Delinquent Loans"
       }
      }
     },
     "localname": "NumberOfDelinquentLoansThroughForeclosure",
     "nsuri": "http://nymtrust.com/20190930",
     "presentation": [
      "http://nymtrust.com/role/DistressedAndOtherResidentialMortgageLoansNetDelinquenciesInPortfolioOfResidentialMortgageLoansHeldInSecuritizationTrustsDetails"
     ],
     "xbrltype": "integerItemType"
    },
    "nymt_NumberofConsolidatedSecuritizations": {
     "auth_ref": [],
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Number of Consolidated Securitizations",
        "label": "Number of Consolidated Securitizations",
        "terseLabel": "Number of consolidated securitizations"
       }
      }
     },
     "localname": "NumberofConsolidatedSecuritizations",
     "nsuri": "http://nymtrust.com/20190930",
     "presentation": [
      "http://nymtrust.com/role/UseOfSpecialPurposeEntitiesSpeAndVariableInterestEntitiesVieAssetsAndLiabilitiesOfConsolidatedViesDetails",
      "http://nymtrust.com/role/UseOfSpecialPurposeEntitiesSpeAndVariableInterestEntitiesVieNarrativeDetails"
     ],
     "xbrltype": "integerItemType"
    },
    "nymt_NumberofResidentialCollateralizedDebtObligationSecuritizations": {
     "auth_ref": [],
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Number of Residential Collateralized Debt Obligation Securitizations",
        "label": "Number of Residential Collateralized Debt Obligation Securitizations",
        "terseLabel": "Number of residential CDO securitizations"
       }
      }
     },
     "localname": "NumberofResidentialCollateralizedDebtObligationSecuritizations",
     "nsuri": "http://nymtrust.com/20190930",
     "presentation": [
      "http://nymtrust.com/role/DebtNarrativeDetails"
     ],
     "xbrltype": "integerItemType"
    },
    "nymt_NumberofSecuritizations": {
     "auth_ref": [],
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Number of Securitizations",
        "label": "Number of Securitizations",
        "terseLabel": "Number of securitizations",
        "verboseLabel": "Number of securitizations"
       }
      }
     },
     "localname": "NumberofSecuritizations",
     "nsuri": "http://nymtrust.com/20190930",
     "presentation": [
      "http://nymtrust.com/role/ConsolidatedKSeriesNarrativeDetails",
      "http://nymtrust.com/role/UseOfSpecialPurposeEntitiesSpeAndVariableInterestEntitiesVieAssetsAndLiabilitiesOfConsolidatedViesDetails"
     ],
     "xbrltype": "integerItemType"
    },
    "nymt_NumberofSecuritizationsCompletedtoDate": {
     "auth_ref": [],
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Number of Securitizations Completed to Date",
        "label": "Number of Securitizations Completed to Date",
        "terseLabel": "Number of securitizations completed to date"
       }
      }
     },
     "localname": "NumberofSecuritizationsCompletedtoDate",
     "nsuri": "http://nymtrust.com/20190930",
     "presentation": [
      "http://nymtrust.com/role/UseOfSpecialPurposeEntitiesSpeAndVariableInterestEntitiesVieNarrativeDetails"
     ],
     "xbrltype": "integerItemType"
    },
    "nymt_NumberofSecuritizationsConsideredNonFinancingVariableInterestEntities": {
     "auth_ref": [],
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Number of Securitizations Considered Non-Financing Variable Interest Entities",
        "label": "Number of Securitizations Considered Non-Financing Variable Interest Entities",
        "terseLabel": "Number of securitizations, non-financing VIE's"
       }
      }
     },
     "localname": "NumberofSecuritizationsConsideredNonFinancingVariableInterestEntities",
     "nsuri": "http://nymtrust.com/20190930",
     "presentation": [
      "http://nymtrust.com/role/UseOfSpecialPurposeEntitiesSpeAndVariableInterestEntitiesVieAssetsAndLiabilitiesOfConsolidatedViesDetails",
      "http://nymtrust.com/role/UseOfSpecialPurposeEntitiesSpeAndVariableInterestEntitiesVieNarrativeDetails"
     ],
     "xbrltype": "integerItemType"
    },
    "nymt_NumberofSecuritizationsConsolidatedAccountedforasPermanentFinancing": {
     "auth_ref": [],
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Number of Securitizations, Consolidated, Accounted for as Permanent Financing",
        "label": "Number of Securitizations, Consolidated, Accounted for as Permanent Financing",
        "terseLabel": "Number of securitizations, consolidated, accounted for as permanent financing"
       }
      }
     },
     "localname": "NumberofSecuritizationsConsolidatedAccountedforasPermanentFinancing",
     "nsuri": "http://nymtrust.com/20190930",
     "presentation": [
      "http://nymtrust.com/role/UseOfSpecialPurposeEntitiesSpeAndVariableInterestEntitiesVieNarrativeDetails"
     ],
     "xbrltype": "integerItemType"
    },
    "nymt_NumberofVariableInterestEntitiesConsolidated": {
     "auth_ref": [],
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Number of Variable Interest Entities Consolidated",
        "label": "Number of Variable Interest Entities Consolidated",
        "terseLabel": "Number of variable interest entities consolidated"
       }
      }
     },
     "localname": "NumberofVariableInterestEntitiesConsolidated",
     "nsuri": "http://nymtrust.com/20190930",
     "presentation": [
      "http://nymtrust.com/role/UseOfSpecialPurposeEntitiesSpeAndVariableInterestEntitiesVieNarrativeDetails"
     ],
     "xbrltype": "integerItemType"
    },
    "nymt_OtherVIEsMember": {
     "auth_ref": [],
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Other VIEs [Member]",
        "label": "Other VIEs [Member]",
        "terseLabel": "Other"
       }
      }
     },
     "localname": "OtherVIEsMember",
     "nsuri": "http://nymtrust.com/20190930",
     "presentation": [
      "http://nymtrust.com/role/UseOfSpecialPurposeEntitiesSpeAndVariableInterestEntitiesVieAssetsAndLiabilitiesOfConsolidatedViesDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "nymt_OutstandingRepurchaseAgreementsByContractualMaturityTableTextBlock": {
     "auth_ref": [],
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Outstanding repurchase agreements by contractual maturity.",
        "label": "Outstanding Repurchase Agreements by Contractual Maturity [Table Text Block]",
        "terseLabel": "Schedule of Contractual Maturities of Outstanding Financing Arrangements"
       }
      }
     },
     "localname": "OutstandingRepurchaseAgreementsByContractualMaturityTableTextBlock",
     "nsuri": "http://nymtrust.com/20190930",
     "presentation": [
      "http://nymtrust.com/role/RepurchaseAgreementsTables"
     ],
     "xbrltype": "textBlockItemType"
    },
    "nymt_PercentOfLoanPortfolio": {
     "auth_ref": [],
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Percent of loan portfolio.",
        "label": "% of Loan Portfolio",
        "terseLabel": "% of Loan Portfolio"
       }
      }
     },
     "localname": "PercentOfLoanPortfolio",
     "nsuri": "http://nymtrust.com/20190930",
     "presentation": [
      "http://nymtrust.com/role/DistressedAndOtherResidentialMortgageLoansNetDelinquenciesInPortfolioOfResidentialMortgageLoansHeldInSecuritizationTrustsDetails"
     ],
     "xbrltype": "percentItemType"
    },
    "nymt_PercentOfLoanPortfolioThroughForeclosure": {
     "auth_ref": [],
     "lang": {
      "en-US": {
       "role": {
        "documentation": "The aggregate percentage of the loan portfolio through foreclosure.",
        "label": "Percent Of Loan Portfolio Through Foreclosure",
        "terseLabel": "Real estate owned through foreclosure, % of Loan Portfolio"
       }
      }
     },
     "localname": "PercentOfLoanPortfolioThroughForeclosure",
     "nsuri": "http://nymtrust.com/20190930",
     "presentation": [
      "http://nymtrust.com/role/DistressedAndOtherResidentialMortgageLoansNetDelinquenciesInPortfolioOfResidentialMortgageLoansHeldInSecuritizationTrustsDetails"
     ],
     "xbrltype": "percentItemType"
    },
    "nymt_PortfolioInvestmentsMember": {
     "auth_ref": [],
     "lang": {
      "en-US": {
       "role": {
        "documentation": "The type or description of the financial arrangement.",
        "label": "Portfolio Investments [Member]",
        "terseLabel": "Portfolio Investments"
       }
      }
     },
     "localname": "PortfolioInvestmentsMember",
     "nsuri": "http://nymtrust.com/20190930",
     "presentation": [
      "http://nymtrust.com/role/FairValueOfFinancialInstrumentsCarryingValueAndEstimatedFairValueOfCompanysFinancialAssetsDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "nymt_PreferredEquityDistributionAgreementMember": {
     "auth_ref": [],
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Preferred Equity Distribution Agreement [Member]",
        "label": "Preferred Equity Distribution Agreement [Member]",
        "terseLabel": "Preferred Equity Distribution Agreement"
       }
      }
     },
     "localname": "PreferredEquityDistributionAgreementMember",
     "nsuri": "http://nymtrust.com/20190930",
     "presentation": [
      "http://nymtrust.com/role/StockholdersEquityNarrativeDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "nymt_PreferredEquityInvestmentonMultifamilyPropertiesMember": {
     "auth_ref": [],
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Preferred Equity Investment on Multi-family Properties [Member]",
        "label": "Preferred Equity Investment on Multi-family Properties [Member]",
        "terseLabel": "Preferred equity investments in multi-family properties"
       }
      }
     },
     "localname": "PreferredEquityInvestmentonMultifamilyPropertiesMember",
     "nsuri": "http://nymtrust.com/20190930",
     "presentation": [
      "http://nymtrust.com/role/UseOfSpecialPurposeEntitiesSpeAndVariableInterestEntitiesVieClassificationAndCarryingValueOfUnconsolidatedViesDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "nymt_PreferredStockDividendPaymentRateBasisSpreadOnVariableRate": {
     "auth_ref": [],
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Preferred Stock, Dividend Payment Rate, Basis Spread On Variable Rate",
        "label": "Preferred Stock, Dividend Payment Rate, Basis Spread On Variable Rate",
        "terseLabel": "Interest rate, basis spread"
       }
      }
     },
     "localname": "PreferredStockDividendPaymentRateBasisSpreadOnVariableRate",
     "nsuri": "http://nymtrust.com/20190930",
     "presentation": [
      "http://nymtrust.com/role/SubsequentEventsDetails"
     ],
     "xbrltype": "percentItemType"
    },
    "nymt_PreferredStockPercentageofStockHoldersRequiredforTermChanges": {
     "auth_ref": [],
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Preferred Stock, Percentage of Stock Holders Required for Term Changes",
        "label": "Preferred Stock, Percentage of Stock Holders Required for Term Changes",
        "terseLabel": "Stockholders required for term changes, percentage"
       }
      }
     },
     "localname": "PreferredStockPercentageofStockHoldersRequiredforTermChanges",
     "nsuri": "http://nymtrust.com/20190930",
     "presentation": [
      "http://nymtrust.com/role/StockholdersEquityNarrativeDetails"
     ],
     "xbrltype": "percentItemType"
    },
    "nymt_PreferredStockRedemptionTerm": {
     "auth_ref": [],
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Preferred Stock, Redemption Term",
        "label": "Preferred Stock, Redemption Term",
        "terseLabel": "Redemption term"
       }
      }
     },
     "localname": "PreferredStockRedemptionTerm",
     "nsuri": "http://nymtrust.com/20190930",
     "presentation": [
      "http://nymtrust.com/role/StockholdersEquityNarrativeDetails"
     ],
     "xbrltype": "durationItemType"
    },
    "nymt_PreferredStockSharesReservedForFutureIssuanceValue": {
     "auth_ref": [],
     "crdr": "credit",
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Preferred Stock, Shares Reserved For Future Issuance, Value",
        "label": "Preferred Stock, Shares Reserved For Future Issuance, Value",
        "terseLabel": "Preferred stock available for future issuance, value"
       }
      }
     },
     "localname": "PreferredStockSharesReservedForFutureIssuanceValue",
     "nsuri": "http://nymtrust.com/20190930",
     "presentation": [
      "http://nymtrust.com/role/StockholdersEquityNarrativeDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "nymt_PreferredStockVotingRightsNumberofAdditionalDirectorsElected": {
     "auth_ref": [],
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Preferred Stock, Voting Rights, Number of Additional Directors Elected",
        "label": "Preferred Stock, Voting Rights, Number of Additional Directors Elected",
        "terseLabel": "Number of elected directors pending preferred stock voting rights"
       }
      }
     },
     "localname": "PreferredStockVotingRightsNumberofAdditionalDirectorsElected",
     "nsuri": "http://nymtrust.com/20190930",
     "presentation": [
      "http://nymtrust.com/role/StockholdersEquityNarrativeDetails"
     ],
     "xbrltype": "integerItemType"
    },
    "nymt_RBDHCMember": {
     "auth_ref": [],
     "lang": {
      "en-US": {
       "role": {
        "documentation": "RBDHC",
        "label": "RBDHC [Member]",
        "terseLabel": "RBDHC"
       }
      }
     },
     "localname": "RBDHCMember",
     "nsuri": "http://nymtrust.com/20190930",
     "presentation": [
      "http://nymtrust.com/role/UseOfSpecialPurposeEntitiesSpeAndVariableInterestEntitiesVieNarrativeDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "nymt_RSSWDOwnerLLCRSSWDMitchellOwnerLLCIFOwnerLLCMullisOwnerLLCJHMullisOwnerandSaltzmanOwnerLLCMember": {
     "auth_ref": [],
     "lang": {
      "en-US": {
       "role": {
        "documentation": "RS SWD Owner, LLC RS SWD ,Mitchell Owner, LLC, IF Owner, LLC, Mullis Owner, LLC, JH Mullis Owner and Saltzman Owner, LLC( Collectively) [Member]",
        "label": "RS SWD Owner, LLC RS SWD, Mitchell Owner, LLC, IF Owner, LLC, Mullis Owner, LLC, JH Mullis Owner and Saltzman Owner, LLC [Member]",
        "terseLabel": "RS SWD Owner, LLC, RS SWD Mitchell Owner, LLC, RS SWD IF Owner, LLC, RS SWD Mullis Owner, LLC, RS SWD JH Mullis Owner, and RS SWD Saltzman Owner, LLC (collectively)"
       }
      }
     },
     "localname": "RSSWDOwnerLLCRSSWDMitchellOwnerLLCIFOwnerLLCMullisOwnerLLCJHMullisOwnerandSaltzmanOwnerLLCMember",
     "nsuri": "http://nymtrust.com/20190930",
     "presentation": [
      "http://nymtrust.com/role/InvestmentsInUnconsolidatedEntitiesDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "nymt_ReceivablesAndOtherAssetsFairValue": {
     "auth_ref": [],
     "crdr": "debit",
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Represents fair value disclosure for receivables and other assets.",
        "label": "Receivables And Other Assets Fair Value",
        "terseLabel": "Preferred equity and mezzanine loan investments, estimated fair value"
       }
      }
     },
     "localname": "ReceivablesAndOtherAssetsFairValue",
     "nsuri": "http://nymtrust.com/20190930",
     "presentation": [
      "http://nymtrust.com/role/FairValueOfFinancialInstrumentsCarryingValueAndEstimatedFairValueOfCompanysFinancialAssetsDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "nymt_ReceivablesAndOtherAssetsMember": {
     "auth_ref": [],
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Receivables and other assets in the balance sheet.",
        "label": "Receivables And Other Assets [Member]",
        "terseLabel": "Receivables and other assets"
       }
      }
     },
     "localname": "ReceivablesAndOtherAssetsMember",
     "nsuri": "http://nymtrust.com/20190930",
     "presentation": [
      "http://nymtrust.com/role/UseOfSpecialPurposeEntitiesSpeAndVariableInterestEntitiesVieClassificationAndCarryingValueOfUnconsolidatedViesDetails",
      "http://nymtrust.com/role/UseOfSpecialPurposeEntitiesSpeAndVariableInterestEntitiesVieNarrativeDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "nymt_ReceivablesandOtherAssets": {
     "auth_ref": [],
     "calculation": {
      "http://nymtrust.com/role/CondensedConsolidatedBalanceSheets": {
       "order": 10.0,
       "parentTag": "us-gaap_Assets",
       "weight": 1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Carrying amounts of receivables due as of the balance sheet date from parties or arising from transactions not otherwise specified in the taxonomy.  Sum of the carrying amount for an unclassified balance sheet date of expenditures made in advance of when the economic benefit of the cost will be realized, and which will be expensed in future periods with the passage of time or when a triggering event occurs and the carrying amount as of the balance sheet date of assets not otherwise specified in the taxonomy. Also includes assets not individually reported in the financial statements, or not separately disclosed in notes.",
        "label": "Receivables and Other Assets",
        "terseLabel": "Receivables and other assets",
        "verboseLabel": "Preferred equity and mezzanine loan investments, carrying value"
       }
      }
     },
     "localname": "ReceivablesandOtherAssets",
     "nsuri": "http://nymtrust.com/20190930",
     "presentation": [
      "http://nymtrust.com/role/CondensedConsolidatedBalanceSheets",
      "http://nymtrust.com/role/FairValueOfFinancialInstrumentsCarryingValueAndEstimatedFairValueOfCompanysFinancialAssetsDetails",
      "http://nymtrust.com/role/UseOfSpecialPurposeEntitiesSpeAndVariableInterestEntitiesVieAssetsAndLiabilitiesOfConsolidatedViesDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "nymt_RelativeTSRPerformanceIsEqualToTheFiftiethPercentileMember": {
     "auth_ref": [],
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Relative TSR Performance Is Equal To The Fiftieth Percentile [Member]",
        "label": "Relative TSR Performance Is Equal To The Fiftieth Percentile [Member]",
        "terseLabel": "Relative TSR Performance Is Equal To The Fiftieth Percentile"
       }
      }
     },
     "localname": "RelativeTSRPerformanceIsEqualToTheFiftiethPercentileMember",
     "nsuri": "http://nymtrust.com/20190930",
     "presentation": [
      "http://nymtrust.com/role/StockBasedCompensationNarrativeDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "nymt_RelativeTSRperformanceIsLessThanTheThirtiethPercentileMember": {
     "auth_ref": [],
     "lang": {
      "en-US": {
       "role": {
        "documentation": "TSR performance Is Less Than The Thirtieth Percentile [Member]",
        "label": "Relative TSR performance Is Less Than The Thirtieth Percentile [Member]",
        "terseLabel": "Relative TSR performance Is Less Than The Thirtieth Percentile"
       }
      }
     },
     "localname": "RelativeTSRperformanceIsLessThanTheThirtiethPercentileMember",
     "nsuri": "http://nymtrust.com/20190930",
     "presentation": [
      "http://nymtrust.com/role/StockBasedCompensationNarrativeDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "nymt_RepaymentOfCollateralizedDebtMultifamily": {
     "auth_ref": [],
     "calculation": {
      "http://nymtrust.com/role/CondensedConsolidatedStatementsOfCashFlows": {
       "order": 8.0,
       "parentTag": "us-gaap_NetCashProvidedByUsedInFinancingActivities",
       "weight": -1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Repayment Of Collateralized Debt, Multifamily",
        "label": "Repayment Of Collateralized Debt, Multifamily",
        "terseLabel": "Payments made on multi-family collateralized debt obligations"
       }
      }
     },
     "localname": "RepaymentOfCollateralizedDebtMultifamily",
     "nsuri": "http://nymtrust.com/20190930",
     "presentation": [
      "http://nymtrust.com/role/CondensedConsolidatedStatementsOfCashFlows"
     ],
     "xbrltype": "monetaryItemType"
    },
    "nymt_RepaymentOfCollateralizedDebtResidential": {
     "auth_ref": [],
     "calculation": {
      "http://nymtrust.com/role/CondensedConsolidatedStatementsOfCashFlows": {
       "order": 7.0,
       "parentTag": "us-gaap_NetCashProvidedByUsedInFinancingActivities",
       "weight": -1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Repayment Of Collateralized Debt, Residential",
        "label": "Repayment Of Collateralized Debt, Residential",
        "terseLabel": "Payments made on residential collateralized debt obligations"
       }
      }
     },
     "localname": "RepaymentOfCollateralizedDebtResidential",
     "nsuri": "http://nymtrust.com/20190930",
     "presentation": [
      "http://nymtrust.com/role/CondensedConsolidatedStatementsOfCashFlows"
     ],
     "xbrltype": "monetaryItemType"
    },
    "nymt_RepurchaseAgreementsNumberOfCounterparties": {
     "auth_ref": [],
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Number of counterparties the entity has repurchase agreements with.",
        "label": "Repurchase Agreements, Number of Counterparties",
        "terseLabel": "Repurchase agreements, number of counterparties"
       }
      }
     },
     "localname": "RepurchaseAgreementsNumberOfCounterparties",
     "nsuri": "http://nymtrust.com/20190930",
     "presentation": [
      "http://nymtrust.com/role/RepurchaseAgreementsNarrativeDetails"
     ],
     "xbrltype": "integerItemType"
    },
    "nymt_ResidentialCollateralizedDebtObligationsMember": {
     "auth_ref": [],
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Residential collateralized debt obligations.",
        "label": "Residential Collateralized Debt Obligations [Member]",
        "terseLabel": "Residential collateralized debt obligations",
        "verboseLabel": "Residential collateralized debt obligations"
       }
      }
     },
     "localname": "ResidentialCollateralizedDebtObligationsMember",
     "nsuri": "http://nymtrust.com/20190930",
     "presentation": [
      "http://nymtrust.com/role/CondensedConsolidatedBalanceSheets",
      "http://nymtrust.com/role/CondensedConsolidatedStatementsOfCashFlows",
      "http://nymtrust.com/role/CondensedConsolidatedStatementsOfOperations",
      "http://nymtrust.com/role/DebtNarrativeDetails",
      "http://nymtrust.com/role/FairValueOfFinancialInstrumentsCarryingValueAndEstimatedFairValueOfCompanysFinancialAssetsDetails",
      "http://nymtrust.com/role/UseOfSpecialPurposeEntitiesSpeAndVariableInterestEntitiesVieAssetsAndLiabilitiesOfConsolidatedViesDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "nymt_ResidentialDistressedMortgageLoansHeldInSecuritizationTrustMember": {
     "auth_ref": [],
     "lang": {
      "en-US": {
       "role": {
        "documentation": "The amount of distressed mortgages held in secure trust.",
        "label": "Residential Distressed Mortgage Loans Held In Securitization Trust [Member]",
        "terseLabel": "Distressed residential mortgage loans held in securitization trusts, net"
       }
      }
     },
     "localname": "ResidentialDistressedMortgageLoansHeldInSecuritizationTrustMember",
     "nsuri": "http://nymtrust.com/20190930",
     "presentation": [
      "http://nymtrust.com/role/CondensedConsolidatedStatementsOfCashFlows",
      "http://nymtrust.com/role/DistressedAndOtherResidentialMortgageLoansNetNarrativeDetails",
      "http://nymtrust.com/role/DistressedAndOtherResidentialMortgageLoansNetScheduleOfGeographicConcentrationsOfCreditRiskOfUnpaidPrincipalBalancesDetails",
      "http://nymtrust.com/role/UseOfSpecialPurposeEntitiesSpeAndVariableInterestEntitiesVieAssetsAndLiabilitiesOfConsolidatedViesDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "nymt_ResidentialMortgageLoanSecuritizationMember": {
     "auth_ref": [],
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Residential Mortgage Loan Securitization",
        "label": "Residential Mortgage Loan Securitization [Member]",
        "terseLabel": "Residential Mortgage Loan Securitization"
       }
      }
     },
     "localname": "ResidentialMortgageLoanSecuritizationMember",
     "nsuri": "http://nymtrust.com/20190930",
     "presentation": [
      "http://nymtrust.com/role/UseOfSpecialPurposeEntitiesSpeAndVariableInterestEntitiesVieAssetsAndLiabilitiesOfConsolidatedViesDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "nymt_ResidentialMortgageLoansAccumulatedGrossUnrealizedGainLossBeforeTax": {
     "auth_ref": [],
     "calculation": {
      "http://nymtrust.com/role/DistressedAndOtherResidentialMortgageLoansAtFairValueResidentialMortgageLoansAtFairValueDetails": {
       "order": 2.0,
       "parentTag": "srt_MortgageLoansOnRealEstateFaceAmountOfMortgages",
       "weight": -1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Residential Mortgage Loans, Accumulated Gross Unrealized Gain(loss), before Tax",
        "label": "Residential Mortgage Loans, Accumulated Gross Unrealized Gain (Loss),Before Tax",
        "terseLabel": "Unrealized Gains/(Losses)"
       }
      }
     },
     "localname": "ResidentialMortgageLoansAccumulatedGrossUnrealizedGainLossBeforeTax",
     "nsuri": "http://nymtrust.com/20190930",
     "presentation": [
      "http://nymtrust.com/role/DistressedAndOtherResidentialMortgageLoansAtFairValueResidentialMortgageLoansAtFairValueDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "nymt_ResidentialMortgageLoansAtFairValueMember": {
     "auth_ref": [],
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Residential Mortgage Loans At Fair Value [Member]",
        "label": "Residential Mortgage Loans At Fair Value [Member]",
        "terseLabel": "Residential mortgage loans, at fair value"
       }
      }
     },
     "localname": "ResidentialMortgageLoansAtFairValueMember",
     "nsuri": "http://nymtrust.com/20190930",
     "presentation": [
      "http://nymtrust.com/role/DistressedAndOtherResidentialMortgageLoansAtFairValueConcentrationOfRiskDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "nymt_ResidentialMortgageLoansAtFairValueTableTextBlock": {
     "auth_ref": [],
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Residential Mortgage Loans At Fair Value [Table Text Block]",
        "label": "Residential Mortgage Loans At Fair Value [Table Text Block]",
        "terseLabel": "Schedule of Residential Mortgage Loans At Fair Value"
       }
      }
     },
     "localname": "ResidentialMortgageLoansAtFairValueTableTextBlock",
     "nsuri": "http://nymtrust.com/20190930",
     "presentation": [
      "http://nymtrust.com/role/DistressedAndOtherResidentialMortgageLoansAtFairValueTables"
     ],
     "xbrltype": "textBlockItemType"
    },
    "nymt_ResidentialMortgageLoansFairValueComparedtoUnpaidPrincipalTableTextBlock": {
     "auth_ref": [],
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Residential Mortgage Loans, Fair Value Compared to Unpaid Principal [Table Text Block]",
        "label": "Residential Mortgage Loans, Fair Value Compared to Unpaid Principal [Table Text Block]",
        "terseLabel": "Schedule of Residential Mortgage Loans, Fair Value Compared to Unpaid Principal"
       }
      }
     },
     "localname": "ResidentialMortgageLoansFairValueComparedtoUnpaidPrincipalTableTextBlock",
     "nsuri": "http://nymtrust.com/20190930",
     "presentation": [
      "http://nymtrust.com/role/DistressedAndOtherResidentialMortgageLoansAtFairValueTables"
     ],
     "xbrltype": "textBlockItemType"
    },
    "nymt_ResidentialMortgageLoansHeldInSecuritizationTrustMember": {
     "auth_ref": [],
     "lang": {
      "en-US": {
       "role": {
        "documentation": "The amount of distressed mortgage loans held in a securitized trust.",
        "label": "Residential Mortgage Loans Held In Securitization Trust [Member]",
        "terseLabel": "Residential mortgage loans held in securitization trusts, net",
        "verboseLabel": "Residential mortgage loans held in securitization trusts, net"
       }
      }
     },
     "localname": "ResidentialMortgageLoansHeldInSecuritizationTrustMember",
     "nsuri": "http://nymtrust.com/20190930",
     "presentation": [
      "http://nymtrust.com/role/CondensedConsolidatedBalanceSheets",
      "http://nymtrust.com/role/UseOfSpecialPurposeEntitiesSpeAndVariableInterestEntitiesVieAssetsAndLiabilitiesOfConsolidatedViesDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "nymt_ResidentialMortgageLoansHeldInSecuritizationTrustsAndRealEstateOwnedHeldInResidentialSecuritizationMember": {
     "auth_ref": [],
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Residential mortgage loans held in securitization trusts and real estate owned held in residential securitization.",
        "label": "Residential Mortgage Loans Held In Securitization Trusts And Real Estate Owned Held In Residential Securitization [Member]",
        "terseLabel": "Residential Mortgage Loans Held in Securitization Trusts and Real Estate Owned Held in Residential Securitization"
       }
      }
     },
     "localname": "ResidentialMortgageLoansHeldInSecuritizationTrustsAndRealEstateOwnedHeldInResidentialSecuritizationMember",
     "nsuri": "http://nymtrust.com/20190930",
     "presentation": [
      "http://nymtrust.com/role/DistressedAndOtherResidentialMortgageLoansNetNarrativeDetails",
      "http://nymtrust.com/role/DistressedAndOtherResidentialMortgageLoansNetScheduleOfGeographicConcentrationsOfCreditRiskExceeding5OfTotalLoanBalancesDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "nymt_ResidentialMortgageLoansHeldInSecuritizationTrustsImpairedLoansMember": {
     "auth_ref": [],
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Impaired loans from residential mortgage loans held in securitization trusts.",
        "label": "Residential Mortgage Loans Held In Securitization Trusts Impaired Loans [Member]",
        "terseLabel": "Residential mortgage loans held in securitization trusts \u2013 impaired loans, net",
        "verboseLabel": "Residential mortgage loans held in securitization trusts \u2013 impaired loans, net"
       }
      }
     },
     "localname": "ResidentialMortgageLoansHeldInSecuritizationTrustsImpairedLoansMember",
     "nsuri": "http://nymtrust.com/20190930",
     "presentation": [
      "http://nymtrust.com/role/FairValueOfFinancialInstrumentsAssetsMeasuredAtFairValueOnNonrecurringBasisDetails",
      "http://nymtrust.com/role/FairValueOfFinancialInstrumentsGainsLossesIncurredForAssetsMeasuredAtFairValueDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "nymt_ResidentialMortgageLoansHeldInSecuritizationTrustsNetMember": {
     "auth_ref": [],
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Residential mortgage loans held in securitization trusts, net.",
        "label": "Residential Mortgage Loans Held In Securitization Trusts Net [Member]",
        "terseLabel": "Residential Mortgage Loans Held In Securitization Trusts Net"
       }
      }
     },
     "localname": "ResidentialMortgageLoansHeldInSecuritizationTrustsNetMember",
     "nsuri": "http://nymtrust.com/20190930",
     "presentation": [
      "http://nymtrust.com/role/UseOfSpecialPurposeEntitiesSpeAndVariableInterestEntitiesVieNarrativeDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "nymt_ResidentialMortgageLoansPremiumDiscountAmount": {
     "auth_ref": [],
     "calculation": {
      "http://nymtrust.com/role/DistressedAndOtherResidentialMortgageLoansAtFairValueResidentialMortgageLoansAtFairValueDetails": {
       "order": 1.0,
       "parentTag": "srt_MortgageLoansOnRealEstateFaceAmountOfMortgages",
       "weight": -1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Residential Mortgage Loans, Premium (Discount) Amount",
        "label": "Residential Mortgage Loans, Premium (Discount) Amount",
        "terseLabel": "Premium/(Discount)"
       }
      }
     },
     "localname": "ResidentialMortgageLoansPremiumDiscountAmount",
     "nsuri": "http://nymtrust.com/20190930",
     "presentation": [
      "http://nymtrust.com/role/DistressedAndOtherResidentialMortgageLoansAtFairValueResidentialMortgageLoansAtFairValueDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "nymt_ResidentialMortgageLoansatFairValueTextBlock": {
     "auth_ref": [],
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Residential Mortgage Loans at Fair Value [Text Block]",
        "label": "Residential Mortgage Loans at Fair Value [Text Block]",
        "terseLabel": "Distressed and Other Residential Mortgage Loans, at Fair Value"
       }
      }
     },
     "localname": "ResidentialMortgageLoansatFairValueTextBlock",
     "nsuri": "http://nymtrust.com/20190930",
     "presentation": [
      "http://nymtrust.com/role/DistressedAndOtherResidentialMortgageLoansAtFairValue"
     ],
     "xbrltype": "textBlockItemType"
    },
    "nymt_RiverchaseLandingMember": {
     "auth_ref": [],
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Riverchase Landing [Member]",
        "label": "Riverchase Landing [Member]",
        "terseLabel": "Riverchase Landing"
       }
      }
     },
     "localname": "RiverchaseLandingMember",
     "nsuri": "http://nymtrust.com/20190930",
     "presentation": [
      "http://nymtrust.com/role/RealEstateHeldForSaleInConsolidatedViesDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "nymt_RiverchaseLandingandTheClustersMember": {
     "auth_ref": [],
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Riverchase Landing and The Clusters [Member]",
        "label": "Riverchase Landing and The Clusters [Member]",
        "terseLabel": "Riverchase Landing and The Clusters"
       }
      }
     },
     "localname": "RiverchaseLandingandTheClustersMember",
     "nsuri": "http://nymtrust.com/20190930",
     "presentation": [
      "http://nymtrust.com/role/UseOfSpecialPurposeEntitiesSpeAndVariableInterestEntitiesVieNarrativeDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "nymt_SabinaMontgomeryHoldingsLLCAndSeriesBAndOakleyShoalsApartmentsLLCAndSeriesAMember": {
     "auth_ref": [],
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Sabina Montgomery Holdings LLC And Series B And Oakley Shoals Apartments LLC And Series A [Member]",
        "label": "Sabina Montgomery Holdings LLC And Series B And Oakley Shoals Apartments LLC And Series A [Member]",
        "terseLabel": "Sabina Montgomery Holdings, LLC - Series B and Oakley Shoals Apartments, LLC - Series A (collectively)"
       }
      }
     },
     "localname": "SabinaMontgomeryHoldingsLLCAndSeriesBAndOakleyShoalsApartmentsLLCAndSeriesAMember",
     "nsuri": "http://nymtrust.com/20190930",
     "presentation": [
      "http://nymtrust.com/role/InvestmentsInUnconsolidatedEntitiesDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "nymt_ScheduleOfClassificationAndCarryingValueOfUnconsolidatedVIEsTableTextBlock": {
     "auth_ref": [],
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Table disclosure of classification and carrying value of unconsolidated VIEs.",
        "label": "Schedule of Classification and Carrying Value of Unconsolidated VIEs [Table Text Block]",
        "terseLabel": "Schedule of Classification and Carrying Value of Unconsolidated VIEs [Table Text Block]"
       }
      }
     },
     "localname": "ScheduleOfClassificationAndCarryingValueOfUnconsolidatedVIEsTableTextBlock",
     "nsuri": "http://nymtrust.com/20190930",
     "presentation": [
      "http://nymtrust.com/role/UseOfSpecialPurposeEntitiesSpeAndVariableInterestEntitiesVieTables"
     ],
     "xbrltype": "textBlockItemType"
    },
    "nymt_ScheduleOfComponentsOfRealizedAndUnrealizedGainsAndLossesToDerivativeInstrumentsTableTextBlock": {
     "auth_ref": [],
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Table disclosure of components of realized and unrealized gains and losses to derivatives instruments.",
        "label": "Schedule Of Components Of Realized And Unrealized Gains And Losses To Derivative Instruments [Table Text Block]",
        "terseLabel": "Schedule of Components of Realized and Unrealized Gains and Losses"
       }
      }
     },
     "localname": "ScheduleOfComponentsOfRealizedAndUnrealizedGainsAndLossesToDerivativeInstrumentsTableTextBlock",
     "nsuri": "http://nymtrust.com/20190930",
     "presentation": [
      "http://nymtrust.com/role/DerivativeInstrumentsAndHedgingActivitiesTables"
     ],
     "xbrltype": "textBlockItemType"
    },
    "nymt_ScheduleOfDistressedResidentialMortgageLoansActivityTableTextBlock": {
     "auth_ref": [],
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Tabular disclosure of distressed residential mortgage loans activity.",
        "label": "Schedule of Distressed Residential Mortgage Loans Activity [Table Text Block]",
        "terseLabel": "Schedule of Activity in Accretable Yield for Distressed Residential Mortgage Loans"
       }
      }
     },
     "localname": "ScheduleOfDistressedResidentialMortgageLoansActivityTableTextBlock",
     "nsuri": "http://nymtrust.com/20190930",
     "presentation": [
      "http://nymtrust.com/role/DistressedAndOtherResidentialMortgageLoansNetTables"
     ],
     "xbrltype": "textBlockItemType"
    },
    "nymt_SecuredDebtFairValue": {
     "auth_ref": [],
     "crdr": "credit",
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Fair value of secured debt.",
        "label": "Secured Debt Fair Value",
        "verboseLabel": "Secured debt, estimated fair value"
       }
      }
     },
     "localname": "SecuredDebtFairValue",
     "nsuri": "http://nymtrust.com/20190930",
     "presentation": [
      "http://nymtrust.com/role/FairValueOfFinancialInstrumentsCarryingValueAndEstimatedFairValueOfCompanysFinancialAssetsDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "nymt_SecuritizedDebtMember": {
     "auth_ref": [],
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Securitized debt.",
        "label": "Securitized Debt [Member]",
        "terseLabel": "Securitized debt"
       }
      }
     },
     "localname": "SecuritizedDebtMember",
     "nsuri": "http://nymtrust.com/20190930",
     "presentation": [
      "http://nymtrust.com/role/CondensedConsolidatedStatementsOfOperations"
     ],
     "xbrltype": "domainItemType"
    },
    "nymt_SeniorConvertibleNotesdue2022Member": {
     "auth_ref": [],
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Senior Convertible Notes due 2022 [Member]",
        "label": "Senior Convertible Notes due 2022 [Member]",
        "terseLabel": "6.25% senior convertible notes due 2022"
       }
      }
     },
     "localname": "SeniorConvertibleNotesdue2022Member",
     "nsuri": "http://nymtrust.com/20190930",
     "presentation": [
      "http://nymtrust.com/role/DebtNarrativeDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "nymt_SharebasedCompensationArrangementbySharebasedPaymentAwardFairValueAssumptionsExpectedTermforExpectedVolatilityRate": {
     "auth_ref": [],
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Share-based Compensation Arrangement by Share-based Payment Award, Fair Value Assumptions, Expected Term for Expected Volatility Rate",
        "label": "Share-based Compensation Arrangement by Share-based Payment Award, Fair Value Assumptions, Expected Term for Expected Volatility Rate",
        "terseLabel": "Fair value, expected term for volatility rate"
       }
      }
     },
     "localname": "SharebasedCompensationArrangementbySharebasedPaymentAwardFairValueAssumptionsExpectedTermforExpectedVolatilityRate",
     "nsuri": "http://nymtrust.com/20190930",
     "presentation": [
      "http://nymtrust.com/role/StockBasedCompensationNarrativeDetails"
     ],
     "xbrltype": "durationItemType"
    },
    "nymt_SomersetDeerfieldInvestorLLCMember": {
     "auth_ref": [],
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Somerset Deerfield Investor, LLC [Member]",
        "label": "Somerset Deerfield Investor, LLC [Member]",
        "terseLabel": "Somerset Deerfield Investor, LLC"
       }
      }
     },
     "localname": "SomersetDeerfieldInvestorLLCMember",
     "nsuri": "http://nymtrust.com/20190930",
     "presentation": [
      "http://nymtrust.com/role/InvestmentsInUnconsolidatedEntitiesDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "nymt_TaxableREITSubsidiariesMember": {
     "auth_ref": [],
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Taxable REIT subsidiaries.",
        "label": "Taxable REIT Subsidiaries [Member]",
        "terseLabel": "Taxable REIT Subsidiaries"
       }
      }
     },
     "localname": "TaxableREITSubsidiariesMember",
     "nsuri": "http://nymtrust.com/20190930",
     "presentation": [
      "http://nymtrust.com/role/IncomeTaxesNarrativeDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "nymt_TheClustersMember": {
     "auth_ref": [],
     "lang": {
      "en-US": {
       "role": {
        "documentation": "The Clusters [Member]",
        "label": "The Clusters [Member]",
        "terseLabel": "The Clusters"
       }
      }
     },
     "localname": "TheClustersMember",
     "nsuri": "http://nymtrust.com/20190930",
     "presentation": [
      "http://nymtrust.com/role/RealEstateHeldForSaleInConsolidatedViesDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "nymt_ThePreserveatPortRoyalVentureLLCMember": {
     "auth_ref": [],
     "lang": {
      "en-US": {
       "role": {
        "documentation": "The Preserve at Port Royal Venture, LLC [Member]",
        "label": "The Preserve at Port Royal Venture, LLC [Member]",
        "terseLabel": "The Preserve at Port Royal Venture, LLC"
       }
      }
     },
     "localname": "ThePreserveatPortRoyalVentureLLCMember",
     "nsuri": "http://nymtrust.com/20190930",
     "presentation": [
      "http://nymtrust.com/role/InvestmentsInUnconsolidatedEntitiesDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "nymt_TowersPropertyHoldingsLLCMember": {
     "auth_ref": [],
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Towers Property Holdings LLC [Member]",
        "label": "Towers Property Holdings LLC [Member]",
        "terseLabel": "Towers Property Holdings, LLC"
       }
      }
     },
     "localname": "TowersPropertyHoldingsLLCMember",
     "nsuri": "http://nymtrust.com/20190930",
     "presentation": [
      "http://nymtrust.com/role/InvestmentsInUnconsolidatedEntitiesDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "nymt_TwoThousandTenStockIncentivePlanMember": {
     "auth_ref": [],
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Represents Company's 2010 Stock Incentive Plan.",
        "label": "Two Thousand Ten Stock Incentive Plan [Member]",
        "terseLabel": "2010 Stock Incentive Plan"
       }
      }
     },
     "localname": "TwoThousandTenStockIncentivePlanMember",
     "nsuri": "http://nymtrust.com/20190930",
     "presentation": [
      "http://nymtrust.com/role/StockBasedCompensationNarrativeDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "nymt_UnconsolidatedVIEMaximumLossExposure": {
     "auth_ref": [],
     "crdr": "debit",
     "lang": {
      "en-US": {
       "role": {
        "documentation": "The item represents the maximum loss exposure on unconsolidated variable interest entities.",
        "label": "Unconsolidated VIE, Maximum Loss Exposure",
        "terseLabel": "Unconsolidated VIE, maximum loss exposure"
       }
      }
     },
     "localname": "UnconsolidatedVIEMaximumLossExposure",
     "nsuri": "http://nymtrust.com/20190930",
     "presentation": [
      "http://nymtrust.com/role/UseOfSpecialPurposeEntitiesSpeAndVariableInterestEntitiesVieNarrativeDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "nymt_UnderwrittenPublicOfferingMember": {
     "auth_ref": [],
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Underwritten Public Offering [Member]",
        "label": "Underwritten Public Offering [Member]",
        "terseLabel": "Underwritten Public Offering"
       }
      }
     },
     "localname": "UnderwrittenPublicOfferingMember",
     "nsuri": "http://nymtrust.com/20190930",
     "presentation": [
      "http://nymtrust.com/role/StockholdersEquityScheduleOfPublicOfferingOfCommonStockDetails",
      "http://nymtrust.com/role/SubsequentEventsDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "nymt_UnencumberedInvestmentSecurities": {
     "auth_ref": [],
     "crdr": "debit",
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Represents the amount of unencumbered investment securities available to meet additional haircut or market valuation requirements.",
        "label": "Unencumbered Investment Securities",
        "terseLabel": "Unencumbered investment securities"
       }
      }
     },
     "localname": "UnencumberedInvestmentSecurities",
     "nsuri": "http://nymtrust.com/20190930",
     "presentation": [
      "http://nymtrust.com/role/RepurchaseAgreementsNarrativeDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "nymt_UnrealizedGainLossOnRealEstateMortgageLoansNet": {
     "auth_ref": [],
     "crdr": "credit",
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Unrealized Gain (Loss) On Real Estate Mortgage Loans, Net",
        "label": "Unrealized Gain (Loss) On Real Estate Mortgage Loans, Net",
        "terseLabel": "Net unrealized gains (losses)"
       }
      }
     },
     "localname": "UnrealizedGainLossOnRealEstateMortgageLoansNet",
     "nsuri": "http://nymtrust.com/20190930",
     "presentation": [
      "http://nymtrust.com/role/DistressedAndOtherResidentialMortgageLoansAtFairValueComponentsOfNetGainLossOnResidentialMortgagesDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "nymt_UseOfSpecialPurposeEntitiesAndVariableInterestEntitiesTextBlock": {
     "auth_ref": [],
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Disclosure of special purpose entities and variable interest entities.",
        "label": "Use Of Special Purpose Entities And Variable Interest Entities [Text Block]",
        "terseLabel": "Use of Special Purpose Entities (SPE) and Variable Interest Entities (VIE)"
       }
      }
     },
     "localname": "UseOfSpecialPurposeEntitiesAndVariableInterestEntitiesTextBlock",
     "nsuri": "http://nymtrust.com/20190930",
     "presentation": [
      "http://nymtrust.com/role/UseOfSpecialPurposeEntitiesSpeAndVariableInterestEntitiesVie"
     ],
     "xbrltype": "textBlockItemType"
    },
    "nymt_VariableInterestEntitySecuritizedDebtMember": {
     "auth_ref": [],
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Variable Interest Entity, Securitized Debt [Member]",
        "label": "Variable Interest Entity, Securitized Debt [Member]",
        "terseLabel": "Variable Interest Entity, Securitized Debt"
       }
      }
     },
     "localname": "VariableInterestEntitySecuritizedDebtMember",
     "nsuri": "http://nymtrust.com/20190930",
     "presentation": [
      "http://nymtrust.com/role/UseOfSpecialPurposeEntitiesSpeAndVariableInterestEntitiesVieSecuritizedDebtDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "nymt_WRSavannahHoldingsLLCMember": {
     "auth_ref": [],
     "lang": {
      "en-US": {
       "role": {
        "documentation": "WR Savannah Holdings, LLC [Member]",
        "label": "WR Savannah Holdings, LLC [Member]",
        "terseLabel": "WR Savannah Holdings, LLC"
       }
      }
     },
     "localname": "WRSavannahHoldingsLLCMember",
     "nsuri": "http://nymtrust.com/20190930",
     "presentation": [
      "http://nymtrust.com/role/InvestmentsInUnconsolidatedEntitiesDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "nymt_WalnutCreekPropertiesHoldingsLLCMember": {
     "auth_ref": [],
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Walnut Creek Properties Holdings, LLC [Member]",
        "label": "Walnut Creek Properties Holdings, LLC [Member]",
        "terseLabel": "Walnut Creek Properties Holdings, L.L.C."
       }
      }
     },
     "localname": "WalnutCreekPropertiesHoldingsLLCMember",
     "nsuri": "http://nymtrust.com/20190930",
     "presentation": [
      "http://nymtrust.com/role/InvestmentsInUnconsolidatedEntitiesDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "srt_BoardOfDirectorsChairmanMember": {
     "auth_ref": [
      "r144"
     ],
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Leader of board of directors.",
        "label": "Board of Directors Chairman [Member]",
        "terseLabel": "Board of Directors Chairman"
       }
      }
     },
     "localname": "BoardOfDirectorsChairmanMember",
     "nsuri": "http://fasb.org/srt/2019-01-31",
     "presentation": [
      "http://nymtrust.com/role/StockBasedCompensationNarrativeDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "srt_CondensedBalanceSheetStatementTable": {
     "auth_ref": [
      "r112",
      "r299",
      "r497"
     ],
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Disclosure of information about condensed balance sheet, including, but not limited to, balance sheets of consolidated entities and consolidation eliminations.",
        "label": "Condensed Balance Sheet Statement [Table]",
        "terseLabel": "Condensed Balance Sheet Statement [Table]"
       }
      }
     },
     "localname": "CondensedBalanceSheetStatementTable",
     "nsuri": "http://fasb.org/srt/2019-01-31",
     "presentation": [
      "http://nymtrust.com/role/ConsolidatedKSeriesCondensedBalanceSheetOfConsolidatedKSeriesDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "srt_CondensedBalanceSheetStatementsCaptionsLineItems": {
     "auth_ref": [],
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Line items represent financial concepts included in a table. These concepts are used to disclose reportable information associated with domain members defined in one or many axes to the table.",
        "label": "Condensed Balance Sheet Statements, Captions [Line Items]",
        "terseLabel": "Condensed Balance Sheet Statements, Captions [Line Items]"
       }
      }
     },
     "localname": "CondensedBalanceSheetStatementsCaptionsLineItems",
     "nsuri": "http://fasb.org/srt/2019-01-31",
     "presentation": [
      "http://nymtrust.com/role/ConsolidatedKSeriesCondensedBalanceSheetOfConsolidatedKSeriesDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "srt_CondensedIncomeStatementTable": {
     "auth_ref": [
      "r112",
      "r299",
      "r500"
     ],
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Disclosure of information about condensed income statement including, but not limited to, income statements of consolidated entities and consolidation eliminations.",
        "label": "Condensed Income Statement [Table]",
        "terseLabel": "Condensed Income Statement [Table]"
       }
      }
     },
     "localname": "CondensedIncomeStatementTable",
     "nsuri": "http://fasb.org/srt/2019-01-31",
     "presentation": [
      "http://nymtrust.com/role/ConsolidatedKSeriesCondensedStatementOfOperationsOfConsolidatedKSeriesDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "srt_CondensedIncomeStatementsCaptionsLineItems": {
     "auth_ref": [],
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Line items represent financial concepts included in a table. These concepts are used to disclose reportable information associated with domain members defined in one or many axes to the table.",
        "label": "Condensed Income Statements, Captions [Line Items]",
        "terseLabel": "Condensed Income Statements, Captions [Line Items]"
       }
      }
     },
     "localname": "CondensedIncomeStatementsCaptionsLineItems",
     "nsuri": "http://fasb.org/srt/2019-01-31",
     "presentation": [
      "http://nymtrust.com/role/ConsolidatedKSeriesCondensedStatementOfOperationsOfConsolidatedKSeriesDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "srt_CounterpartyNameAxis": {
     "auth_ref": [
      "r39",
      "r100",
      "r503"
     ],
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Information by name of counterparty. A counterparty is the other party that participates in a financial transaction. Examples include, but not limited to, the name of the financial institution.",
        "label": "Counterparty Name [Axis]",
        "terseLabel": "Counterparty Name [Axis]"
       }
      }
     },
     "localname": "CounterpartyNameAxis",
     "nsuri": "http://fasb.org/srt/2019-01-31",
     "presentation": [
      "http://nymtrust.com/role/DistressedAndOtherResidentialMortgageLoansNetNarrativeDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "srt_DirectorMember": {
     "auth_ref": [
      "r144"
     ],
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Person serving on board of directors.",
        "label": "Director [Member]",
        "terseLabel": "Director"
       }
      }
     },
     "localname": "DirectorMember",
     "nsuri": "http://fasb.org/srt/2019-01-31",
     "presentation": [
      "http://nymtrust.com/role/StockBasedCompensationNarrativeDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "srt_EquityMethodInvesteeNameDomain": {
     "auth_ref": [],
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Name of investment, including named security. Excludes consolidated entity.",
        "label": "Investment, Name [Domain]",
        "terseLabel": "Investment, Name [Domain]"
       }
      }
     },
     "localname": "EquityMethodInvesteeNameDomain",
     "nsuri": "http://fasb.org/srt/2019-01-31",
     "presentation": [
      "http://nymtrust.com/role/DebtNarrativeDetails",
      "http://nymtrust.com/role/DebtScheduleOfVieDebtDetails",
      "http://nymtrust.com/role/InvestmentsInUnconsolidatedEntitiesDetails",
      "http://nymtrust.com/role/RealEstateHeldForSaleInConsolidatedViesDetails",
      "http://nymtrust.com/role/UseOfSpecialPurposeEntitiesSpeAndVariableInterestEntitiesVieNarrativeDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "srt_MaximumMember": {
     "auth_ref": [],
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Upper limit of the provided range.",
        "label": "Maximum [Member]",
        "terseLabel": "Maximum"
       }
      }
     },
     "localname": "MaximumMember",
     "nsuri": "http://fasb.org/srt/2019-01-31",
     "presentation": [
      "http://nymtrust.com/role/FairValueOfFinancialInstrumentsNarrativeDetails",
      "http://nymtrust.com/role/StockholdersEquityNarrativeDetails",
      "http://nymtrust.com/role/UseOfSpecialPurposeEntitiesSpeAndVariableInterestEntitiesVieAssetsAndLiabilitiesOfConsolidatedViesDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "srt_MinimumMember": {
     "auth_ref": [],
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Lower limit of the provided range.",
        "label": "Minimum [Member]",
        "terseLabel": "Minimum"
       }
      }
     },
     "localname": "MinimumMember",
     "nsuri": "http://fasb.org/srt/2019-01-31",
     "presentation": [
      "http://nymtrust.com/role/FairValueOfFinancialInstrumentsNarrativeDetails",
      "http://nymtrust.com/role/StockholdersEquityNarrativeDetails",
      "http://nymtrust.com/role/UseOfSpecialPurposeEntitiesSpeAndVariableInterestEntitiesVieAssetsAndLiabilitiesOfConsolidatedViesDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "srt_MortgageLoansOnRealEstateAbstract": {
     "auth_ref": [],
     "lang": {
      "en-US": {
       "role": {
        "label": "SEC Schedule, 12-29, Real Estate Companies, Investment in Mortgage Loans on Real Estate [Abstract]"
       }
      }
     },
     "localname": "MortgageLoansOnRealEstateAbstract",
     "nsuri": "http://fasb.org/srt/2019-01-31",
     "xbrltype": "stringItemType"
    },
    "srt_MortgageLoansOnRealEstateByLoanDisclosureTextBlock": {
     "auth_ref": [
      "r481",
      "r501"
     ],
     "lang": {
      "en-US": {
       "role": {
        "documentation": "The entire disclosure for investment in mortgage loan on real estate by entity with substantial portion of business acquiring and holding investment real estate or interest in real estate. Includes, but is not limited to, information for each mortgage loan receivable equaling or exceeding three percent of carrying amount of mortgage.",
        "label": "SEC Schedule, 12-29, Real Estate Companies, Investment in Mortgage Loans on Real Estate [Text Block]",
        "terseLabel": "Distressed and Other Residential Mortgage Loans, Net"
       }
      }
     },
     "localname": "MortgageLoansOnRealEstateByLoanDisclosureTextBlock",
     "nsuri": "http://fasb.org/srt/2019-01-31",
     "presentation": [
      "http://nymtrust.com/role/DistressedAndOtherResidentialMortgageLoansNet"
     ],
     "xbrltype": "textBlockItemType"
    },
    "srt_MortgageLoansOnRealEstateDescriptionLoanCategoryAxis": {
     "auth_ref": [
      "r480",
      "r496"
     ],
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Information by loan category for investment in mortgage loan on real estate by entity with substantial portion of business acquiring and holding investment real estate or interest in real estate.",
        "label": "SEC Schedule, 12-29, Real Estate Companies, Investment in Mortgage Loans on Real Estate, Loan Category [Axis]",
        "terseLabel": "SEC Schedule, 12-29, Real Estate Companies, Investment in Mortgage Loans on Real Estate, Loan Category [Axis]"
       }
      }
     },
     "localname": "MortgageLoansOnRealEstateDescriptionLoanCategoryAxis",
     "nsuri": "http://fasb.org/srt/2019-01-31",
     "presentation": [
      "http://nymtrust.com/role/ConsolidatedKSeriesGeographicConcentrationsOfCreditRiskDetails",
      "http://nymtrust.com/role/DistressedAndOtherResidentialMortgageLoansAtFairValueNarrativeDetails",
      "http://nymtrust.com/role/DistressedAndOtherResidentialMortgageLoansAtFairValueResidentialMortgageLoansAtFairValueDetails",
      "http://nymtrust.com/role/DistressedAndOtherResidentialMortgageLoansNetNarrativeDetails",
      "http://nymtrust.com/role/DistressedAndOtherResidentialMortgageLoansNetScheduleOfAccretableYieldDetails",
      "http://nymtrust.com/role/DistressedAndOtherResidentialMortgageLoansNetScheduleOfGeographicConcentrationsOfCreditRiskExceeding5OfTotalLoanBalancesDetails",
      "http://nymtrust.com/role/RepurchaseAgreementsBorrowingsUnderFinancingArrangementsAndAssociatedAssetsPledgedAsCollateralDetails",
      "http://nymtrust.com/role/UseOfSpecialPurposeEntitiesSpeAndVariableInterestEntitiesVieAssetsAndLiabilitiesOfConsolidatedViesDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "srt_MortgageLoansOnRealEstateFaceAmountOfMortgages": {
     "auth_ref": [
      "r476",
      "r498"
     ],
     "calculation": {
      "http://nymtrust.com/role/DistressedAndOtherResidentialMortgageLoansAtFairValueResidentialMortgageLoansAtFairValueDetails": {
       "order": null,
       "parentTag": null,
       "root": true,
       "weight": null
      }
     },
     "crdr": "debit",
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Amount of contractual principal due at origination of mortgage loan within investment in mortgage loan on real estate by entity with substantial portion of business acquiring and holding investment real estate or interest in real estate.",
        "label": "SEC Schedule, 12-29, Real Estate Companies, Investment in Mortgage Loans on Real Estate, Face Amount of Mortgages",
        "totalLabel": "Principal"
       }
      }
     },
     "localname": "MortgageLoansOnRealEstateFaceAmountOfMortgages",
     "nsuri": "http://fasb.org/srt/2019-01-31",
     "presentation": [
      "http://nymtrust.com/role/DistressedAndOtherResidentialMortgageLoansAtFairValueResidentialMortgageLoansAtFairValueDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "srt_MortgageLoansOnRealEstateLineItems": {
     "auth_ref": [],
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Line items represent financial concepts included in a table. These concepts are used to disclose reportable information associated with domain members defined in one or many axes to the table.",
        "label": "SEC Schedule, 12-29, Real Estate Companies, Investment in Mortgage Loans on Real Estate [Line Items]",
        "terseLabel": "SEC Schedule, 12-29, Real Estate Companies, Investment in Mortgage Loans on Real Estate [Line Items]"
       }
      }
     },
     "localname": "MortgageLoansOnRealEstateLineItems",
     "nsuri": "http://fasb.org/srt/2019-01-31",
     "presentation": [
      "http://nymtrust.com/role/ConsolidatedKSeriesNarrativeDetails",
      "http://nymtrust.com/role/DistressedAndOtherResidentialMortgageLoansAtFairValueDifferencesBetweenFairValueAndAggregateUnpaidPrincipalDetails",
      "http://nymtrust.com/role/DistressedAndOtherResidentialMortgageLoansAtFairValueNarrativeDetails",
      "http://nymtrust.com/role/DistressedAndOtherResidentialMortgageLoansAtFairValueResidentialMortgageLoansAtFairValueDetails",
      "http://nymtrust.com/role/DistressedAndOtherResidentialMortgageLoansNetNarrativeDetails",
      "http://nymtrust.com/role/DistressedAndOtherResidentialMortgageLoansNetScheduleOfAccretableYieldDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "srt_MortgageLoansOnRealEstateLoanCategoryDomain": {
     "auth_ref": [],
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Loan category for investment in mortgage loan on real estate by entity with substantial portion of business acquiring and holding investment real estate or interest in real estate.",
        "label": "SEC Schedule, 12-29, Real Estate Companies, Investment in Mortgage Loans on Real Estate, Loan Category [Domain]",
        "terseLabel": "SEC Schedule, 12-29, Real Estate Companies, Investment in Mortgage Loans on Real Estate, Loan Category [Domain]"
       }
      }
     },
     "localname": "MortgageLoansOnRealEstateLoanCategoryDomain",
     "nsuri": "http://fasb.org/srt/2019-01-31",
     "presentation": [
      "http://nymtrust.com/role/ConsolidatedKSeriesGeographicConcentrationsOfCreditRiskDetails",
      "http://nymtrust.com/role/DistressedAndOtherResidentialMortgageLoansAtFairValueNarrativeDetails",
      "http://nymtrust.com/role/DistressedAndOtherResidentialMortgageLoansAtFairValueResidentialMortgageLoansAtFairValueDetails",
      "http://nymtrust.com/role/DistressedAndOtherResidentialMortgageLoansNetNarrativeDetails",
      "http://nymtrust.com/role/DistressedAndOtherResidentialMortgageLoansNetScheduleOfAccretableYieldDetails",
      "http://nymtrust.com/role/DistressedAndOtherResidentialMortgageLoansNetScheduleOfGeographicConcentrationsOfCreditRiskExceeding5OfTotalLoanBalancesDetails",
      "http://nymtrust.com/role/RepurchaseAgreementsBorrowingsUnderFinancingArrangementsAndAssociatedAssetsPledgedAsCollateralDetails",
      "http://nymtrust.com/role/UseOfSpecialPurposeEntitiesSpeAndVariableInterestEntitiesVieAssetsAndLiabilitiesOfConsolidatedViesDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "srt_MortgageLoansOnRealEstateLoanTypeAxis": {
     "auth_ref": [
      "r479",
      "r495"
     ],
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Information by type of loan for investment in mortgage loan on real estate by entity with substantial portion of business acquiring and holding investment real estate or interest in real estate.",
        "label": "SEC Schedule, 12-29, Real Estate Companies, Investment in Mortgage Loans on Real Estate, Loan Type [Axis]",
        "terseLabel": "SEC Schedule, 12-29, Real Estate Companies, Investment in Mortgage Loans on Real Estate, Loan Type [Axis]"
       }
      }
     },
     "localname": "MortgageLoansOnRealEstateLoanTypeAxis",
     "nsuri": "http://fasb.org/srt/2019-01-31",
     "presentation": [
      "http://nymtrust.com/role/ConsolidatedKSeriesNarrativeDetails",
      "http://nymtrust.com/role/DistressedAndOtherResidentialMortgageLoansNetNarrativeDetails",
      "http://nymtrust.com/role/FairValueOfFinancialInstrumentsAssetsMeasuredAtFairValueOnNonrecurringBasisDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "srt_MortgageLoansOnRealEstateLoanTypeDomain": {
     "auth_ref": [],
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Type of loan within investment in mortgage loan on real estate by entity with substantial portion of business acquiring and holding investment real estate or interest in real estate.",
        "label": "SEC Schedule, 12-29, Real Estate Companies, Investment in Mortgage Loans on Real Estate, Loan Type [Domain]",
        "terseLabel": "SEC Schedule, 12-29, Real Estate Companies, Investment in Mortgage Loans on Real Estate, Loan Type [Domain]"
       }
      }
     },
     "localname": "MortgageLoansOnRealEstateLoanTypeDomain",
     "nsuri": "http://fasb.org/srt/2019-01-31",
     "presentation": [
      "http://nymtrust.com/role/ConsolidatedKSeriesNarrativeDetails",
      "http://nymtrust.com/role/DistressedAndOtherResidentialMortgageLoansNetNarrativeDetails",
      "http://nymtrust.com/role/FairValueOfFinancialInstrumentsAssetsMeasuredAtFairValueOnNonrecurringBasisDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "srt_MortgageLoansOnRealEstatePrincipalAmountOfDelinquentLoans": {
     "auth_ref": [
      "r478",
      "r499"
     ],
     "crdr": "debit",
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Amount of principal due on delinquent mortgage loan within investment in mortgage loan on real estate by entity with substantial portion of business acquiring and holding investment real estate or interest in real estate.",
        "label": "SEC Schedule, 12-29, Real Estate Companies, Investment in Mortgage Loans on Real Estate, Principal Amount of Delinquent Loans",
        "terseLabel": "Principal amount of delinquent loans",
        "verboseLabel": "Unpaid Principal Balance"
       }
      }
     },
     "localname": "MortgageLoansOnRealEstatePrincipalAmountOfDelinquentLoans",
     "nsuri": "http://fasb.org/srt/2019-01-31",
     "presentation": [
      "http://nymtrust.com/role/DistressedAndOtherResidentialMortgageLoansAtFairValueDifferencesBetweenFairValueAndAggregateUnpaidPrincipalDetails",
      "http://nymtrust.com/role/DistressedAndOtherResidentialMortgageLoansAtFairValueNarrativeDetails",
      "http://nymtrust.com/role/DistressedAndOtherResidentialMortgageLoansNetNarrativeDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "srt_MortgageLoansOnRealEstateScheduleTable": {
     "auth_ref": [
      "r481",
      "r501"
     ],
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Disclosure of information about investment in mortgage loan on real estate by entity with substantial portion of business acquiring and holding investment real estate or interest in real estate.",
        "label": "SEC Schedule, 12-29, Real Estate Companies, Investment in Mortgage Loans on Real Estate Schedule [Table]",
        "terseLabel": "SEC Schedule, 12-29, Real Estate Companies, Investment in Mortgage Loans on Real Estate Schedule [Table]"
       }
      }
     },
     "localname": "MortgageLoansOnRealEstateScheduleTable",
     "nsuri": "http://fasb.org/srt/2019-01-31",
     "presentation": [
      "http://nymtrust.com/role/ConsolidatedKSeriesNarrativeDetails",
      "http://nymtrust.com/role/DistressedAndOtherResidentialMortgageLoansAtFairValueDifferencesBetweenFairValueAndAggregateUnpaidPrincipalDetails",
      "http://nymtrust.com/role/DistressedAndOtherResidentialMortgageLoansAtFairValueNarrativeDetails",
      "http://nymtrust.com/role/DistressedAndOtherResidentialMortgageLoansAtFairValueResidentialMortgageLoansAtFairValueDetails",
      "http://nymtrust.com/role/DistressedAndOtherResidentialMortgageLoansNetNarrativeDetails",
      "http://nymtrust.com/role/DistressedAndOtherResidentialMortgageLoansNetScheduleOfAccretableYieldDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "srt_RangeAxis": {
     "auth_ref": [],
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Information by statistical measurement. Includes, but is not limited to, minimum, maximum, weighted average, arithmetic average, and median.",
        "label": "Statistical Measurement [Axis]",
        "terseLabel": "Statistical Measurement [Axis]"
       }
      }
     },
     "localname": "RangeAxis",
     "nsuri": "http://fasb.org/srt/2019-01-31",
     "presentation": [
      "http://nymtrust.com/role/FairValueOfFinancialInstrumentsNarrativeDetails",
      "http://nymtrust.com/role/StockholdersEquityNarrativeDetails",
      "http://nymtrust.com/role/UseOfSpecialPurposeEntitiesSpeAndVariableInterestEntitiesVieAssetsAndLiabilitiesOfConsolidatedViesDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "srt_RangeMember": {
     "auth_ref": [],
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Statistical measurement. Includes, but is not limited to, minimum, maximum, weighted average, arithmetic average, and median.",
        "label": "Statistical Measurement [Domain]",
        "terseLabel": "Statistical Measurement [Domain]"
       }
      }
     },
     "localname": "RangeMember",
     "nsuri": "http://fasb.org/srt/2019-01-31",
     "presentation": [
      "http://nymtrust.com/role/FairValueOfFinancialInstrumentsNarrativeDetails",
      "http://nymtrust.com/role/StockholdersEquityNarrativeDetails",
      "http://nymtrust.com/role/UseOfSpecialPurposeEntitiesSpeAndVariableInterestEntitiesVieAssetsAndLiabilitiesOfConsolidatedViesDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "srt_RepurchaseAgreementCounterpartyNameDomain": {
     "auth_ref": [],
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Named other party that participates in a financial transaction. Examples include, but not limited to, the name of the financial institution.",
        "label": "Counterparty Name [Domain]",
        "terseLabel": "Counterparty Name [Domain]"
       }
      }
     },
     "localname": "RepurchaseAgreementCounterpartyNameDomain",
     "nsuri": "http://fasb.org/srt/2019-01-31",
     "presentation": [
      "http://nymtrust.com/role/DistressedAndOtherResidentialMortgageLoansNetNarrativeDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "srt_ScheduleOfCondensedBalanceSheetTableTextBlock": {
     "auth_ref": [
      "r502"
     ],
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Tabular disclosure of condensed balance sheet, including, but not limited to, balance sheets of consolidated entities and consolidation eliminations.",
        "label": "Condensed Balance Sheet [Table Text Block]",
        "terseLabel": "Schedule of Condensed Consolidated Balance Sheet of the Consolidated K-Series"
       }
      }
     },
     "localname": "ScheduleOfCondensedBalanceSheetTableTextBlock",
     "nsuri": "http://fasb.org/srt/2019-01-31",
     "presentation": [
      "http://nymtrust.com/role/ConsolidatedKSeriesTables"
     ],
     "xbrltype": "textBlockItemType"
    },
    "srt_ScheduleOfCondensedIncomeStatementTableTextBlock": {
     "auth_ref": [
      "r502"
     ],
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Tabular disclosure of condensed income statement, including, but not limited to, income statements of consolidated entities and consolidation eliminations.",
        "label": "Condensed Income Statement [Table Text Block]",
        "terseLabel": "Schedule of Condensed Consolidated Statements of Operations of the Consolidated K-Series"
       }
      }
     },
     "localname": "ScheduleOfCondensedIncomeStatementTableTextBlock",
     "nsuri": "http://fasb.org/srt/2019-01-31",
     "presentation": [
      "http://nymtrust.com/role/ConsolidatedKSeriesTables"
     ],
     "xbrltype": "textBlockItemType"
    },
    "srt_ScheduleOfEquityMethodInvestmentEquityMethodInvesteeNameAxis": {
     "auth_ref": [
      "r185"
     ],
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Information by name of investment, including named security. Excludes consolidated entity.",
        "label": "Investment, Name [Axis]",
        "terseLabel": "Investment, Name [Axis]"
       }
      }
     },
     "localname": "ScheduleOfEquityMethodInvestmentEquityMethodInvesteeNameAxis",
     "nsuri": "http://fasb.org/srt/2019-01-31",
     "presentation": [
      "http://nymtrust.com/role/DebtNarrativeDetails",
      "http://nymtrust.com/role/DebtScheduleOfVieDebtDetails",
      "http://nymtrust.com/role/InvestmentsInUnconsolidatedEntitiesDetails",
      "http://nymtrust.com/role/RealEstateHeldForSaleInConsolidatedViesDetails",
      "http://nymtrust.com/role/UseOfSpecialPurposeEntitiesSpeAndVariableInterestEntitiesVieNarrativeDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "srt_SegmentGeographicalDomain": {
     "auth_ref": [],
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Geographical area.",
        "label": "Geographical [Domain]",
        "terseLabel": "Geographical [Domain]"
       }
      }
     },
     "localname": "SegmentGeographicalDomain",
     "nsuri": "http://fasb.org/srt/2019-01-31",
     "presentation": [
      "http://nymtrust.com/role/ConsolidatedKSeriesGeographicConcentrationsOfCreditRiskDetails",
      "http://nymtrust.com/role/DistressedAndOtherResidentialMortgageLoansAtFairValueConcentrationOfRiskDetails",
      "http://nymtrust.com/role/DistressedAndOtherResidentialMortgageLoansNetScheduleOfGeographicConcentrationsOfCreditRiskExceeding5OfTotalLoanBalancesDetails",
      "http://nymtrust.com/role/DistressedAndOtherResidentialMortgageLoansNetScheduleOfGeographicConcentrationsOfCreditRiskOfUnpaidPrincipalBalancesDetails",
      "http://nymtrust.com/role/PreferredEquityAndMezzanineLoanInvestmentsDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "srt_StatementGeographicalAxis": {
     "auth_ref": [
      "r143",
      "r253",
      "r254",
      "r464",
      "r480",
      "r482",
      "r494",
      "r496"
     ],
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Information by geographical components.",
        "label": "Geographical [Axis]",
        "terseLabel": "Geographical [Axis]"
       }
      }
     },
     "localname": "StatementGeographicalAxis",
     "nsuri": "http://fasb.org/srt/2019-01-31",
     "presentation": [
      "http://nymtrust.com/role/ConsolidatedKSeriesGeographicConcentrationsOfCreditRiskDetails",
      "http://nymtrust.com/role/DistressedAndOtherResidentialMortgageLoansAtFairValueConcentrationOfRiskDetails",
      "http://nymtrust.com/role/DistressedAndOtherResidentialMortgageLoansNetScheduleOfGeographicConcentrationsOfCreditRiskExceeding5OfTotalLoanBalancesDetails",
      "http://nymtrust.com/role/DistressedAndOtherResidentialMortgageLoansNetScheduleOfGeographicConcentrationsOfCreditRiskOfUnpaidPrincipalBalancesDetails",
      "http://nymtrust.com/role/PreferredEquityAndMezzanineLoanInvestmentsDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "srt_TitleOfIndividualAxis": {
     "auth_ref": [
      "r144",
      "r383"
     ],
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Information by title of individual or nature of relationship to individual or group of individuals.",
        "label": "Title of Individual [Axis]",
        "terseLabel": "Title of Individual [Axis]"
       }
      }
     },
     "localname": "TitleOfIndividualAxis",
     "nsuri": "http://fasb.org/srt/2019-01-31",
     "presentation": [
      "http://nymtrust.com/role/StockBasedCompensationNarrativeDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "srt_TitleOfIndividualWithRelationshipToEntityDomain": {
     "auth_ref": [],
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Title of individual, or nature of relationship to individual or group of individuals.",
        "label": "Title of Individual [Domain]",
        "terseLabel": "Title of Individual [Domain]"
       }
      }
     },
     "localname": "TitleOfIndividualWithRelationshipToEntityDomain",
     "nsuri": "http://fasb.org/srt/2019-01-31",
     "presentation": [
      "http://nymtrust.com/role/StockBasedCompensationNarrativeDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "stpr_AL": {
     "auth_ref": [],
     "lang": {
      "en-US": {
       "role": {
        "label": "ALABAMA",
        "verboseLabel": "Alabama"
       }
      }
     },
     "localname": "AL",
     "nsuri": "http://xbrl.sec.gov/stpr/2018-01-31",
     "presentation": [
      "http://nymtrust.com/role/PreferredEquityAndMezzanineLoanInvestmentsDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "stpr_CA": {
     "auth_ref": [],
     "lang": {
      "en-US": {
       "role": {
        "label": "CALIFORNIA",
        "terseLabel": "California",
        "verboseLabel": "California"
       }
      }
     },
     "localname": "CA",
     "nsuri": "http://xbrl.sec.gov/stpr/2018-01-31",
     "presentation": [
      "http://nymtrust.com/role/ConsolidatedKSeriesGeographicConcentrationsOfCreditRiskDetails",
      "http://nymtrust.com/role/DistressedAndOtherResidentialMortgageLoansAtFairValueConcentrationOfRiskDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "stpr_FL": {
     "auth_ref": [],
     "lang": {
      "en-US": {
       "role": {
        "label": "FLORIDA",
        "terseLabel": "Florida"
       }
      }
     },
     "localname": "FL",
     "nsuri": "http://xbrl.sec.gov/stpr/2018-01-31",
     "presentation": [
      "http://nymtrust.com/role/ConsolidatedKSeriesGeographicConcentrationsOfCreditRiskDetails",
      "http://nymtrust.com/role/DistressedAndOtherResidentialMortgageLoansAtFairValueConcentrationOfRiskDetails",
      "http://nymtrust.com/role/DistressedAndOtherResidentialMortgageLoansNetScheduleOfGeographicConcentrationsOfCreditRiskExceeding5OfTotalLoanBalancesDetails",
      "http://nymtrust.com/role/DistressedAndOtherResidentialMortgageLoansNetScheduleOfGeographicConcentrationsOfCreditRiskOfUnpaidPrincipalBalancesDetails",
      "http://nymtrust.com/role/PreferredEquityAndMezzanineLoanInvestmentsDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "stpr_GA": {
     "auth_ref": [],
     "lang": {
      "en-US": {
       "role": {
        "label": "GEORGIA",
        "terseLabel": "Georgia"
       }
      }
     },
     "localname": "GA",
     "nsuri": "http://xbrl.sec.gov/stpr/2018-01-31",
     "presentation": [
      "http://nymtrust.com/role/DistressedAndOtherResidentialMortgageLoansNetScheduleOfGeographicConcentrationsOfCreditRiskOfUnpaidPrincipalBalancesDetails",
      "http://nymtrust.com/role/PreferredEquityAndMezzanineLoanInvestmentsDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "stpr_MA": {
     "auth_ref": [],
     "lang": {
      "en-US": {
       "role": {
        "label": "MASSACHUSETTS",
        "terseLabel": "Massachusetts"
       }
      }
     },
     "localname": "MA",
     "nsuri": "http://xbrl.sec.gov/stpr/2018-01-31",
     "presentation": [
      "http://nymtrust.com/role/DistressedAndOtherResidentialMortgageLoansNetScheduleOfGeographicConcentrationsOfCreditRiskExceeding5OfTotalLoanBalancesDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "stpr_MD": {
     "auth_ref": [],
     "lang": {
      "en-US": {
       "role": {
        "label": "MARYLAND",
        "terseLabel": "Maryland",
        "verboseLabel": "Maryland"
       }
      }
     },
     "localname": "MD",
     "nsuri": "http://xbrl.sec.gov/stpr/2018-01-31",
     "presentation": [
      "http://nymtrust.com/role/ConsolidatedKSeriesGeographicConcentrationsOfCreditRiskDetails",
      "http://nymtrust.com/role/DistressedAndOtherResidentialMortgageLoansNetScheduleOfGeographicConcentrationsOfCreditRiskExceeding5OfTotalLoanBalancesDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "stpr_NC": {
     "auth_ref": [],
     "lang": {
      "en-US": {
       "role": {
        "label": "NORTH CAROLINA",
        "terseLabel": "North Carolina"
       }
      }
     },
     "localname": "NC",
     "nsuri": "http://xbrl.sec.gov/stpr/2018-01-31",
     "presentation": [
      "http://nymtrust.com/role/DistressedAndOtherResidentialMortgageLoansNetScheduleOfGeographicConcentrationsOfCreditRiskOfUnpaidPrincipalBalancesDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "stpr_NJ": {
     "auth_ref": [],
     "lang": {
      "en-US": {
       "role": {
        "label": "NEW JERSEY",
        "terseLabel": "New Jersey"
       }
      }
     },
     "localname": "NJ",
     "nsuri": "http://xbrl.sec.gov/stpr/2018-01-31",
     "presentation": [
      "http://nymtrust.com/role/DistressedAndOtherResidentialMortgageLoansNetScheduleOfGeographicConcentrationsOfCreditRiskExceeding5OfTotalLoanBalancesDetails",
      "http://nymtrust.com/role/PreferredEquityAndMezzanineLoanInvestmentsDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "stpr_NY": {
     "auth_ref": [],
     "lang": {
      "en-US": {
       "role": {
        "label": "NEW YORK",
        "terseLabel": "New York"
       }
      }
     },
     "localname": "NY",
     "nsuri": "http://xbrl.sec.gov/stpr/2018-01-31",
     "presentation": [
      "http://nymtrust.com/role/DistressedAndOtherResidentialMortgageLoansAtFairValueConcentrationOfRiskDetails",
      "http://nymtrust.com/role/DistressedAndOtherResidentialMortgageLoansNetScheduleOfGeographicConcentrationsOfCreditRiskExceeding5OfTotalLoanBalancesDetails",
      "http://nymtrust.com/role/DistressedAndOtherResidentialMortgageLoansNetScheduleOfGeographicConcentrationsOfCreditRiskOfUnpaidPrincipalBalancesDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "stpr_OH": {
     "auth_ref": [],
     "lang": {
      "en-US": {
       "role": {
        "label": "OHIO",
        "terseLabel": "Ohio"
       }
      }
     },
     "localname": "OH",
     "nsuri": "http://xbrl.sec.gov/stpr/2018-01-31",
     "presentation": [
      "http://nymtrust.com/role/DistressedAndOtherResidentialMortgageLoansNetScheduleOfGeographicConcentrationsOfCreditRiskOfUnpaidPrincipalBalancesDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "stpr_SC": {
     "auth_ref": [],
     "lang": {
      "en-US": {
       "role": {
        "label": "SOUTH CAROLINA",
        "terseLabel": "South Carolina",
        "verboseLabel": "South Carolina"
       }
      }
     },
     "localname": "SC",
     "nsuri": "http://xbrl.sec.gov/stpr/2018-01-31",
     "presentation": [
      "http://nymtrust.com/role/DistressedAndOtherResidentialMortgageLoansNetScheduleOfGeographicConcentrationsOfCreditRiskOfUnpaidPrincipalBalancesDetails",
      "http://nymtrust.com/role/PreferredEquityAndMezzanineLoanInvestmentsDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "stpr_TN": {
     "auth_ref": [],
     "lang": {
      "en-US": {
       "role": {
        "label": "TENNESSEE",
        "terseLabel": "Tennessee"
       }
      }
     },
     "localname": "TN",
     "nsuri": "http://xbrl.sec.gov/stpr/2018-01-31",
     "presentation": [
      "http://nymtrust.com/role/PreferredEquityAndMezzanineLoanInvestmentsDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "stpr_TX": {
     "auth_ref": [],
     "lang": {
      "en-US": {
       "role": {
        "label": "TEXAS",
        "terseLabel": "Texas"
       }
      }
     },
     "localname": "TX",
     "nsuri": "http://xbrl.sec.gov/stpr/2018-01-31",
     "presentation": [
      "http://nymtrust.com/role/ConsolidatedKSeriesGeographicConcentrationsOfCreditRiskDetails",
      "http://nymtrust.com/role/DistressedAndOtherResidentialMortgageLoansAtFairValueConcentrationOfRiskDetails",
      "http://nymtrust.com/role/DistressedAndOtherResidentialMortgageLoansNetScheduleOfGeographicConcentrationsOfCreditRiskOfUnpaidPrincipalBalancesDetails",
      "http://nymtrust.com/role/PreferredEquityAndMezzanineLoanInvestmentsDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "stpr_VA": {
     "auth_ref": [],
     "lang": {
      "en-US": {
       "role": {
        "label": "VIRGINIA",
        "terseLabel": "Virginia",
        "verboseLabel": "Virginia"
       }
      }
     },
     "localname": "VA",
     "nsuri": "http://xbrl.sec.gov/stpr/2018-01-31",
     "presentation": [
      "http://nymtrust.com/role/DistressedAndOtherResidentialMortgageLoansNetScheduleOfGeographicConcentrationsOfCreditRiskOfUnpaidPrincipalBalancesDetails",
      "http://nymtrust.com/role/PreferredEquityAndMezzanineLoanInvestmentsDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_AccountingPoliciesAbstract": {
     "auth_ref": [],
     "lang": {
      "en-US": {
       "role": {
        "label": "Accounting Policies [Abstract]"
       }
      }
     },
     "localname": "AccountingPoliciesAbstract",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "xbrltype": "stringItemType"
    },
    "us-gaap_AccountingStandardsUpdate201602Member": {
     "auth_ref": [
      "r380"
     ],
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Accounting Standards Update 2016-02 Leases (Topic 842).",
        "label": "Accounting Standards Update 2016-02 [Member]",
        "terseLabel": "ASU 2016-02"
       }
      }
     },
     "localname": "AccountingStandardsUpdate201602Member",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://nymtrust.com/role/SummaryOfSignificantAccountingPoliciesAdoptionOfAccountingStandardsCodificationTopic842LeasesDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_AccountsNotesLoansAndFinancingReceivableByReceivableTypeAxis": {
     "auth_ref": [
      "r33"
     ],
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Information by type of receivable.",
        "label": "Receivable Type [Axis]",
        "terseLabel": "Receivable Type [Axis]"
       }
      }
     },
     "localname": "AccountsNotesLoansAndFinancingReceivableByReceivableTypeAxis",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://nymtrust.com/role/CondensedConsolidatedBalanceSheets",
      "http://nymtrust.com/role/CondensedConsolidatedStatementsOfOperations",
      "http://nymtrust.com/role/DebtNarrativeDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_AccountsPayableAndAccruedLiabilitiesCurrentAndNoncurrent": {
     "auth_ref": [
      "r415",
      "r454"
     ],
     "calculation": {
      "http://nymtrust.com/role/CondensedConsolidatedBalanceSheets": {
       "order": 4.0,
       "parentTag": "us-gaap_Liabilities",
       "weight": 1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Sum of the carrying values as of the balance sheet date of obligations incurred through that date, including liabilities incurred and payable to vendors for goods and services received, taxes, interest, rent and utilities, compensation costs, payroll taxes and fringe benefits (other than pension and postretirement obligations), contractual rights and obligations, and statutory obligations.",
        "label": "Accounts Payable and Accrued Liabilities",
        "terseLabel": "Accrued expenses and other liabilities",
        "verboseLabel": "Accrued expenses and other liabilities"
       }
      }
     },
     "localname": "AccountsPayableAndAccruedLiabilitiesCurrentAndNoncurrent",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://nymtrust.com/role/CondensedConsolidatedBalanceSheets",
      "http://nymtrust.com/role/UseOfSpecialPurposeEntitiesSpeAndVariableInterestEntitiesVieAssetsAndLiabilitiesOfConsolidatedViesDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_AccretionAmortizationOfDiscountsAndPremiumsInvestments": {
     "auth_ref": [
      "r87"
     ],
     "calculation": {
      "http://nymtrust.com/role/CondensedConsolidatedStatementsOfCashFlows": {
       "order": 2.0,
       "parentTag": "us-gaap_NetCashProvidedByUsedInOperatingActivities",
       "weight": -1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-US": {
       "role": {
        "documentation": "The sum of the periodic adjustments of the differences between securities' face values and purchase prices that are charged against earnings. This is called accretion if the security was purchased at a discount and amortization if it was purchased at premium. As a noncash item, this element is an adjustment to net income when calculating cash provided by or used in operations using the indirect method.",
        "label": "Accretion (Amortization) of Discounts and Premiums, Investments",
        "negatedLabel": "Net accretion"
       }
      }
     },
     "localname": "AccretionAmortizationOfDiscountsAndPremiumsInvestments",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://nymtrust.com/role/CondensedConsolidatedStatementsOfCashFlows"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_AccruedLiabilitiesCurrentAndNoncurrent": {
     "auth_ref": [
      "r416",
      "r453"
     ],
     "calculation": {
      "http://nymtrust.com/role/ConsolidatedKSeriesCondensedBalanceSheetOfConsolidatedKSeriesDetails": {
       "order": 2.0,
       "parentTag": "us-gaap_Liabilities",
       "weight": 1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Carrying value as of the balance sheet date of obligations incurred and payable, pertaining to costs that are statutory in nature, are incurred on contractual obligations, or accumulate over time and for which invoices have not yet been received or will not be rendered. Examples include taxes, interest, rent and utilities.",
        "label": "Accrued Liabilities",
        "terseLabel": "Accrued expenses"
       }
      }
     },
     "localname": "AccruedLiabilitiesCurrentAndNoncurrent",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://nymtrust.com/role/ConsolidatedKSeriesCondensedBalanceSheetOfConsolidatedKSeriesDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_AccumulatedOtherComprehensiveIncomeLossNetOfTax": {
     "auth_ref": [
      "r43",
      "r44",
      "r45"
     ],
     "calculation": {
      "http://nymtrust.com/role/CondensedConsolidatedBalanceSheets": {
       "order": 4.0,
       "parentTag": "us-gaap_StockholdersEquity",
       "weight": 1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Accumulated change in equity from transactions and other events and circumstances from non-owner sources, net of tax effect, at period end. Excludes Net Income (Loss), and accumulated changes in equity from transactions resulting from investments by owners and distributions to owners. Includes foreign currency translation items, certain pension adjustments, unrealized gains and losses on certain investments in debt and equity securities, other than temporary impairment (OTTI) losses related to factors other than credit losses on available-for-sale and held-to-maturity debt securities that an entity does not intend to sell and it is not more likely than not that the entity will be required to sell before recovery of the amortized cost basis, as well as changes in the fair value of derivatives related to the effective portion of a designated cash flow hedge.",
        "label": "Accumulated Other Comprehensive Income (Loss), Net of Tax",
        "terseLabel": "Accumulated other comprehensive income (loss)"
       }
      }
     },
     "localname": "AccumulatedOtherComprehensiveIncomeLossNetOfTax",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://nymtrust.com/role/CondensedConsolidatedBalanceSheets"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_AccumulatedOtherComprehensiveIncomeMember": {
     "auth_ref": [
      "r42",
      "r45",
      "r48",
      "r308"
     ],
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Accumulated increase (decrease) in equity from transactions and other events and circumstances from non-owner sources, attributable to the parent. Excludes net income (loss), and accumulated changes in equity from transactions resulting from investments by owners and distributions to owners.",
        "label": "AOCI Attributable to Parent [Member]",
        "terseLabel": "Accumulated Other Comprehensive (Loss) Income"
       }
      }
     },
     "localname": "AccumulatedOtherComprehensiveIncomeMember",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://nymtrust.com/role/CondensedConsolidatedStatementsOfChangesInStockholdersEquity"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_AdditionalPaidInCapital": {
     "auth_ref": [
      "r15"
     ],
     "calculation": {
      "http://nymtrust.com/role/CondensedConsolidatedBalanceSheets": {
       "order": 3.0,
       "parentTag": "us-gaap_StockholdersEquity",
       "weight": 1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Excess of issue price over par or stated value of the entity's capital stock and amounts received from other transactions involving the entity's stock or stockholders. Includes adjustments to additional paid in capital. Some examples of such adjustments include recording the issuance of debt with a beneficial conversion feature and certain tax consequences of equity instruments awarded to employees. Use this element for the aggregate amount of additional paid-in capital associated with common and preferred stock. For additional paid-in capital associated with only common stock, use the element additional paid in capital, common stock. For additional paid-in capital associated with only preferred stock, use the element additional paid in capital, preferred stock.",
        "label": "Additional Paid in Capital",
        "terseLabel": "Additional paid-in capital"
       }
      }
     },
     "localname": "AdditionalPaidInCapital",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://nymtrust.com/role/CondensedConsolidatedBalanceSheets"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_AdditionalPaidInCapitalMember": {
     "auth_ref": [],
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Excess of issue price over par or stated value of the entity's capital stock and amounts received from other transactions involving the entity's stock or stockholders.",
        "label": "Additional Paid-in Capital [Member]",
        "terseLabel": "Additional Paid-In Capital"
       }
      }
     },
     "localname": "AdditionalPaidInCapitalMember",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://nymtrust.com/role/CondensedConsolidatedStatementsOfChangesInStockholdersEquity"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_AdjustableRateResidentialMortgageMember": {
     "auth_ref": [
      "r479"
     ],
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Loan to purchase or refinance residential real estate (for example, but not limited to, a home) in which the interest rate is periodically adjusted according to changes in a specified reference rate.",
        "label": "Adjustable Rate Residential Mortgage [Member]",
        "terseLabel": "Adjustable Rate Residential Mortgage"
       }
      }
     },
     "localname": "AdjustableRateResidentialMortgageMember",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://nymtrust.com/role/DebtNarrativeDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_AdjustmentForAmortization": {
     "auth_ref": [
      "r86",
      "r216"
     ],
     "crdr": "debit",
     "lang": {
      "en-US": {
       "role": {
        "documentation": "The aggregate amount of recurring noncash expense charged against earnings in the period to allocate the cost of assets over their estimated remaining economic lives.",
        "label": "Amortization",
        "terseLabel": "Amortization"
       }
      }
     },
     "localname": "AdjustmentForAmortization",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://nymtrust.com/role/RealEstateHeldForSaleInConsolidatedViesDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_AdjustmentsForNewAccountingPronouncementsAxis": {
     "auth_ref": [
      "r115"
     ],
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Information by new accounting pronouncement.",
        "label": "Adjustments for New Accounting Pronouncements [Axis]",
        "terseLabel": "Adjustments for New Accounting Pronouncements [Axis]"
       }
      }
     },
     "localname": "AdjustmentsForNewAccountingPronouncementsAxis",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://nymtrust.com/role/SummaryOfSignificantAccountingPoliciesAdoptionOfAccountingStandardsCodificationTopic842LeasesDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_AdjustmentsToReconcileNetIncomeLossToCashProvidedByUsedInOperatingActivitiesAbstract": {
     "auth_ref": [],
     "lang": {
      "en-US": {
       "role": {
        "label": "Adjustments to Reconcile Net Income (Loss) to Cash Provided by (Used in) Operating Activities [Abstract]",
        "terseLabel": "Adjustments to reconcile net income to net cash provided by operating activities:"
       }
      }
     },
     "localname": "AdjustmentsToReconcileNetIncomeLossToCashProvidedByUsedInOperatingActivitiesAbstract",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://nymtrust.com/role/CondensedConsolidatedStatementsOfCashFlows"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_AllocatedShareBasedCompensationExpense": {
     "auth_ref": [
      "r259",
      "r274",
      "r278"
     ],
     "crdr": "debit",
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Amount of expense for award under share-based payment arrangement. Excludes amount capitalized.",
        "label": "Share-based Payment Arrangement, Expense",
        "terseLabel": "Share-based compensation expense"
       }
      }
     },
     "localname": "AllocatedShareBasedCompensationExpense",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://nymtrust.com/role/StockBasedCompensationNarrativeDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_AllowanceForCreditLossesOnFinancingReceivablesTableTextBlock": {
     "auth_ref": [
      "r151",
      "r195"
     ],
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Tabular disclosure of allowance for credit loss on financing receivable.",
        "label": "Financing Receivable, Allowance for Credit Loss [Table Text Block]",
        "terseLabel": "Schedule of Allowance for Loan Losses on Residential Mortgage Loans Held in Securitization Trusts"
       }
      }
     },
     "localname": "AllowanceForCreditLossesOnFinancingReceivablesTableTextBlock",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://nymtrust.com/role/DistressedAndOtherResidentialMortgageLoansNetTables"
     ],
     "xbrltype": "textBlockItemType"
    },
    "us-gaap_AllowanceForLoanAndLeaseLossRecoveryOfBadDebts": {
     "auth_ref": [
      "r149"
     ],
     "calculation": {
      "http://nymtrust.com/role/CondensedConsolidatedStatementsOfCashFlows": {
       "order": 8.0,
       "parentTag": "us-gaap_NetCashProvidedByUsedInOperatingActivities",
       "weight": -1.0
      },
      "http://nymtrust.com/role/CondensedConsolidatedStatementsOfOperations": {
       "order": 6.0,
       "parentTag": "us-gaap_NoninterestIncome",
       "weight": 1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Amount of recovery of loans and lease receivables which had previously been fully or partially written-off as bad debts.",
        "label": "Allowance for Loan and Lease Loss, Recovery of Bad Debts",
        "negatedTerseLabel": "Recovery of loan losses",
        "terseLabel": "Recovery of loan losses"
       }
      }
     },
     "localname": "AllowanceForLoanAndLeaseLossRecoveryOfBadDebts",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://nymtrust.com/role/CondensedConsolidatedStatementsOfCashFlows",
      "http://nymtrust.com/role/CondensedConsolidatedStatementsOfOperations"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_AllowanceForLoanAndLeaseLossesRealEstate": {
     "auth_ref": [
      "r460"
     ],
     "calculation": {
      "http://nymtrust.com/role/DistressedAndOtherResidentialMortgageLoansNetResidentialMortgageLoansHeldInSecuritizationTrustsNetDetails": {
       "order": 3.0,
       "parentTag": "us-gaap_MortgageLoansOnRealEstateCommercialAndConsumerNet",
       "weight": -1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-US": {
       "role": {
        "documentation": "The reserve to cover probable credit losses related to specifically identified fixed maturity real estate loans as well as probable credit losses inherent in the remainder of that loan portfolio.",
        "label": "Allowance for Loan and Lease Losses, Real Estate",
        "negatedLabel": "Allowance for loan losses"
       }
      }
     },
     "localname": "AllowanceForLoanAndLeaseLossesRealEstate",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://nymtrust.com/role/DistressedAndOtherResidentialMortgageLoansNetResidentialMortgageLoansHeldInSecuritizationTrustsNetDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_AllowanceForLoanAndLeaseLossesRollForward": {
     "auth_ref": [],
     "lang": {
      "en-US": {
       "role": {
        "documentation": "A roll forward is a reconciliation of a concept from the beginning of a period to the end of a period.",
        "label": "Allowance for Loan and Lease Losses [Roll Forward]",
        "terseLabel": "Allowance for Loan and Lease Losses [Roll Forward]"
       }
      }
     },
     "localname": "AllowanceForLoanAndLeaseLossesRollForward",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://nymtrust.com/role/DistressedAndOtherResidentialMortgageLoansNetAllowanceForLoanLossesOnResidentialMortgageLoansHeldInSecuritizationTrustsDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_ArrangementsAndNonarrangementTransactionsMember": {
     "auth_ref": [],
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Collaborative arrangement and arrangement other than collaborative applicable to revenue-generating activity or operations.",
        "label": "Collaborative Arrangement and Arrangement Other than Collaborative [Domain]",
        "terseLabel": "Collaborative Arrangement and Arrangement Other than Collaborative [Domain]"
       }
      }
     },
     "localname": "ArrangementsAndNonarrangementTransactionsMember",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://nymtrust.com/role/RepurchaseAgreementsNarrativeDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_AssetBackedSecuritiesMember": {
     "auth_ref": [
      "r173",
      "r255"
     ],
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Securities that are primarily serviced by the cash flows of a discrete pool of receivables or other financial assets for example, but not limited to, credit card receivables, car loans, recreational vehicle loans, and mobile home loans.",
        "label": "Asset-backed Securities [Member]",
        "terseLabel": "ABS"
       }
      }
     },
     "localname": "AssetBackedSecuritiesMember",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://nymtrust.com/role/FairValueOfFinancialInstrumentsAssetsAndLiabilitiesMeasuredAtFairValueOnRecurringBasisDetails",
      "http://nymtrust.com/role/InvestmentSecuritiesAvailableForSaleScheduleOfAvailableForSaleSecuritiesDetails",
      "http://nymtrust.com/role/RepurchaseAgreementsNarrativeDetails",
      "http://nymtrust.com/role/UseOfSpecialPurposeEntitiesSpeAndVariableInterestEntitiesVieClassificationAndCarryingValueOfUnconsolidatedViesDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_Assets": {
     "auth_ref": [
      "r140",
      "r405",
      "r440"
     ],
     "calculation": {
      "http://nymtrust.com/role/CondensedConsolidatedBalanceSheets": {
       "order": null,
       "parentTag": null,
       "root": true,
       "weight": null
      },
      "http://nymtrust.com/role/ConsolidatedKSeriesCondensedBalanceSheetOfConsolidatedKSeriesDetails": {
       "order": null,
       "parentTag": null,
       "root": true,
       "weight": null
      }
     },
     "crdr": "debit",
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Sum of the carrying amounts as of the balance sheet date of all assets that are recognized. Assets are probable future economic benefits obtained or controlled by an entity as a result of past transactions or events.",
        "label": "Assets",
        "totalLabel": "Total Assets"
       }
      }
     },
     "localname": "Assets",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://nymtrust.com/role/CondensedConsolidatedBalanceSheets",
      "http://nymtrust.com/role/ConsolidatedKSeriesCondensedBalanceSheetOfConsolidatedKSeriesDetails",
      "http://nymtrust.com/role/UseOfSpecialPurposeEntitiesSpeAndVariableInterestEntitiesVieAssetsAndLiabilitiesOfConsolidatedViesDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_AssetsAbstract": {
     "auth_ref": [],
     "lang": {
      "en-US": {
       "role": {
        "label": "Assets [Abstract]",
        "terseLabel": "ASSETS",
        "verboseLabel": "Assets"
       }
      }
     },
     "localname": "AssetsAbstract",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://nymtrust.com/role/CondensedConsolidatedBalanceSheets",
      "http://nymtrust.com/role/ConsolidatedKSeriesCondensedBalanceSheetOfConsolidatedKSeriesDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_AssetsFairValueDisclosure": {
     "auth_ref": [
      "r350"
     ],
     "calculation": {
      "http://nymtrust.com/role/FairValueOfFinancialInstrumentsAssetsAndLiabilitiesMeasuredAtFairValueOnRecurringBasisDetails": {
       "order": null,
       "parentTag": null,
       "root": true,
       "weight": null
      }
     },
     "crdr": "debit",
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Fair value portion of probable future economic benefits obtained or controlled by an entity as a result of past transactions or events.",
        "label": "Assets, Fair Value Disclosure",
        "totalLabel": "Total"
       }
      }
     },
     "localname": "AssetsFairValueDisclosure",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://nymtrust.com/role/FairValueOfFinancialInstrumentsAssetsAndLiabilitiesMeasuredAtFairValueOnRecurringBasisDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_AssetsFairValueDisclosureAbstract": {
     "auth_ref": [],
     "lang": {
      "en-US": {
       "role": {
        "label": "Assets, Fair Value Disclosure [Abstract]",
        "terseLabel": "Assets carried at fair value",
        "verboseLabel": "Assets"
       }
      }
     },
     "localname": "AssetsFairValueDisclosureAbstract",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://nymtrust.com/role/FairValueOfFinancialInstrumentsAssetsAndLiabilitiesMeasuredAtFairValueOnRecurringBasisDetails",
      "http://nymtrust.com/role/FairValueOfFinancialInstrumentsChangesInUnrealizedGainsLossesIncludedInEarningsForLevel3AssetsAndLiabilitiesDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_AssetsHeldInTrust": {
     "auth_ref": [
      "r101"
     ],
     "crdr": "debit",
     "lang": {
      "en-US": {
       "role": {
        "documentation": "The total amount of cash and securities held by third party trustees pursuant to terms of debt instruments or other agreements as of the date of each statement of financial position presented, which can be used by the trustee only to pay the noncurrent portion of specified obligations.",
        "label": "Assets Held-in-trust",
        "verboseLabel": "Investment securities, available for sale held in securitization trusts"
       }
      }
     },
     "localname": "AssetsHeldInTrust",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://nymtrust.com/role/InvestmentSecuritiesAvailableForSaleScheduleOfAvailableForSaleSecuritiesDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_AssetsSoldUnderAgreementsToRepurchaseAxis": {
     "auth_ref": [
      "r108"
     ],
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Information by securities or other assets sold under repurchase agreements. Repurchase agreements are agreements under which the transferor (repo party) transfers a security to a transferee (repo counterparty or reverse party) in exchange for cash and concurrently agrees to reacquire that security at a future date for an amount equal to the cash exchanged plus a stipulated interest factor.",
        "label": "Securities or Other Assets Sold under Agreements to Repurchase [Axis]",
        "terseLabel": "Securities or Other Assets Sold under Agreements to Repurchase [Axis]"
       }
      }
     },
     "localname": "AssetsSoldUnderAgreementsToRepurchaseAxis",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://nymtrust.com/role/RepurchaseAgreementsBorrowingsUnderFinancingArrangementsAndAssociatedAssetsPledgedAsCollateralDetails",
      "http://nymtrust.com/role/RepurchaseAgreementsNarrativeDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_AssetsSoldUnderAgreementsToRepurchaseCarryingAmounts": {
     "auth_ref": [
      "r106"
     ],
     "crdr": "credit",
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Carrying amount of assets sold under agreements to repurchase when the carrying amount (or market value, if higher than the carrying amount) of securities or other assets sold under repurchase agreements exceeds 10 percent of total assets.",
        "label": "Assets Sold under Agreements to Repurchase, Carrying Amount",
        "terseLabel": "Carrying Value of Loans Pledged"
       }
      }
     },
     "localname": "AssetsSoldUnderAgreementsToRepurchaseCarryingAmounts",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://nymtrust.com/role/RepurchaseAgreementsBorrowingsUnderFinancingArrangementsAndAssociatedAssetsPledgedAsCollateralDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_AssetsSoldUnderAgreementsToRepurchaseInterestRate": {
     "auth_ref": [
      "r107"
     ],
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Interest rate on the amount to be repaid to the counterparty to the repurchase agreement when the carrying amount (or market value, if higher than the carrying amount) of securities or other assets sold under the repurchase agreement exceeds 10 percent of total assets.",
        "label": "Assets Sold under Agreements to Repurchase, Interest Rate",
        "terseLabel": "Weighted Average Rate"
       }
      }
     },
     "localname": "AssetsSoldUnderAgreementsToRepurchaseInterestRate",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://nymtrust.com/role/RepurchaseAgreementsBorrowingsUnderFinancingArrangementsAndAssociatedAssetsPledgedAsCollateralDetails"
     ],
     "xbrltype": "percentItemType"
    },
    "us-gaap_AssetsSoldUnderAgreementsToRepurchaseLineItems": {
     "auth_ref": [],
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Line items represent financial concepts included in a table. These concepts are used to disclose reportable information associated with domain members defined in one or many axes to the table.",
        "label": "Assets Sold under Agreements to Repurchase [Line Items]",
        "terseLabel": "Assets Sold under Agreements to Repurchase [Line Items]"
       }
      }
     },
     "localname": "AssetsSoldUnderAgreementsToRepurchaseLineItems",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://nymtrust.com/role/RepurchaseAgreementsOutstandingRepurchaseAgreementBorrowingsByContractualMaturityDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_AssetsSoldUnderAgreementsToRepurchaseMaturityPeriodDomain": {
     "auth_ref": [
      "r108",
      "r397"
     ],
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Maturity period remaining for repurchase agreements and similar transactions, for example, but not limited to, securities lending arrangements. Element name and standard label in Maturity [numeric lower end] to [numeric higher end] [date measure] [Member] or Maturity Greater Than [low end numeric value] [date measure] [Member] or Maturity Less Than [high end numeric value] [date measure] [Member] formats.",
        "label": "Repurchase Agreements and Similar Transactions, Maturity Periods [Domain]",
        "terseLabel": "Repurchase Agreements and Similar Transactions, Maturity Periods [Domain]"
       }
      }
     },
     "localname": "AssetsSoldUnderAgreementsToRepurchaseMaturityPeriodDomain",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://nymtrust.com/role/RepurchaseAgreementsOutstandingRepurchaseAgreementBorrowingsByContractualMaturityDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_AssetsSoldUnderAgreementsToRepurchaseMaturityPeriodsAxis": {
     "auth_ref": [
      "r108",
      "r397"
     ],
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Information by maturity period remaining for repurchase agreements and similar transactions, for example, but not limited to, securities lending arrangements. Element name and standard label in Maturity [numeric lower end] to [numeric higher end] [date measure] [Member] or Maturity Greater Than [low end numeric value] [date measure] [Member] or Maturity Less Than [high end numeric value] [date measure] [Member] formats.",
        "label": "Repurchase Agreements and Similar Transactions, Maturity Periods [Axis]",
        "terseLabel": "Repurchase Agreements and Similar Transactions, Maturity Periods [Axis]"
       }
      }
     },
     "localname": "AssetsSoldUnderAgreementsToRepurchaseMaturityPeriodsAxis",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://nymtrust.com/role/RepurchaseAgreementsOutstandingRepurchaseAgreementBorrowingsByContractualMaturityDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_AssetsSoldUnderAgreementsToRepurchaseRepurchaseLiability": {
     "auth_ref": [
      "r107"
     ],
     "crdr": "credit",
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Amount to be repaid to the counterparty to the repurchase agreement when the carrying amount (or market value, if higher than the carrying amount) of securities or other assets sold under the repurchase agreement exceeds 10 percent of total assets.",
        "label": "Assets Sold under Agreements to Repurchase, Repurchase Liability",
        "terseLabel": "Repurchase agreement, amount outstanding",
        "verboseLabel": "Outstanding Repurchase Agreements"
       }
      }
     },
     "localname": "AssetsSoldUnderAgreementsToRepurchaseRepurchaseLiability",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://nymtrust.com/role/RepurchaseAgreementsBorrowingsUnderFinancingArrangementsAndAssociatedAssetsPledgedAsCollateralDetails",
      "http://nymtrust.com/role/RepurchaseAgreementsNarrativeDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_AssetsSoldUnderAgreementsToRepurchaseTypeDomain": {
     "auth_ref": [
      "r108"
     ],
     "lang": {
      "en-US": {
       "role": {
        "documentation": "This is the type of such assets (for example, US Treasury Obligations, US Government agency obligations and loans, and so forth). This item may be presented as an element in the table that is disclosed when the carrying amount (or market value, if higher than the carrying amount) of securities or other assets sold under repurchase agreements exceed 10 percent of total assets, as of the most recent balance sheet date.",
        "label": "Assets Sold under Agreements to Repurchase, Type [Domain]",
        "terseLabel": "Assets Sold under Agreements to Repurchase, Type [Domain]"
       }
      }
     },
     "localname": "AssetsSoldUnderAgreementsToRepurchaseTypeDomain",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://nymtrust.com/role/RepurchaseAgreementsBorrowingsUnderFinancingArrangementsAndAssociatedAssetsPledgedAsCollateralDetails",
      "http://nymtrust.com/role/RepurchaseAgreementsNarrativeDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_AvailableForSaleDebtSecuritiesAccumulatedGrossUnrealizedGainBeforeTax": {
     "auth_ref": [
      "r167"
     ],
     "calculation": {
      "http://nymtrust.com/role/InvestmentSecuritiesAvailableForSaleScheduleOfAvailableForSaleSecuritiesDetails": {
       "order": 1.0,
       "parentTag": "us-gaap_AvailableForSaleDebtSecuritiesAmortizedCostBasis",
       "weight": -1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Amount, before tax, of unrealized gain in accumulated other comprehensive income (AOCI) on investment in debt security measured at fair value with change in fair value recognized in other comprehensive income (available-for-sale).",
        "label": "Debt Securities, Available-for-sale, Accumulated Gross Unrealized Gain, before Tax",
        "terseLabel": "Unrealized Gains"
       }
      }
     },
     "localname": "AvailableForSaleDebtSecuritiesAccumulatedGrossUnrealizedGainBeforeTax",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://nymtrust.com/role/InvestmentSecuritiesAvailableForSaleScheduleOfAvailableForSaleSecuritiesDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_AvailableForSaleDebtSecuritiesAccumulatedGrossUnrealizedLossBeforeTax": {
     "auth_ref": [
      "r168"
     ],
     "calculation": {
      "http://nymtrust.com/role/InvestmentSecuritiesAvailableForSaleScheduleOfAvailableForSaleSecuritiesDetails": {
       "order": 2.0,
       "parentTag": "us-gaap_AvailableForSaleDebtSecuritiesAmortizedCostBasis",
       "weight": 1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Amount, before tax, of unrealized loss in accumulated other comprehensive income (AOCI) on investment in debt security measured at fair value with change in fair value recognized in other comprehensive income (available-for-sale).",
        "label": "Debt Securities, Available-for-sale, Accumulated Gross Unrealized Loss, before Tax",
        "negatedLabel": "Unrealized Losses"
       }
      }
     },
     "localname": "AvailableForSaleDebtSecuritiesAccumulatedGrossUnrealizedLossBeforeTax",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://nymtrust.com/role/InvestmentSecuritiesAvailableForSaleScheduleOfAvailableForSaleSecuritiesDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_AvailableForSaleDebtSecuritiesAmortizedCostBasis": {
     "auth_ref": [
      "r165",
      "r204"
     ],
     "calculation": {
      "http://nymtrust.com/role/InvestmentSecuritiesAvailableForSaleScheduleOfAvailableForSaleSecuritiesDetails": {
       "order": null,
       "parentTag": null,
       "root": true,
       "weight": null
      }
     },
     "crdr": "debit",
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Amortized cost of investment in debt security measured at fair value with change in fair value recognized in other comprehensive income (available-for-sale).",
        "label": "Debt Securities, Available-for-sale, Amortized Cost",
        "totalLabel": "Amortized Cost"
       }
      }
     },
     "localname": "AvailableForSaleDebtSecuritiesAmortizedCostBasis",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://nymtrust.com/role/InvestmentSecuritiesAvailableForSaleScheduleOfAvailableForSaleSecuritiesDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_AvailableForSaleSecuritiesContinuousUnrealizedLossPositionAccumulatedLossAbstract": {
     "auth_ref": [],
     "lang": {
      "en-US": {
       "role": {
        "label": "Debt Securities, Available-for-sale, Unrealized Loss Position, Accumulated Loss [Abstract]",
        "terseLabel": "Debt Securities, Available-for-sale, Unrealized Loss Position, Accumulated Loss [Abstract]"
       }
      }
     },
     "localname": "AvailableForSaleSecuritiesContinuousUnrealizedLossPositionAccumulatedLossAbstract",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://nymtrust.com/role/InvestmentSecuritiesAvailableForSaleScheduleOfInvestmentSecuritiesAvailableForSaleInUnrealizedLossPositionDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_AvailableForSaleSecuritiesDebtMaturitiesAfterFiveThroughTenYearsFairValue": {
     "auth_ref": [
      "r169",
      "r170",
      "r431"
     ],
     "calculation": {
      "http://nymtrust.com/role/InvestmentSecuritiesAvailableForSaleWeightedAverageLivesForAvailableForSaleSecuritiesDetails": {
       "order": 2.0,
       "parentTag": "us-gaap_AvailableForSaleSecuritiesDebtSecurities",
       "weight": 1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Fair value of investment in debt security measured at fair value with change in fair value recognized in other comprehensive income (available-for-sale), with single maturity date and allocated without single maturity date, maturing in sixth through tenth fiscal year following latest fiscal year. Excludes interim and annual periods when interim period is reported on rolling approach, from latest statement of financial position date.",
        "label": "Debt Securities, Available-for-sale, Maturity, Allocated and Single Maturity Date, after Five Through Ten Years, Fair Value",
        "terseLabel": "Over 5 to 10 years"
       }
      }
     },
     "localname": "AvailableForSaleSecuritiesDebtMaturitiesAfterFiveThroughTenYearsFairValue",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://nymtrust.com/role/InvestmentSecuritiesAvailableForSaleWeightedAverageLivesForAvailableForSaleSecuritiesDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_AvailableForSaleSecuritiesDebtMaturitiesAfterTenYearsFairValue": {
     "auth_ref": [
      "r169",
      "r171",
      "r432"
     ],
     "calculation": {
      "http://nymtrust.com/role/InvestmentSecuritiesAvailableForSaleWeightedAverageLivesForAvailableForSaleSecuritiesDetails": {
       "order": 3.0,
       "parentTag": "us-gaap_AvailableForSaleSecuritiesDebtSecurities",
       "weight": 1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Fair value of investment in debt security, measured at fair value with change in fair value recognized in other comprehensive income (available-for-sale), with single maturity date and allocated without single maturity date, maturing after tenth fiscal year following latest fiscal year. Excludes interim and annual periods when interim period is reported on rolling approach, from latest statement of financial position date.",
        "label": "Debt Securities, Available-for-sale, Maturity, Allocated and Single Maturity Date, after 10 Years, Fair Value",
        "terseLabel": "10 years"
       }
      }
     },
     "localname": "AvailableForSaleSecuritiesDebtMaturitiesAfterTenYearsFairValue",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://nymtrust.com/role/InvestmentSecuritiesAvailableForSaleWeightedAverageLivesForAvailableForSaleSecuritiesDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_AvailableForSaleSecuritiesDebtSecurities": {
     "auth_ref": [
      "r161",
      "r166",
      "r204"
     ],
     "calculation": {
      "http://nymtrust.com/role/CondensedConsolidatedBalanceSheets": {
       "order": 1.0,
       "parentTag": "us-gaap_Assets",
       "weight": 1.0
      },
      "http://nymtrust.com/role/FairValueOfFinancialInstrumentsAssetsAndLiabilitiesMeasuredAtFairValueOnRecurringBasisDetails": {
       "order": 3.0,
       "parentTag": "us-gaap_AssetsFairValueDisclosure",
       "weight": 1.0
      },
      "http://nymtrust.com/role/InvestmentSecuritiesAvailableForSaleScheduleOfAvailableForSaleSecuritiesDetails": {
       "order": 3.0,
       "parentTag": "us-gaap_AvailableForSaleDebtSecuritiesAmortizedCostBasis",
       "weight": 1.0
      },
      "http://nymtrust.com/role/InvestmentSecuritiesAvailableForSaleWeightedAverageLivesForAvailableForSaleSecuritiesDetails": {
       "order": null,
       "parentTag": null,
       "root": true,
       "weight": null
      }
     },
     "crdr": "debit",
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Amount of investment in debt security measured at fair value with change in fair value recognized in other comprehensive income (available-for-sale).",
        "label": "Debt Securities, Available-for-sale",
        "netLabel": "Investment securities available for sale",
        "terseLabel": "Investment securities, available for sale, at fair value",
        "totalLabel": "Total",
        "verboseLabel": "Fair Value"
       }
      }
     },
     "localname": "AvailableForSaleSecuritiesDebtSecurities",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://nymtrust.com/role/CondensedConsolidatedBalanceSheets",
      "http://nymtrust.com/role/FairValueOfFinancialInstrumentsAssetsAndLiabilitiesMeasuredAtFairValueOnRecurringBasisDetails",
      "http://nymtrust.com/role/FairValueOfFinancialInstrumentsCarryingValueAndEstimatedFairValueOfCompanysFinancialAssetsDetails",
      "http://nymtrust.com/role/InvestmentSecuritiesAvailableForSaleScheduleOfAvailableForSaleSecuritiesDetails",
      "http://nymtrust.com/role/InvestmentSecuritiesAvailableForSaleWeightedAverageLivesForAvailableForSaleSecuritiesDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_AvailableForSaleSecuritiesFairValueToAmortizedCostBasisAbstract": {
     "auth_ref": [],
     "lang": {
      "en-US": {
       "role": {
        "label": "Debt Securities, Available-for-sale, Fair Value to Amortized Cost [Abstract]",
        "terseLabel": "Debt Securities, Available-for-sale, Fair Value to Amortized Cost [Abstract]"
       }
      }
     },
     "localname": "AvailableForSaleSecuritiesFairValueToAmortizedCostBasisAbstract",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://nymtrust.com/role/InvestmentSecuritiesAvailableForSaleScheduleOfAvailableForSaleSecuritiesDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_AvailableForSaleSecuritiesRestricted": {
     "auth_ref": [
      "r111",
      "r152",
      "r412",
      "r439",
      "r466",
      "r471"
     ],
     "crdr": "debit",
     "lang": {
      "en-US": {
       "role": {
        "documentation": "The carrying amount of securities categorized neither as held-to-maturity nor trading which serve as security for borrowings or other arrangements.",
        "label": "Available-for-sale Securities, Restricted",
        "netLabel": "Investment securities available for sale"
       }
      }
     },
     "localname": "AvailableForSaleSecuritiesRestricted",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://nymtrust.com/role/UseOfSpecialPurposeEntitiesSpeAndVariableInterestEntitiesVieAssetsAndLiabilitiesOfConsolidatedViesDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_AvailableforsaleSecuritiesMember": {
     "auth_ref": [
      "r178"
     ],
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Investment in debt security measured at fair value with change in fair value recognized in other comprehensive income (available-for-sale).",
        "label": "Available-for-sale Securities [Member]",
        "terseLabel": "Available-for-sale securities"
       }
      }
     },
     "localname": "AvailableforsaleSecuritiesMember",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://nymtrust.com/role/InvestmentSecuritiesAvailableForSaleScheduleOfAvailableForSaleSecuritiesDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_AwardTypeAxis": {
     "auth_ref": [
      "r260",
      "r276"
     ],
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Information by type of award under share-based payment arrangement.",
        "label": "Award Type [Axis]",
        "terseLabel": "Award Type [Axis]"
       }
      }
     },
     "localname": "AwardTypeAxis",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://nymtrust.com/role/StockBasedCompensationNarrativeDetails",
      "http://nymtrust.com/role/StockBasedCompensationNonVestedRestrictedStockAndPsuAwardActivityDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_BalanceSheetLocationAxis": {
     "auth_ref": [],
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Information by location on balance sheet (statement of financial position).",
        "label": "Balance Sheet Location [Axis]",
        "terseLabel": "Balance Sheet Location [Axis]"
       }
      }
     },
     "localname": "BalanceSheetLocationAxis",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://nymtrust.com/role/UseOfSpecialPurposeEntitiesSpeAndVariableInterestEntitiesVieClassificationAndCarryingValueOfUnconsolidatedViesDetails",
      "http://nymtrust.com/role/UseOfSpecialPurposeEntitiesSpeAndVariableInterestEntitiesVieNarrativeDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_BalanceSheetLocationDomain": {
     "auth_ref": [
      "r333",
      "r338"
     ],
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Location in the balance sheet (statement of financial position).",
        "label": "Balance Sheet Location [Domain]",
        "terseLabel": "Balance Sheet Location [Domain]"
       }
      }
     },
     "localname": "BalanceSheetLocationDomain",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://nymtrust.com/role/UseOfSpecialPurposeEntitiesSpeAndVariableInterestEntitiesVieClassificationAndCarryingValueOfUnconsolidatedViesDetails",
      "http://nymtrust.com/role/UseOfSpecialPurposeEntitiesSpeAndVariableInterestEntitiesVieNarrativeDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_BankingAndThriftAbstract": {
     "auth_ref": [],
     "lang": {
      "en-US": {
       "role": {
        "label": "Banking and Thrift [Abstract]"
       }
      }
     },
     "localname": "BankingAndThriftAbstract",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "xbrltype": "stringItemType"
    },
    "us-gaap_BasisOfAccountingPolicyPolicyTextBlock": {
     "auth_ref": [],
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Disclosure of accounting policy for basis of accounting, or basis of presentation, used to prepare the financial statements (for example, US Generally Accepted Accounting Principles, Other Comprehensive Basis of Accounting, IFRS).",
        "label": "Basis of Accounting, Policy [Policy Text Block]",
        "terseLabel": "Basis of Presentation"
       }
      }
     },
     "localname": "BasisOfAccountingPolicyPolicyTextBlock",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://nymtrust.com/role/SummaryOfSignificantAccountingPoliciesPolicies"
     ],
     "xbrltype": "textBlockItemType"
    },
    "us-gaap_BusinessAcquisitionAcquireeDomain": {
     "auth_ref": [],
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Identification of the acquiree in a material business combination (or series of individually immaterial business combinations), which may include the name or other type of identification of the acquiree.",
        "label": "Business Acquisition, Acquiree [Domain]",
        "terseLabel": "Business Acquisition, Acquiree [Domain]"
       }
      }
     },
     "localname": "BusinessAcquisitionAcquireeDomain",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://nymtrust.com/role/UseOfSpecialPurposeEntitiesSpeAndVariableInterestEntitiesVieNarrativeDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_BusinessAcquisitionAxis": {
     "auth_ref": [
      "r296",
      "r297"
     ],
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Information by business combination or series of individually immaterial business combinations.",
        "label": "Business Acquisition [Axis]",
        "terseLabel": "Business Acquisition [Axis]"
       }
      }
     },
     "localname": "BusinessAcquisitionAxis",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://nymtrust.com/role/UseOfSpecialPurposeEntitiesSpeAndVariableInterestEntitiesVieNarrativeDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_CashAndCashEquivalentsAtCarryingValue": {
     "auth_ref": [
      "r2",
      "r21",
      "r88"
     ],
     "calculation": {
      "http://nymtrust.com/role/CondensedConsolidatedBalanceSheets": {
       "order": 7.0,
       "parentTag": "us-gaap_Assets",
       "weight": 1.0
      },
      "http://nymtrust.com/role/CondensedConsolidatedStatementsOfCashFlows": {
       "order": 1.0,
       "parentTag": "us-gaap_CashCashEquivalentsRestrictedCashAndRestrictedCashEquivalents",
       "weight": 1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Amount of currency on hand as well as demand deposits with banks or financial institutions. Includes other kinds of accounts that have the general characteristics of demand deposits. Also includes short-term, highly liquid investments that are both readily convertible to known amounts of cash and so near their maturity that they present insignificant risk of changes in value because of changes in interest rates. Excludes cash and cash equivalents within disposal group and discontinued operation.",
        "label": "Cash and Cash Equivalents, at Carrying Value",
        "terseLabel": "Cash and cash equivalents"
       }
      }
     },
     "localname": "CashAndCashEquivalentsAtCarryingValue",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://nymtrust.com/role/CondensedConsolidatedBalanceSheets",
      "http://nymtrust.com/role/CondensedConsolidatedStatementsOfCashFlows",
      "http://nymtrust.com/role/FairValueOfFinancialInstrumentsCarryingValueAndEstimatedFairValueOfCompanysFinancialAssetsDetails",
      "http://nymtrust.com/role/RepurchaseAgreementsNarrativeDetails",
      "http://nymtrust.com/role/UseOfSpecialPurposeEntitiesSpeAndVariableInterestEntitiesVieAssetsAndLiabilitiesOfConsolidatedViesDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_CashAndCashEquivalentsFairValueDisclosure": {
     "auth_ref": [],
     "crdr": "debit",
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Fair value portion of currency on hand as well as demand deposits with banks or financial institutions. Includes other kinds of accounts that have the general characteristics of demand deposits. Also includes short-term, highly liquid investments that are both readily convertible to known amounts of cash and so near their maturity that they present insignificant risk of changes in value because of changes in interest rates.",
        "label": "Cash and Cash Equivalents, Fair Value Disclosure",
        "terseLabel": "Cash and cash equivalents, estimated fair value"
       }
      }
     },
     "localname": "CashAndCashEquivalentsFairValueDisclosure",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://nymtrust.com/role/FairValueOfFinancialInstrumentsCarryingValueAndEstimatedFairValueOfCompanysFinancialAssetsDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_CashCashEquivalentsRestrictedCashAndRestrictedCashEquivalents": {
     "auth_ref": [
      "r81",
      "r88",
      "r95"
     ],
     "calculation": {
      "http://nymtrust.com/role/CondensedConsolidatedStatementsOfCashFlows": {
       "order": null,
       "parentTag": null,
       "root": true,
       "weight": null
      }
     },
     "crdr": "debit",
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Amount of cash and cash equivalents, and cash and cash equivalents restricted to withdrawal or usage. Excludes amount for disposal group and discontinued operations. Cash includes, but is not limited to, currency on hand, demand deposits with banks or financial institutions, and other accounts with general characteristics of demand deposits. Cash equivalents include, but are not limited to, short-term, highly liquid investments that are both readily convertible to known amounts of cash and so near their maturity that they present insignificant risk of changes in value because of changes in interest rates.",
        "label": "Cash, Cash Equivalents, Restricted Cash and Restricted Cash Equivalents",
        "periodEndLabel": "Cash, Cash Equivalents and Restricted Cash - End of Period",
        "periodStartLabel": "Cash, Cash Equivalents and Restricted Cash - Beginning of Period",
        "totalLabel": "Total cash, cash equivalents, and restricted cash"
       }
      }
     },
     "localname": "CashCashEquivalentsRestrictedCashAndRestrictedCashEquivalents",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://nymtrust.com/role/CondensedConsolidatedStatementsOfCashFlows"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_CashCashEquivalentsRestrictedCashAndRestrictedCashEquivalentsAbstract": {
     "auth_ref": [],
     "lang": {
      "en-US": {
       "role": {
        "label": "Cash, Cash Equivalents, Restricted Cash and Restricted Cash Equivalents [Abstract]",
        "terseLabel": "Cash, Cash Equivalents and Restricted Cash Reconciliation:"
       }
      }
     },
     "localname": "CashCashEquivalentsRestrictedCashAndRestrictedCashEquivalentsAbstract",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://nymtrust.com/role/CondensedConsolidatedStatementsOfCashFlows"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_CashCashEquivalentsRestrictedCashAndRestrictedCashEquivalentsPeriodIncreaseDecreaseIncludingExchangeRateEffect": {
     "auth_ref": [
      "r81",
      "r374"
     ],
     "calculation": {
      "http://nymtrust.com/role/CondensedConsolidatedStatementsOfCashFlows": {
       "order": null,
       "parentTag": null,
       "root": true,
       "weight": null
      }
     },
     "crdr": "debit",
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Amount of increase (decrease) in cash, cash equivalents, and cash and cash equivalents restricted to withdrawal or usage; including effect from exchange rate change. Cash includes, but is not limited to, currency on hand, demand deposits with banks or financial institutions, and other accounts with general characteristics of demand deposits. Cash equivalents include, but are not limited to, short-term, highly liquid investments that are both readily convertible to known amounts of cash and so near their maturity that they present insignificant risk of changes in value because of changes in interest rates.",
        "label": "Cash, Cash Equivalents, Restricted Cash and Restricted Cash Equivalents, Period Increase (Decrease), Including Exchange Rate Effect",
        "totalLabel": "Net Decrease in Cash, Cash Equivalents and Restricted Cash"
       }
      }
     },
     "localname": "CashCashEquivalentsRestrictedCashAndRestrictedCashEquivalentsPeriodIncreaseDecreaseIncludingExchangeRateEffect",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://nymtrust.com/role/CondensedConsolidatedStatementsOfCashFlows"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_CashFlowHedgingMember": {
     "auth_ref": [
      "r329"
     ],
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Hedge of the exposure to variability in the cash flows of a recognized asset or liability, or of a forecasted transaction, that is attributable to a particular risk.",
        "label": "Cash Flow Hedging [Member]",
        "terseLabel": "Cash Flow Hedging"
       }
      }
     },
     "localname": "CashFlowHedgingMember",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://nymtrust.com/role/DerivativeInstrumentsAndHedgingActivitiesInterestRateSwapsDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_CertainLoansAcquiredInTransferAccountedForAsDebtSecuritiesAccretableYield": {
     "auth_ref": [
      "r157",
      "r159"
     ],
     "crdr": "debit",
     "lang": {
      "en-US": {
       "role": {
        "documentation": "The aggregate excess of a loan's cash flows expected to be collected over the investor's initial investment in the loan for loans accounted for as debt securities, with evidence of deterioration of credit quality since origination that were acquired by completion of a transfer for which it is probable, at acquisition, that the investor will be unable to collect all contractually required payments receivable.",
        "label": "Certain Loans Acquired in Transfer Accounted for as Debt Securities, Accretable Yield",
        "periodEndLabel": "Balance at end of period",
        "periodStartLabel": "Balance at beginning of period"
       }
      }
     },
     "localname": "CertainLoansAcquiredInTransferAccountedForAsDebtSecuritiesAccretableYield",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://nymtrust.com/role/DistressedAndOtherResidentialMortgageLoansNetScheduleOfAccretableYieldDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_CertainLoansAcquiredInTransferAccountedForAsDebtSecuritiesAccretableYieldAccretion": {
     "auth_ref": [
      "r157",
      "r159"
     ],
     "crdr": "credit",
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Current period recognition due to accretion of the excess of a loan's cash flows expected to be collected over the investor's initial investment in the loan for loans accounted for as debt securities, with evidence of deterioration of credit quality since origination that were acquired by completion of a transfer for which it is probable, at acquisition, that the investor will be unable to collect all contractually required payments receivable.",
        "label": "Certain Loans Acquired in Transfer Accounted for as Debt Securities, Accretable Yield, Accretion",
        "negatedLabel": "Accretion"
       }
      }
     },
     "localname": "CertainLoansAcquiredInTransferAccountedForAsDebtSecuritiesAccretableYieldAccretion",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://nymtrust.com/role/DistressedAndOtherResidentialMortgageLoansNetScheduleOfAccretableYieldDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_CertainLoansAcquiredInTransferAccountedForAsDebtSecuritiesAccretableYieldAdditions": {
     "auth_ref": [
      "r157",
      "r159"
     ],
     "crdr": "debit",
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Increases in the aggregate excess of a loan's cash flows expected to be collected over the investor's initial investment in the loan due to the acquisition of similar loans accounted for as debt securities during the period. This relates to loans accounted for as debt securities, with evidence of deterioration of credit quality since origination that were acquired by completion of a transfer for which it is probable, at acquisition, that the investor will be unable to collect all contractually required payments receivable.",
        "label": "Certain Loans Acquired in Transfer Accounted for as Debt Securities, Accretable Yield, Additions",
        "verboseLabel": "Additions"
       }
      }
     },
     "localname": "CertainLoansAcquiredInTransferAccountedForAsDebtSecuritiesAccretableYieldAdditions",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://nymtrust.com/role/DistressedAndOtherResidentialMortgageLoansNetScheduleOfAccretableYieldDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_CertainLoansAcquiredInTransferAccountedForAsDebtSecuritiesAccretableYieldDisposalsOfLoans": {
     "auth_ref": [
      "r157",
      "r159"
     ],
     "crdr": "credit",
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Sale or transfer of a loan during the period resulting in a reduction in the excess of a loan's cash flows expected to be collected over the investor's initial investment.  This relates to loans accounted for as debt securities, with evidence of deterioration of credit quality since origination that was acquired by completion of a transfer for which it is probable, at acquisition, that the investor will be unable to collect all contractually required payments receivable.",
        "label": "Certain Loans Acquired in Transfer Accounted for as Debt Securities, Accretable Yield, Disposals of Loans",
        "negatedLabel": "Disposals"
       }
      }
     },
     "localname": "CertainLoansAcquiredInTransferAccountedForAsDebtSecuritiesAccretableYieldDisposalsOfLoans",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://nymtrust.com/role/DistressedAndOtherResidentialMortgageLoansNetScheduleOfAccretableYieldDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_CertainLoansAcquiredInTransferAccountedForAsDebtSecuritiesAccretableYieldMovementScheduleRollForward": {
     "auth_ref": [],
     "lang": {
      "en-US": {
       "role": {
        "documentation": "A roll forward is a reconciliation of a concept from the beginning of a period to the end of a period.",
        "label": "Certain Loans Acquired in Transfer Accounted for as Debt Securities, Accretable Yield Movement Schedule [Roll Forward]",
        "terseLabel": "Certain Loans Acquired in Transfer Accounted for as Debt Securities, Accretable Yield Movement Schedule [Roll Forward]"
       }
      }
     },
     "localname": "CertainLoansAcquiredInTransferAccountedForAsDebtSecuritiesAccretableYieldMovementScheduleRollForward",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://nymtrust.com/role/DistressedAndOtherResidentialMortgageLoansNetScheduleOfAccretableYieldDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_CertainLoansAcquiredInTransferAccountedForAsDebtSecuritiesCarryingAmountNet": {
     "auth_ref": [
      "r157",
      "r158"
     ],
     "crdr": "debit",
     "lang": {
      "en-US": {
       "role": {
        "documentation": "The recorded balance, net of any applicable reductions (for example, unamortized accretable yield and other-than-temporary impairments), for loans accounted for as debt securities with evidence of deterioration of credit quality since origination that were acquired by completion of a transfer for which it is probable, at acquisition, that the investor will be unable to collect all contractually required payments receivable.",
        "label": "Certain Loans Acquired in Transfer Accounted for as Debt Securities, Carrying Amount, Net",
        "terseLabel": "Distressed residential mortgage loans held in securitization trusts, carrying amount"
       }
      }
     },
     "localname": "CertainLoansAcquiredInTransferAccountedForAsDebtSecuritiesCarryingAmountNet",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://nymtrust.com/role/DistressedAndOtherResidentialMortgageLoansNetNarrativeDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_ClassOfStockDomain": {
     "auth_ref": [],
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Share of stock differentiated by the voting rights the holder receives. Examples include, but are not limited to, common stock, redeemable preferred stock, nonredeemable preferred stock, and convertible stock.",
        "label": "Class of Stock [Domain]",
        "terseLabel": "Class of Stock [Domain]"
       }
      }
     },
     "localname": "ClassOfStockDomain",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://nymtrust.com/role/CondensedConsolidatedBalanceSheets",
      "http://nymtrust.com/role/CondensedConsolidatedBalanceSheetsParenthetical",
      "http://nymtrust.com/role/CondensedConsolidatedStatementsOfChangesInStockholdersEquity",
      "http://nymtrust.com/role/Cover",
      "http://nymtrust.com/role/StockholdersEquityCashDividendsDeclaredPreferredStockDetails",
      "http://nymtrust.com/role/StockholdersEquityNarrativeDetails",
      "http://nymtrust.com/role/SubsequentEventsDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_ClassOfStockLineItems": {
     "auth_ref": [],
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Line items represent financial concepts included in a table. These concepts are used to disclose reportable information associated with domain members defined in one or many axes to the table.",
        "label": "Class of Stock [Line Items]",
        "terseLabel": "Class of Stock [Line Items]"
       }
      }
     },
     "localname": "ClassOfStockLineItems",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://nymtrust.com/role/StockholdersEquityNarrativeDetails",
      "http://nymtrust.com/role/StockholdersEquityScheduleOfPublicOfferingOfCommonStockDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_ClassificationOfVariableInterestEntityDomain": {
     "auth_ref": [
      "r311",
      "r314",
      "r317",
      "r318"
     ],
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Categorization of Variable Interest Entities (VIE) for consolidation and (or) disclosure purposes, whether individually or in aggregate, by: (1) VIEs consolidated because the entity is the primary beneficiary, (2) VIEs not consolidated because the entity is not the primary beneficiary, and (3) VIEs or potential VIEs that are not consolidated because necessary information is not available. In general, a VIE is a corporation, partnership, trust, or any other legal structure used for business purposes that either (a) does not have equity investors with voting rights or (b) has equity investors that do not provide sufficient financial resources for the entity to support its activities. A VIE often holds financial assets, including loans or receivables, real estate or other property. A VIE may be essentially passive or it may engage in research and development or other activities on behalf of another company.",
        "label": "Variable Interest Entity, Classification [Domain]",
        "terseLabel": "Variable Interest Entity, Classification [Domain]"
       }
      }
     },
     "localname": "ClassificationOfVariableInterestEntityDomain",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://nymtrust.com/role/ConsolidatedKSeriesCondensedBalanceSheetOfConsolidatedKSeriesDetails",
      "http://nymtrust.com/role/ConsolidatedKSeriesCondensedStatementOfOperationsOfConsolidatedKSeriesDetails",
      "http://nymtrust.com/role/ConsolidatedKSeriesNarrativeDetails",
      "http://nymtrust.com/role/DebtNarrativeDetails",
      "http://nymtrust.com/role/DebtScheduleOfVieDebtDetails",
      "http://nymtrust.com/role/FairValueOfFinancialInstrumentsValuationForLevel3AssetsDetails",
      "http://nymtrust.com/role/FairValueOfFinancialInstrumentsValuationForLevel3LiabilitiesDetails",
      "http://nymtrust.com/role/RealEstateHeldForSaleInConsolidatedViesDetails",
      "http://nymtrust.com/role/RepurchaseAgreementsAssetsPledgedAsCollateralDetails",
      "http://nymtrust.com/role/UseOfSpecialPurposeEntitiesSpeAndVariableInterestEntitiesVieAssetsAndLiabilitiesOfConsolidatedViesDetails",
      "http://nymtrust.com/role/UseOfSpecialPurposeEntitiesSpeAndVariableInterestEntitiesVieClassificationAndCarryingValueOfUnconsolidatedViesDetails",
      "http://nymtrust.com/role/UseOfSpecialPurposeEntitiesSpeAndVariableInterestEntitiesVieFinancingViesSecuritizedDebtByContractualMaturityDetails",
      "http://nymtrust.com/role/UseOfSpecialPurposeEntitiesSpeAndVariableInterestEntitiesVieNarrativeDetails",
      "http://nymtrust.com/role/UseOfSpecialPurposeEntitiesSpeAndVariableInterestEntitiesVieSecuritizedDebtDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_CollateralAxis": {
     "auth_ref": [
      "r200"
     ],
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Information by category of collateral or no collateral.",
        "label": "Collateral [Axis]",
        "terseLabel": "Collateral [Axis]"
       }
      }
     },
     "localname": "CollateralAxis",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://nymtrust.com/role/DebtNarrativeDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_CollateralDomain": {
     "auth_ref": [],
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Pledge or no pledge of specific property to serve as protection against default.",
        "label": "Collateral [Domain]",
        "terseLabel": "Collateral [Domain]"
       }
      }
     },
     "localname": "CollateralDomain",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://nymtrust.com/role/DebtNarrativeDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_CollateralizedFinancings": {
     "auth_ref": [
      "r107",
      "r393"
     ],
     "calculation": {
      "http://nymtrust.com/role/CondensedConsolidatedBalanceSheets": {
       "order": 1.0,
       "parentTag": "us-gaap_Liabilities",
       "weight": 1.0
      },
      "http://nymtrust.com/role/UseOfSpecialPurposeEntitiesSpeAndVariableInterestEntitiesVieFinancingViesSecuritizedDebtByContractualMaturityDetails": {
       "order": null,
       "parentTag": null,
       "root": true,
       "weight": null
      }
     },
     "crdr": "credit",
     "lang": {
      "en-US": {
       "role": {
        "documentation": "The value of the collateral (typically cash) that the entity receives in a financing transaction in exchange for securities lent. This item represents a liability in the financial statements of the lender of the securities.",
        "label": "Collateralized Financings",
        "terseLabel": "Carrying value",
        "totalLabel": "Carrying value",
        "verboseLabel": "Securitized debt"
       }
      }
     },
     "localname": "CollateralizedFinancings",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://nymtrust.com/role/CondensedConsolidatedBalanceSheets",
      "http://nymtrust.com/role/UseOfSpecialPurposeEntitiesSpeAndVariableInterestEntitiesVieAssetsAndLiabilitiesOfConsolidatedViesDetails",
      "http://nymtrust.com/role/UseOfSpecialPurposeEntitiesSpeAndVariableInterestEntitiesVieFinancingViesSecuritizedDebtByContractualMaturityDetails",
      "http://nymtrust.com/role/UseOfSpecialPurposeEntitiesSpeAndVariableInterestEntitiesVieSecuritizedDebtDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_CollateralizedMortgageObligationsMember": {
     "auth_ref": [
      "r225"
     ],
     "lang": {
      "en-US": {
       "role": {
        "documentation": "The category includes multiclass, pay-through securitizations collateralized by mortgages secured by assets, such as automobiles and boats, which are generally structured so that the collections of principal and interest due from the underlying debtors are paid to the holders of the CMO.",
        "label": "Collateralized Mortgage Obligations [Member]",
        "terseLabel": "Collateralized Mortgage Obligations"
       }
      }
     },
     "localname": "CollateralizedMortgageObligationsMember",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://nymtrust.com/role/UseOfSpecialPurposeEntitiesSpeAndVariableInterestEntitiesVieAssetsAndLiabilitiesOfConsolidatedViesDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_CommercialMortgageBackedSecuritiesMember": {
     "auth_ref": [
      "r172",
      "r255"
     ],
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Securities collateralized by commercial real estate mortgage loans.",
        "label": "Commercial Mortgage Backed Securities [Member]",
        "terseLabel": "CMBS",
        "verboseLabel": "CMBS"
       }
      }
     },
     "localname": "CommercialMortgageBackedSecuritiesMember",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://nymtrust.com/role/FairValueOfFinancialInstrumentsAssetsAndLiabilitiesMeasuredAtFairValueOnRecurringBasisDetails",
      "http://nymtrust.com/role/FairValueOfFinancialInstrumentsNarrativeDetails",
      "http://nymtrust.com/role/RepurchaseAgreementsAssetsPledgedAsCollateralDetails",
      "http://nymtrust.com/role/RepurchaseAgreementsNarrativeDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_CommitmentsAndContingencies": {
     "auth_ref": [
      "r30",
      "r222",
      "r417",
      "r448"
     ],
     "calculation": {
      "http://nymtrust.com/role/CondensedConsolidatedBalanceSheets": {
       "order": 2.0,
       "parentTag": "us-gaap_LiabilitiesAndStockholdersEquity",
       "weight": 1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Represents the caption on the face of the balance sheet to indicate that the entity has entered into (1) purchase or supply arrangements that will require expending a portion of its resources to meet the terms thereof, and (2) is exposed to potential losses or, less frequently, gains, arising from (a) possible claims against a company's resources due to future performance under contract terms, and (b) possible losses or likely gains from uncertainties that will ultimately be resolved when one or more future events that are deemed likely to occur do occur or fail to occur.",
        "label": "Commitments and Contingencies",
        "terseLabel": "Commitments and Contingencies"
       }
      }
     },
     "localname": "CommitmentsAndContingencies",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://nymtrust.com/role/CondensedConsolidatedBalanceSheets"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_CommitmentsAndContingenciesDisclosureAbstract": {
     "auth_ref": [],
     "lang": {
      "en-US": {
       "role": {
        "label": "Commitments and Contingencies Disclosure [Abstract]"
       }
      }
     },
     "localname": "CommitmentsAndContingenciesDisclosureAbstract",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "xbrltype": "stringItemType"
    },
    "us-gaap_CommitmentsAndContingenciesDisclosureTextBlock": {
     "auth_ref": [
      "r221",
      "r223"
     ],
     "lang": {
      "en-US": {
       "role": {
        "documentation": "The entire disclosure for commitments and contingencies.",
        "label": "Commitments and Contingencies Disclosure [Text Block]",
        "terseLabel": "Commitments and Contingencies"
       }
      }
     },
     "localname": "CommitmentsAndContingenciesDisclosureTextBlock",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://nymtrust.com/role/CommitmentsAndContingencies"
     ],
     "xbrltype": "textBlockItemType"
    },
    "us-gaap_CommonStockDividendsPerShareDeclared": {
     "auth_ref": [
      "r250"
     ],
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Aggregate dividends declared during the period for each share of common stock outstanding.",
        "label": "Common Stock, Dividends, Per Share, Declared",
        "terseLabel": "Cash dividend per share (in dollars per share)"
       }
      }
     },
     "localname": "CommonStockDividendsPerShareDeclared",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://nymtrust.com/role/StockholdersEquityCashDividendsDeclaredCommonStockDetails"
     ],
     "xbrltype": "perShareItemType"
    },
    "us-gaap_CommonStockMember": {
     "auth_ref": [],
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Stock that is subordinate to all other stock of the issuer.",
        "label": "Common Stock [Member]",
        "terseLabel": "Common Stock",
        "verboseLabel": "Common Stock"
       }
      }
     },
     "localname": "CommonStockMember",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://nymtrust.com/role/CondensedConsolidatedStatementsOfCashFlows",
      "http://nymtrust.com/role/CondensedConsolidatedStatementsOfChangesInStockholdersEquity",
      "http://nymtrust.com/role/Cover",
      "http://nymtrust.com/role/StockholdersEquityNarrativeDetails",
      "http://nymtrust.com/role/StockholdersEquityScheduleOfPublicOfferingOfCommonStockDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_CommonStockParOrStatedValuePerShare": {
     "auth_ref": [
      "r13"
     ],
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Face amount or stated value per share of common stock.",
        "label": "Common Stock, Par or Stated Value Per Share",
        "verboseLabel": "Common stock, par value (in dollars per share)"
       }
      }
     },
     "localname": "CommonStockParOrStatedValuePerShare",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://nymtrust.com/role/CondensedConsolidatedBalanceSheetsParenthetical",
      "http://nymtrust.com/role/StockholdersEquityNarrativeDetails"
     ],
     "xbrltype": "perShareItemType"
    },
    "us-gaap_CommonStockSharesAuthorized": {
     "auth_ref": [
      "r13"
     ],
     "lang": {
      "en-US": {
       "role": {
        "documentation": "The maximum number of common shares permitted to be issued by an entity's charter and bylaws.",
        "label": "Common Stock, Shares Authorized",
        "terseLabel": "Common stock, shares authorized (in shares)"
       }
      }
     },
     "localname": "CommonStockSharesAuthorized",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://nymtrust.com/role/CondensedConsolidatedBalanceSheetsParenthetical",
      "http://nymtrust.com/role/SubsequentEventsDetails"
     ],
     "xbrltype": "sharesItemType"
    },
    "us-gaap_CommonStockSharesIssued": {
     "auth_ref": [
      "r13"
     ],
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Total number of common shares of an entity that have been sold or granted to shareholders (includes common shares that were issued, repurchased and remain in the treasury). These shares represent capital invested by the firm's shareholders and owners, and may be all or only a portion of the number of shares authorized. Shares issued include shares outstanding and shares held in the treasury.",
        "label": "Common Stock, Shares, Issued",
        "terseLabel": "Common stock, shares issued (in shares)"
       }
      }
     },
     "localname": "CommonStockSharesIssued",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://nymtrust.com/role/CondensedConsolidatedBalanceSheetsParenthetical"
     ],
     "xbrltype": "sharesItemType"
    },
    "us-gaap_CommonStockSharesOutstanding": {
     "auth_ref": [
      "r13",
      "r241"
     ],
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Number of shares of common stock outstanding. Common stock represent the ownership interest in a corporation.",
        "label": "Common Stock, Shares, Outstanding",
        "terseLabel": "Common stock, shares outstanding (in shares)"
       }
      }
     },
     "localname": "CommonStockSharesOutstanding",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://nymtrust.com/role/CondensedConsolidatedBalanceSheetsParenthetical"
     ],
     "xbrltype": "sharesItemType"
    },
    "us-gaap_CommonStockSharesSubscriptions": {
     "auth_ref": [
      "r13",
      "r238"
     ],
     "crdr": "credit",
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Monetary value of common stock allocated to investors to buy shares of a new issue of common stock before they are offered to the public. When stock is sold on a subscription basis, the issuer does not initially receive the total proceeds. In general, the issuer does not issue the shares to the investor until it receives the entire proceeds.",
        "label": "Common Stock, Value, Subscriptions",
        "terseLabel": "Common stock that may be sold (up to)"
       }
      }
     },
     "localname": "CommonStockSharesSubscriptions",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://nymtrust.com/role/StockholdersEquityNarrativeDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_CommonStockValue": {
     "auth_ref": [
      "r13"
     ],
     "calculation": {
      "http://nymtrust.com/role/CondensedConsolidatedBalanceSheets": {
       "order": 2.0,
       "parentTag": "us-gaap_StockholdersEquity",
       "weight": 1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Aggregate par or stated value of issued nonredeemable common stock (or common stock redeemable solely at the option of the issuer). This item includes treasury stock repurchased by the entity. Note: elements for number of nonredeemable common shares, par value and other disclosure concepts are in another section within stockholders' equity.",
        "label": "Common Stock, Value, Issued",
        "terseLabel": "Common stock, $0.01 par value, 400,000,000 shares authorized, 262,621,039 and 155,589,528 shares issued and outstanding as of September 30, 2019 and December 31, 2018, respectively"
       }
      }
     },
     "localname": "CommonStockValue",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://nymtrust.com/role/CondensedConsolidatedBalanceSheets"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_ComprehensiveIncomeNetOfTax": {
     "auth_ref": [
      "r51",
      "r53",
      "r54"
     ],
     "calculation": {
      "http://nymtrust.com/role/CondensedConsolidatedStatementsOfComprehensiveIncome": {
       "order": null,
       "parentTag": null,
       "root": true,
       "weight": null
      }
     },
     "crdr": "credit",
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Amount after tax of increase (decrease) in equity from transactions and other events and circumstances from net income and other comprehensive income, attributable to parent entity. Excludes changes in equity resulting from investments by owners and distributions to owners.",
        "label": "Comprehensive Income (Loss), Net of Tax, Attributable to Parent",
        "totalLabel": "COMPREHENSIVE INCOME ATTRIBUTABLE TO COMPANY'S COMMON STOCKHOLDERS"
       }
      }
     },
     "localname": "ComprehensiveIncomeNetOfTax",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://nymtrust.com/role/CondensedConsolidatedStatementsOfComprehensiveIncome"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_ConcentrationRiskBenchmarkDomain": {
     "auth_ref": [
      "r134",
      "r135",
      "r369",
      "r370"
     ],
     "lang": {
      "en-US": {
       "role": {
        "documentation": "The denominator in a calculation of a disclosed concentration risk percentage.",
        "label": "Concentration Risk Benchmark [Domain]",
        "terseLabel": "Concentration Risk Benchmark [Domain]"
       }
      }
     },
     "localname": "ConcentrationRiskBenchmarkDomain",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://nymtrust.com/role/DistressedAndOtherResidentialMortgageLoansAtFairValueConcentrationOfRiskDetails",
      "http://nymtrust.com/role/DistressedAndOtherResidentialMortgageLoansNetScheduleOfGeographicConcentrationsOfCreditRiskOfUnpaidPrincipalBalancesDetails",
      "http://nymtrust.com/role/RepurchaseAgreementsNarrativeDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_ConcentrationRiskByBenchmarkAxis": {
     "auth_ref": [
      "r134",
      "r135",
      "r369",
      "r370",
      "r465"
     ],
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Information by benchmark of concentration risk.",
        "label": "Concentration Risk Benchmark [Axis]",
        "terseLabel": "Concentration Risk Benchmark [Axis]"
       }
      }
     },
     "localname": "ConcentrationRiskByBenchmarkAxis",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://nymtrust.com/role/DistressedAndOtherResidentialMortgageLoansAtFairValueConcentrationOfRiskDetails",
      "http://nymtrust.com/role/DistressedAndOtherResidentialMortgageLoansNetScheduleOfGeographicConcentrationsOfCreditRiskOfUnpaidPrincipalBalancesDetails",
      "http://nymtrust.com/role/RepurchaseAgreementsNarrativeDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_ConcentrationRiskByTypeAxis": {
     "auth_ref": [
      "r134",
      "r135",
      "r369",
      "r370",
      "r465"
     ],
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Information by type of concentration risk, for example, but not limited to, asset, liability, net assets, geographic, customer, employees, supplier, lender.",
        "label": "Concentration Risk Type [Axis]",
        "terseLabel": "Concentration Risk Type [Axis]"
       }
      }
     },
     "localname": "ConcentrationRiskByTypeAxis",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://nymtrust.com/role/ConsolidatedKSeriesGeographicConcentrationsOfCreditRiskDetails",
      "http://nymtrust.com/role/DistressedAndOtherResidentialMortgageLoansAtFairValueConcentrationOfRiskDetails",
      "http://nymtrust.com/role/DistressedAndOtherResidentialMortgageLoansNetScheduleOfGeographicConcentrationsOfCreditRiskExceeding5OfTotalLoanBalancesDetails",
      "http://nymtrust.com/role/DistressedAndOtherResidentialMortgageLoansNetScheduleOfGeographicConcentrationsOfCreditRiskOfUnpaidPrincipalBalancesDetails",
      "http://nymtrust.com/role/RepurchaseAgreementsNarrativeDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_ConcentrationRiskLineItems": {
     "auth_ref": [],
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Line items represent financial concepts included in a table. These concepts are used to disclose reportable information associated with domain members defined in one or many axes to the table.",
        "label": "Concentration Risk [Line Items]",
        "terseLabel": "Concentration Risk [Line Items]"
       }
      }
     },
     "localname": "ConcentrationRiskLineItems",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://nymtrust.com/role/ConsolidatedKSeriesGeographicConcentrationsOfCreditRiskDetails",
      "http://nymtrust.com/role/DistressedAndOtherResidentialMortgageLoansAtFairValueConcentrationOfRiskDetails",
      "http://nymtrust.com/role/DistressedAndOtherResidentialMortgageLoansNetScheduleOfGeographicConcentrationsOfCreditRiskExceeding5OfTotalLoanBalancesDetails",
      "http://nymtrust.com/role/DistressedAndOtherResidentialMortgageLoansNetScheduleOfGeographicConcentrationsOfCreditRiskOfUnpaidPrincipalBalancesDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_ConcentrationRiskPercentage1": {
     "auth_ref": [
      "r134",
      "r135",
      "r369",
      "r370"
     ],
     "lang": {
      "en-US": {
       "role": {
        "documentation": "For an entity that discloses a concentration risk in relation to quantitative amount, which serves as the \"benchmark\" (or denominator) in the equation, this concept represents the concentration percentage derived from the division.",
        "label": "Concentration Risk, Percentage",
        "terseLabel": "Geographic concentration, percent",
        "verboseLabel": "Concentration risk, percentage"
       }
      }
     },
     "localname": "ConcentrationRiskPercentage1",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://nymtrust.com/role/ConsolidatedKSeriesGeographicConcentrationsOfCreditRiskDetails",
      "http://nymtrust.com/role/DistressedAndOtherResidentialMortgageLoansAtFairValueConcentrationOfRiskDetails",
      "http://nymtrust.com/role/DistressedAndOtherResidentialMortgageLoansNetScheduleOfGeographicConcentrationsOfCreditRiskExceeding5OfTotalLoanBalancesDetails",
      "http://nymtrust.com/role/DistressedAndOtherResidentialMortgageLoansNetScheduleOfGeographicConcentrationsOfCreditRiskOfUnpaidPrincipalBalancesDetails",
      "http://nymtrust.com/role/PreferredEquityAndMezzanineLoanInvestmentsDetails",
      "http://nymtrust.com/role/RepurchaseAgreementsNarrativeDetails"
     ],
     "xbrltype": "percentItemType"
    },
    "us-gaap_ConcentrationRiskTable": {
     "auth_ref": [
      "r131",
      "r134",
      "r135",
      "r136",
      "r369",
      "r371"
     ],
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Describes the nature of a concentration, a benchmark to which it is compared, and the percentage that the risk is to the benchmark.",
        "label": "Concentration Risk [Table]",
        "terseLabel": "Concentration Risk [Table]"
       }
      }
     },
     "localname": "ConcentrationRiskTable",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://nymtrust.com/role/ConsolidatedKSeriesGeographicConcentrationsOfCreditRiskDetails",
      "http://nymtrust.com/role/DistressedAndOtherResidentialMortgageLoansAtFairValueConcentrationOfRiskDetails",
      "http://nymtrust.com/role/DistressedAndOtherResidentialMortgageLoansNetScheduleOfGeographicConcentrationsOfCreditRiskExceeding5OfTotalLoanBalancesDetails",
      "http://nymtrust.com/role/DistressedAndOtherResidentialMortgageLoansNetScheduleOfGeographicConcentrationsOfCreditRiskOfUnpaidPrincipalBalancesDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_ConcentrationRiskTypeDomain": {
     "auth_ref": [
      "r134",
      "r135",
      "r369",
      "r370"
     ],
     "lang": {
      "en-US": {
       "role": {
        "documentation": "For an entity that discloses a concentration risk as a percentage of some financial balance or benchmark, identifies the type (for example, asset, liability, net assets, geographic, customer, employees, supplier, lender) of the concentration.",
        "label": "Concentration Risk Type [Domain]",
        "terseLabel": "Concentration Risk Type [Domain]"
       }
      }
     },
     "localname": "ConcentrationRiskTypeDomain",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://nymtrust.com/role/ConsolidatedKSeriesGeographicConcentrationsOfCreditRiskDetails",
      "http://nymtrust.com/role/DistressedAndOtherResidentialMortgageLoansAtFairValueConcentrationOfRiskDetails",
      "http://nymtrust.com/role/DistressedAndOtherResidentialMortgageLoansNetScheduleOfGeographicConcentrationsOfCreditRiskExceeding5OfTotalLoanBalancesDetails",
      "http://nymtrust.com/role/DistressedAndOtherResidentialMortgageLoansNetScheduleOfGeographicConcentrationsOfCreditRiskOfUnpaidPrincipalBalancesDetails",
      "http://nymtrust.com/role/RepurchaseAgreementsNarrativeDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_ConsolidationVariableInterestEntityPolicy": {
     "auth_ref": [
      "r96",
      "r309",
      "r312",
      "r315"
     ],
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Disclosure of accounting policy for consolidation to describe the significant judgments and assumptions made in determining whether a variable interest held by the entity requires the variable interest entity to be consolidated and (or) disclose information about its involvement with the variable interest entity; the methodology used by the entity for determining whether or not it is the primary beneficiary of the variable interest entity; and the significant factors considered and judgments made in determining that the power to direct the activities that significantly impact the economic performance of the variable interest entity are shared (as defined).",
        "label": "Consolidation, Variable Interest Entity, Policy [Policy Text Block]",
        "terseLabel": "Principles of Consolidation and Variable Interest Entities"
       }
      }
     },
     "localname": "ConsolidationVariableInterestEntityPolicy",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://nymtrust.com/role/SummaryOfSignificantAccountingPoliciesPolicies"
     ],
     "xbrltype": "textBlockItemType"
    },
    "us-gaap_ConvertibleDebt": {
     "auth_ref": [
      "r7",
      "r409",
      "r442"
     ],
     "calculation": {
      "http://nymtrust.com/role/CondensedConsolidatedBalanceSheets": {
       "order": 2.0,
       "parentTag": "us-gaap_Liabilities",
       "weight": 1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Including the current and noncurrent portions, carrying amount of debt identified as being convertible into another form of financial instrument (typically the entity's common stock) as of the balance sheet date, which originally required full repayment more than twelve months after issuance or greater than the normal operating cycle of the company.",
        "label": "Convertible Debt",
        "terseLabel": "Convertible notes",
        "verboseLabel": "Convertible notes, carrying value"
       }
      }
     },
     "localname": "ConvertibleDebt",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://nymtrust.com/role/CondensedConsolidatedBalanceSheets",
      "http://nymtrust.com/role/FairValueOfFinancialInstrumentsCarryingValueAndEstimatedFairValueOfCompanysFinancialAssetsDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_ConvertibleDebtFairValueDisclosures": {
     "auth_ref": [],
     "crdr": "credit",
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Fair value portion of borrowing which can be exchanged for a specified number of another security at the option of the issuer or the holder, for example, but not limited to, the entity's common stock.",
        "label": "Convertible Debt, Fair Value Disclosures",
        "terseLabel": "Convertible notes, estimated fair value"
       }
      }
     },
     "localname": "ConvertibleDebtFairValueDisclosures",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://nymtrust.com/role/FairValueOfFinancialInstrumentsCarryingValueAndEstimatedFairValueOfCompanysFinancialAssetsDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_ConvertibleDebtMember": {
     "auth_ref": [
      "r228"
     ],
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Borrowing which can be exchanged for a specified number of another security at the option of the issuer or the holder, for example, but not limited to, the entity's common stock.",
        "label": "Convertible Debt [Member]",
        "terseLabel": "Convertible Notes",
        "verboseLabel": "Convertible notes"
       }
      }
     },
     "localname": "ConvertibleDebtMember",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://nymtrust.com/role/CondensedConsolidatedStatementsOfOperations",
      "http://nymtrust.com/role/DebtNarrativeDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_CostOfOtherPropertyOperatingExpense": {
     "auth_ref": [
      "r62"
     ],
     "calculation": {
      "http://nymtrust.com/role/CondensedConsolidatedStatementsOfOperations": {
       "order": 3.0,
       "parentTag": "us-gaap_OperatingExpenses",
       "weight": 1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Other operating costs incurred during the reporting period and may include amounts paid to maintain the property.",
        "label": "Cost of Other Property Operating Expense",
        "terseLabel": "Expenses related to real estate held for sale in consolidated variable interest entities"
       }
      }
     },
     "localname": "CostOfOtherPropertyOperatingExpense",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://nymtrust.com/role/CondensedConsolidatedStatementsOfOperations"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_CreditLossStatusAxis": {
     "auth_ref": [
      "r160",
      "r203",
      "r212"
     ],
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Information by credit loss status of financial asset.",
        "label": "Credit Loss Status [Axis]",
        "terseLabel": "Credit Loss Status [Axis]"
       }
      }
     },
     "localname": "CreditLossStatusAxis",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://nymtrust.com/role/DistressedAndOtherResidentialMortgageLoansNetNarrativeDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_CreditLossStatusDomain": {
     "auth_ref": [],
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Credit loss status of financial asset.",
        "label": "Credit Loss Status [Domain]",
        "terseLabel": "Credit Loss Status [Domain]"
       }
      }
     },
     "localname": "CreditLossStatusDomain",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://nymtrust.com/role/DistressedAndOtherResidentialMortgageLoansNetNarrativeDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_CurrentIncomeTaxExpenseBenefit": {
     "auth_ref": [
      "r99",
      "r290",
      "r293"
     ],
     "calculation": {
      "http://nymtrust.com/role/IncomeTaxesIncomeTaxProvisionDetails": {
       "order": 1.0,
       "parentTag": "us-gaap_IncomeTaxExpenseBenefit",
       "weight": 1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Amount of current income tax expense (benefit) pertaining to taxable income (loss) from continuing operations.",
        "label": "Current Income Tax Expense (Benefit)",
        "negatedLabel": "Current income tax benefit"
       }
      }
     },
     "localname": "CurrentIncomeTaxExpenseBenefit",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://nymtrust.com/role/IncomeTaxesIncomeTaxProvisionDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_DebtDisclosureAbstract": {
     "auth_ref": [],
     "lang": {
      "en-US": {
       "role": {
        "label": "Debt Disclosure [Abstract]"
       }
      }
     },
     "localname": "DebtDisclosureAbstract",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "xbrltype": "stringItemType"
    },
    "us-gaap_DebtDisclosureTextBlock": {
     "auth_ref": [
      "r235"
     ],
     "lang": {
      "en-US": {
       "role": {
        "documentation": "The entire disclosure for information about short-term and long-term debt arrangements, which includes amounts of borrowings under each line of credit, note payable, commercial paper issue, bonds indenture, debenture issue, own-share lending arrangements and any other contractual agreement to repay funds, and about the underlying arrangements, rationale for a classification as long-term, including repayment terms, interest rates, collateral provided, restrictions on use of assets and activities, whether or not in compliance with debt covenants, and other matters important to users of the financial statements, such as the effects of refinancing and noncompliance with debt covenants.",
        "label": "Debt Disclosure [Text Block]",
        "verboseLabel": "Debt"
       }
      }
     },
     "localname": "DebtDisclosureTextBlock",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://nymtrust.com/role/Debt"
     ],
     "xbrltype": "textBlockItemType"
    },
    "us-gaap_DebtInstrumentAxis": {
     "auth_ref": [
      "r5",
      "r6",
      "r7",
      "r406",
      "r409",
      "r438"
     ],
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Information by type of debt instrument, including, but not limited to, draws against credit facilities.",
        "label": "Debt Instrument [Axis]",
        "terseLabel": "Debt Instrument [Axis]"
       }
      }
     },
     "localname": "DebtInstrumentAxis",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://nymtrust.com/role/DebtNarrativeDetails",
      "http://nymtrust.com/role/UseOfSpecialPurposeEntitiesSpeAndVariableInterestEntitiesVieSecuritizedDebtDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_DebtInstrumentBasisSpreadOnVariableRate1": {
     "auth_ref": [],
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Percentage points added to the reference rate to compute the variable rate on the debt instrument.",
        "label": "Debt Instrument, Basis Spread on Variable Rate",
        "terseLabel": "Interest rate, basis spread"
       }
      }
     },
     "localname": "DebtInstrumentBasisSpreadOnVariableRate1",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://nymtrust.com/role/DebtPreferredSecuritiesDetails"
     ],
     "xbrltype": "percentItemType"
    },
    "us-gaap_DebtInstrumentCarryingAmount": {
     "auth_ref": [
      "r7",
      "r229",
      "r409",
      "r438"
     ],
     "crdr": "credit",
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Amount, before unamortized (discount) premium and debt issuance costs, of long-term debt. Includes, but is not limited to, notes payable, bonds payable, commercial loans, mortgage loans, convertible debt, subordinated debt and other types of debt.",
        "label": "Long-term Debt, Gross",
        "terseLabel": "Long-term debt, gross",
        "verboseLabel": "Mortgage Note Amount as of June 30, 2019"
       }
      }
     },
     "localname": "DebtInstrumentCarryingAmount",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://nymtrust.com/role/DebtNarrativeDetails",
      "http://nymtrust.com/role/DebtScheduleOfVieDebtDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_DebtInstrumentConvertibleConversionPrice1": {
     "auth_ref": [
      "r232"
     ],
     "lang": {
      "en-US": {
       "role": {
        "documentation": "The price per share of the conversion feature embedded in the debt instrument.",
        "label": "Debt Instrument, Convertible, Conversion Price",
        "terseLabel": "Conversion price (in dollars per share)"
       }
      }
     },
     "localname": "DebtInstrumentConvertibleConversionPrice1",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://nymtrust.com/role/DebtNarrativeDetails"
     ],
     "xbrltype": "perShareItemType"
    },
    "us-gaap_DebtInstrumentConvertibleConversionRatio1": {
     "auth_ref": [
      "r27",
      "r242",
      "r246",
      "r248"
     ],
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Ratio applied to the conversion of debt instrument into equity with equity shares divided by debt principal amount.",
        "label": "Debt Instrument, Convertible, Conversion Ratio",
        "terseLabel": "Conversion ratio"
       }
      }
     },
     "localname": "DebtInstrumentConvertibleConversionRatio1",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://nymtrust.com/role/DebtNarrativeDetails"
     ],
     "xbrltype": "pureItemType"
    },
    "us-gaap_DebtInstrumentFaceAmount": {
     "auth_ref": [
      "r377",
      "r379"
     ],
     "crdr": "credit",
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Face (par) amount of debt instrument at time of issuance.",
        "label": "Debt Instrument, Face Amount",
        "terseLabel": "Principal value of trust preferred securities",
        "verboseLabel": "Face amount"
       }
      }
     },
     "localname": "DebtInstrumentFaceAmount",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://nymtrust.com/role/DebtNarrativeDetails",
      "http://nymtrust.com/role/DebtPreferredSecuritiesDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_DebtInstrumentInterestRateStatedPercentage": {
     "auth_ref": [
      "r26"
     ],
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Contractual interest rate for funds borrowed, under the debt agreement.",
        "label": "Debt Instrument, Interest Rate, Stated Percentage",
        "netLabel": "Pass-through rate of notes issued",
        "terseLabel": "Interest rate",
        "verboseLabel": "Interest Rate"
       }
      }
     },
     "localname": "DebtInstrumentInterestRateStatedPercentage",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://nymtrust.com/role/DebtNarrativeDetails",
      "http://nymtrust.com/role/DebtScheduleOfVieDebtDetails",
      "http://nymtrust.com/role/UseOfSpecialPurposeEntitiesSpeAndVariableInterestEntitiesVieSecuritizedDebtDetails"
     ],
     "xbrltype": "percentItemType"
    },
    "us-gaap_DebtInstrumentLineItems": {
     "auth_ref": [],
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Line items represent financial concepts included in a table. These concepts are used to disclose reportable information associated with domain members defined in one or many axes to the table.",
        "label": "Debt Instrument [Line Items]",
        "terseLabel": "Debt Instrument [Line Items]"
       }
      }
     },
     "localname": "DebtInstrumentLineItems",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://nymtrust.com/role/DebtNarrativeDetails",
      "http://nymtrust.com/role/DebtPreferredSecuritiesDetails",
      "http://nymtrust.com/role/DebtScheduleOfVieDebtDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_DebtInstrumentNameDomain": {
     "auth_ref": [
      "r29"
     ],
     "lang": {
      "en-US": {
       "role": {
        "documentation": "The name for the particular debt instrument or borrowing that distinguishes it from other debt instruments or borrowings, including draws against credit facilities.",
        "label": "Debt Instrument, Name [Domain]",
        "terseLabel": "Debt Instrument, Name [Domain]"
       }
      }
     },
     "localname": "DebtInstrumentNameDomain",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://nymtrust.com/role/DebtNarrativeDetails",
      "http://nymtrust.com/role/UseOfSpecialPurposeEntitiesSpeAndVariableInterestEntitiesVieSecuritizedDebtDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_DebtInstrumentTable": {
     "auth_ref": [
      "r29",
      "r104",
      "r242",
      "r247",
      "r248",
      "r249",
      "r376",
      "r377",
      "r379",
      "r436"
     ],
     "lang": {
      "en-US": {
       "role": {
        "documentation": "A table or schedule providing information pertaining to long-term debt instruments or arrangements, including identification, terms, features, collateral requirements and other information necessary to a fair presentation. These are debt arrangements that originally required repayment more than twelve months after issuance or greater than the normal operating cycle of the company, if longer.",
        "label": "Schedule of Long-term Debt Instruments [Table]",
        "terseLabel": "Schedule of Long-term Debt Instruments [Table]"
       }
      }
     },
     "localname": "DebtInstrumentTable",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://nymtrust.com/role/DebtNarrativeDetails",
      "http://nymtrust.com/role/DebtPreferredSecuritiesDetails",
      "http://nymtrust.com/role/DebtScheduleOfVieDebtDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_DebtInstrumentUnamortizedDiscount": {
     "auth_ref": [
      "r376",
      "r379"
     ],
     "calculation": {
      "http://nymtrust.com/role/UseOfSpecialPurposeEntitiesSpeAndVariableInterestEntitiesVieFinancingViesSecuritizedDebtByContractualMaturityDetails": {
       "order": 2.0,
       "parentTag": "us-gaap_CollateralizedFinancings",
       "weight": -1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Amount, after accumulated amortization, of debt discount.",
        "label": "Debt Instrument, Unamortized Discount",
        "negatedLabel": "Discount"
       }
      }
     },
     "localname": "DebtInstrumentUnamortizedDiscount",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://nymtrust.com/role/UseOfSpecialPurposeEntitiesSpeAndVariableInterestEntitiesVieFinancingViesSecuritizedDebtByContractualMaturityDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_DebtInstrumentUnamortizedDiscountPremiumAndDebtIssuanceCostsNet": {
     "auth_ref": [
      "r230",
      "r378"
     ],
     "crdr": "debit",
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Amount of unamortized debt discount (premium) and debt issuance costs.",
        "label": "Debt Instrument, Unamortized Discount (Premium) and Debt Issuance Costs, Net",
        "terseLabel": "Discount and deferred charges, net"
       }
      }
     },
     "localname": "DebtInstrumentUnamortizedDiscountPremiumAndDebtIssuanceCostsNet",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://nymtrust.com/role/DebtNarrativeDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_DebtInstrumentUnusedBorrowingCapacityAmount": {
     "auth_ref": [
      "r28"
     ],
     "crdr": "credit",
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Amount of unused borrowing capacity under the long-term financing arrangement that is available to the entity as of the balance sheet date.",
        "label": "Debt Instrument, Unused Borrowing Capacity, Amount",
        "terseLabel": "Unused borrowing capacity"
       }
      }
     },
     "localname": "DebtInstrumentUnusedBorrowingCapacityAmount",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://nymtrust.com/role/DebtNarrativeDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_DebtSecuritiesAvailableForSaleContinuousUnrealizedLossPosition12MonthsOrLonger": {
     "auth_ref": [
      "r177",
      "r208",
      "r211"
     ],
     "calculation": {
      "http://nymtrust.com/role/InvestmentSecuritiesAvailableForSaleScheduleOfInvestmentSecuritiesAvailableForSaleInUnrealizedLossPositionDetails": {
       "order": 2.0,
       "parentTag": "us-gaap_DebtSecuritiesAvailableForSaleUnrealizedLossPosition",
       "weight": 1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Amount of investment in debt security measured at fair value with change in fair value recognized in other comprehensive income (available-for-sale), in continuous unrealized loss position for more than 12 months, without allowance for credit loss. Includes beneficial interest in securitized financial asset.",
        "label": "Debt Securities, Available-for-sale, Continuous Unrealized Loss Position, 12 Months or Longer",
        "terseLabel": "Carrying Value Greater Than 12 Months"
       }
      }
     },
     "localname": "DebtSecuritiesAvailableForSaleContinuousUnrealizedLossPosition12MonthsOrLonger",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://nymtrust.com/role/InvestmentSecuritiesAvailableForSaleScheduleOfInvestmentSecuritiesAvailableForSaleInUnrealizedLossPositionDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_DebtSecuritiesAvailableForSaleContinuousUnrealizedLossPosition12MonthsOrLongerAccumulatedLoss": {
     "auth_ref": [
      "r177",
      "r208"
     ],
     "calculation": {
      "http://nymtrust.com/role/InvestmentSecuritiesAvailableForSaleScheduleOfInvestmentSecuritiesAvailableForSaleInUnrealizedLossPositionDetails": {
       "order": 2.0,
       "parentTag": "us-gaap_DebtSecuritiesAvailableForSaleUnrealizedLossPositionAccumulatedLoss",
       "weight": 1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Amount of accumulated unrealized loss on investment in debt security measured at fair value with change in fair value recognized in other comprehensive income (available-for-sale), in continuous unrealized loss position for 12 months or longer, without allowance for credit loss. Includes beneficial interest in securitized financial asset.",
        "label": "Debt Securities, Available-for-sale, Continuous Unrealized Loss Position, 12 Months or Longer, Accumulated Loss",
        "negatedLabel": "Gross Unrealized Losses Greater Than 12 Months"
       }
      }
     },
     "localname": "DebtSecuritiesAvailableForSaleContinuousUnrealizedLossPosition12MonthsOrLongerAccumulatedLoss",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://nymtrust.com/role/InvestmentSecuritiesAvailableForSaleScheduleOfInvestmentSecuritiesAvailableForSaleInUnrealizedLossPositionDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_DebtSecuritiesAvailableForSaleContinuousUnrealizedLossPositionLessThan12Months": {
     "auth_ref": [
      "r177",
      "r208",
      "r211"
     ],
     "calculation": {
      "http://nymtrust.com/role/InvestmentSecuritiesAvailableForSaleScheduleOfInvestmentSecuritiesAvailableForSaleInUnrealizedLossPositionDetails": {
       "order": 1.0,
       "parentTag": "us-gaap_DebtSecuritiesAvailableForSaleUnrealizedLossPosition",
       "weight": 1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Amount of investment in debt security measured at fair value with change in fair value recognized in other comprehensive income (available-for-sale), in continuous unrealized loss position for less than 12 months, without allowance for credit loss. Includes beneficial interest in securitized financial asset.",
        "label": "Debt Securities, Available-for-sale, Continuous Unrealized Loss Position, Less than 12 Months",
        "terseLabel": "Carrying Value Less Than 12 Months"
       }
      }
     },
     "localname": "DebtSecuritiesAvailableForSaleContinuousUnrealizedLossPositionLessThan12Months",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://nymtrust.com/role/InvestmentSecuritiesAvailableForSaleScheduleOfInvestmentSecuritiesAvailableForSaleInUnrealizedLossPositionDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_DebtSecuritiesAvailableForSaleContinuousUnrealizedLossPositionLessThan12MonthsAccumulatedLoss": {
     "auth_ref": [
      "r177",
      "r208"
     ],
     "calculation": {
      "http://nymtrust.com/role/InvestmentSecuritiesAvailableForSaleScheduleOfInvestmentSecuritiesAvailableForSaleInUnrealizedLossPositionDetails": {
       "order": 1.0,
       "parentTag": "us-gaap_DebtSecuritiesAvailableForSaleUnrealizedLossPositionAccumulatedLoss",
       "weight": 1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Amount of accumulated unrealized loss on investment in debt security measured at fair value with change in fair value recognized in other comprehensive income (available-for-sale), in continuous unrealized loss position for less than 12 months, without allowance for credit loss. Includes beneficial interest in securitized financial asset.",
        "label": "Debt Securities, Available-for-sale, Continuous Unrealized Loss Position, Less than 12 Months, Accumulated Loss",
        "negatedLabel": "Gross Unrealized Losses Less Than 12 Months"
       }
      }
     },
     "localname": "DebtSecuritiesAvailableForSaleContinuousUnrealizedLossPositionLessThan12MonthsAccumulatedLoss",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://nymtrust.com/role/InvestmentSecuritiesAvailableForSaleScheduleOfInvestmentSecuritiesAvailableForSaleInUnrealizedLossPositionDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_DebtSecuritiesAvailableForSaleMeasurementInput": {
     "auth_ref": [
      "r355"
     ],
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Value of input used to measure investment in debt security measured at fair value with change in fair value recognized in other comprehensive income (available-for-sale).",
        "label": "Debt Securities, Available-for-sale, Measurement Input",
        "terseLabel": "Rate used to determine fair value"
       }
      }
     },
     "localname": "DebtSecuritiesAvailableForSaleMeasurementInput",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://nymtrust.com/role/FairValueOfFinancialInstrumentsNarrativeDetails"
     ],
     "xbrltype": "decimalItemType"
    },
    "us-gaap_DebtSecuritiesAvailableForSaleRealizedGainLoss": {
     "auth_ref": [
      "r179"
     ],
     "crdr": "credit",
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Amount of realized gain (loss) on investment in debt security measured at fair value with change in fair value recognized in other comprehensive income (available-for-sale).",
        "label": "Debt Securities, Available-for-sale, Realized Gain (Loss)",
        "terseLabel": "Realized net gain (loss) on sales of investment securities available for sale"
       }
      }
     },
     "localname": "DebtSecuritiesAvailableForSaleRealizedGainLoss",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://nymtrust.com/role/InvestmentSecuritiesAvailableForSaleNarrativeDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_DebtSecuritiesAvailableForSaleTable": {
     "auth_ref": [
      "r181"
     ],
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Disclosure of information about investment in debt security measured at fair value with change in fair value recognized in other comprehensive income (available-for-sale).",
        "label": "Debt Securities, Available-for-sale [Table]",
        "terseLabel": "Debt Securities, Available-for-sale [Table]"
       }
      }
     },
     "localname": "DebtSecuritiesAvailableForSaleTable",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://nymtrust.com/role/InvestmentSecuritiesAvailableForSaleScheduleOfAvailableForSaleSecuritiesDetails",
      "http://nymtrust.com/role/InvestmentSecuritiesAvailableForSaleScheduleOfInvestmentSecuritiesAvailableForSaleInUnrealizedLossPositionDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_DebtSecuritiesAvailableForSaleTableTextBlock": {
     "auth_ref": [
      "r181"
     ],
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Tabular disclosure of investment in debt security measured at fair value with change in fair value recognized in other comprehensive income (available-for-sale).",
        "label": "Debt Securities, Available-for-sale [Table Text Block]",
        "terseLabel": "Schedule of Weighted Average Lives of Investment Securities Available for Sale"
       }
      }
     },
     "localname": "DebtSecuritiesAvailableForSaleTableTextBlock",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://nymtrust.com/role/InvestmentSecuritiesAvailableForSaleTables"
     ],
     "xbrltype": "textBlockItemType"
    },
    "us-gaap_DebtSecuritiesAvailableForSaleUnrealizedLossPosition": {
     "auth_ref": [
      "r175",
      "r205",
      "r211"
     ],
     "calculation": {
      "http://nymtrust.com/role/InvestmentSecuritiesAvailableForSaleScheduleOfInvestmentSecuritiesAvailableForSaleInUnrealizedLossPositionDetails": {
       "order": null,
       "parentTag": null,
       "root": true,
       "weight": null
      }
     },
     "crdr": "debit",
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Amount of investment in debt security measured at fair value with change in fair value recognized in other comprehensive income (available-for-sale), in unrealized loss position without allowance for credit loss.",
        "label": "Debt Securities, Available-for-sale, Unrealized Loss Position",
        "totalLabel": "Carrying Value"
       }
      }
     },
     "localname": "DebtSecuritiesAvailableForSaleUnrealizedLossPosition",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://nymtrust.com/role/InvestmentSecuritiesAvailableForSaleScheduleOfInvestmentSecuritiesAvailableForSaleInUnrealizedLossPositionDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_DebtSecuritiesAvailableForSaleUnrealizedLossPositionAccumulatedLoss": {
     "auth_ref": [
      "r176",
      "r206"
     ],
     "calculation": {
      "http://nymtrust.com/role/InvestmentSecuritiesAvailableForSaleScheduleOfInvestmentSecuritiesAvailableForSaleInUnrealizedLossPositionDetails": {
       "order": null,
       "parentTag": null,
       "root": true,
       "weight": null
      }
     },
     "crdr": "debit",
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Amount of accumulated unrealized loss on investment in debt security measured at fair value with change in fair value recognized in other comprehensive income (available-for-sale), in unrealized loss position, without allowance for credit loss. Includes beneficial interest in securitized financial asset.",
        "label": "Debt Securities, Available-for-sale, Unrealized Loss Position, Accumulated Loss",
        "negatedTerseLabel": "Gross unrealized losses",
        "negatedTotalLabel": "Gross Unrealized Losses"
       }
      }
     },
     "localname": "DebtSecuritiesAvailableForSaleUnrealizedLossPositionAccumulatedLoss",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://nymtrust.com/role/InvestmentSecuritiesAvailableForSaleNarrativeDetails",
      "http://nymtrust.com/role/InvestmentSecuritiesAvailableForSaleScheduleOfInvestmentSecuritiesAvailableForSaleInUnrealizedLossPositionDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_DebtSecuritiesAvailableForSaleUnrealizedLossPositionFairValueTableTextBlock": {
     "auth_ref": [
      "r174",
      "r207",
      "r211"
     ],
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Tabular disclosure of fair value of investment in debt security measured at fair value with change in fair value recognized in other comprehensive income (available-for-sale), in unrealized loss position, without allowance for credit loss. Includes beneficial interest in securitized financial asset.",
        "label": "Debt Securities, Available-for-sale, Unrealized Loss Position, Fair Value [Table Text Block]",
        "terseLabel": "Schedule of Investment Securities Available for Sale in Unrealized Loss Position"
       }
      }
     },
     "localname": "DebtSecuritiesAvailableForSaleUnrealizedLossPositionFairValueTableTextBlock",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://nymtrust.com/role/InvestmentSecuritiesAvailableForSaleTables"
     ],
     "xbrltype": "textBlockItemType"
    },
    "us-gaap_DebtWeightedAverageInterestRate": {
     "auth_ref": [],
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Weighted average interest rate of debt outstanding.",
        "label": "Debt, Weighted Average Interest Rate",
        "verboseLabel": "Weighted average interest rate"
       }
      }
     },
     "localname": "DebtWeightedAverageInterestRate",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://nymtrust.com/role/ConsolidatedKSeriesNarrativeDetails",
      "http://nymtrust.com/role/DebtNarrativeDetails",
      "http://nymtrust.com/role/RepurchaseAgreementsNarrativeDetails"
     ],
     "xbrltype": "percentItemType"
    },
    "us-gaap_DeferredFinanceCostsGross": {
     "auth_ref": [
      "r378"
     ],
     "crdr": "debit",
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Amount, before accumulated amortization, of debt issuance costs. Includes, but is not limited to, legal, accounting, underwriting, printing, and registration costs.",
        "label": "Debt Issuance Costs, Gross",
        "terseLabel": "Deferred finance costs, gross",
        "verboseLabel": "Unamortized deferred finance costs"
       }
      }
     },
     "localname": "DeferredFinanceCostsGross",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://nymtrust.com/role/RepurchaseAgreementsNarrativeDetails",
      "http://nymtrust.com/role/UseOfSpecialPurposeEntitiesSpeAndVariableInterestEntitiesVieSecuritizedDebtDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_DeferredFinanceCostsNet": {
     "auth_ref": [
      "r24",
      "r378"
     ],
     "calculation": {
      "http://nymtrust.com/role/UseOfSpecialPurposeEntitiesSpeAndVariableInterestEntitiesVieFinancingViesSecuritizedDebtByContractualMaturityDetails": {
       "order": 3.0,
       "parentTag": "us-gaap_CollateralizedFinancings",
       "weight": -1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Amount, after accumulated amortization, of debt issuance costs. Includes, but is not limited to, legal, accounting, underwriting, printing, and registration costs.",
        "label": "Debt Issuance Costs, Net",
        "negatedTerseLabel": "Debt issuance cost",
        "terseLabel": "Net Deferred Finance Costs"
       }
      }
     },
     "localname": "DeferredFinanceCostsNet",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://nymtrust.com/role/DebtScheduleOfVieDebtDetails",
      "http://nymtrust.com/role/UseOfSpecialPurposeEntitiesSpeAndVariableInterestEntitiesVieFinancingViesSecuritizedDebtByContractualMaturityDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_DeferredFinanceCostsNoncurrentNet": {
     "auth_ref": [
      "r24",
      "r378"
     ],
     "calculation": {
      "http://nymtrust.com/role/DistressedAndOtherResidentialMortgageLoansNetResidentialMortgageLoansHeldInSecuritizationTrustsNetDetails": {
       "order": 2.0,
       "parentTag": "us-gaap_MortgageLoansOnRealEstateCommercialAndConsumerNet",
       "weight": 1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Amount, after accumulated amortization, of debt issuance costs classified as noncurrent. Includes, but is not limited to, legal, accounting, underwriting, printing, and registration costs.",
        "label": "Debt Issuance Costs, Noncurrent, Net",
        "terseLabel": "Deferred origination costs \u2013 net"
       }
      }
     },
     "localname": "DeferredFinanceCostsNoncurrentNet",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://nymtrust.com/role/DistressedAndOtherResidentialMortgageLoansNetResidentialMortgageLoansHeldInSecuritizationTrustsNetDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_DeferredIncomeTaxExpenseBenefit": {
     "auth_ref": [
      "r86",
      "r99",
      "r291",
      "r293"
     ],
     "calculation": {
      "http://nymtrust.com/role/IncomeTaxesIncomeTaxProvisionDetails": {
       "order": 2.0,
       "parentTag": "us-gaap_IncomeTaxExpenseBenefit",
       "weight": 1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Amount of deferred income tax expense (benefit) pertaining to income (loss) from continuing operations.",
        "label": "Deferred Income Tax Expense (Benefit)",
        "negatedLabel": "Deferred income tax benefit"
       }
      }
     },
     "localname": "DeferredIncomeTaxExpenseBenefit",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://nymtrust.com/role/IncomeTaxesIncomeTaxProvisionDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_DeferredIncomeTaxLiabilities": {
     "auth_ref": [
      "r9",
      "r10",
      "r282",
      "r407",
      "r437"
     ],
     "calculation": {
      "http://nymtrust.com/role/IncomeTaxesDeferredTaxAssetDetails": {
       "order": 2.0,
       "parentTag": "us-gaap_DeferredTaxAssetsLiabilitiesNet",
       "weight": -1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Amount of deferred tax liability attributable to taxable temporary differences.",
        "label": "Deferred Tax Liabilities, Gross",
        "terseLabel": "Deferred tax liabilities"
       }
      }
     },
     "localname": "DeferredIncomeTaxLiabilities",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://nymtrust.com/role/IncomeTaxesDeferredTaxAssetDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_DeferredTaxAssetsCapitalLossCarryforwards": {
     "auth_ref": [
      "r281",
      "r288",
      "r289"
     ],
     "calculation": {
      "http://nymtrust.com/role/IncomeTaxesDeferredTaxAssetDetails": {
       "order": 3.0,
       "parentTag": "us-gaap_DeferredTaxAssetsGross",
       "weight": 1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Amount before allocation of valuation allowances of deferred tax asset attributable to deductible capital loss carryforwards.",
        "label": "Deferred Tax Assets, Capital Loss Carryforwards",
        "terseLabel": "Capital loss carryover"
       }
      }
     },
     "localname": "DeferredTaxAssetsCapitalLossCarryforwards",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://nymtrust.com/role/IncomeTaxesDeferredTaxAssetDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_DeferredTaxAssetsGross": {
     "auth_ref": [
      "r283"
     ],
     "calculation": {
      "http://nymtrust.com/role/IncomeTaxesDeferredTaxAssetDetails": {
       "order": 1.0,
       "parentTag": "us-gaap_DeferredTaxAssetsLiabilitiesNet",
       "weight": 1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Amount before allocation of valuation allowances of deferred tax asset attributable to deductible temporary differences and carryforwards.",
        "label": "Deferred Tax Assets, Gross",
        "totalLabel": "Total deferred tax assets"
       }
      }
     },
     "localname": "DeferredTaxAssetsGross",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://nymtrust.com/role/IncomeTaxesDeferredTaxAssetDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_DeferredTaxAssetsGrossAbstract": {
     "auth_ref": [],
     "lang": {
      "en-US": {
       "role": {
        "label": "Deferred Tax Assets, Gross [Abstract]",
        "terseLabel": "Deferred tax assets"
       }
      }
     },
     "localname": "DeferredTaxAssetsGrossAbstract",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://nymtrust.com/role/IncomeTaxesDeferredTaxAssetDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_DeferredTaxAssetsLiabilitiesNet": {
     "auth_ref": [
      "r285"
     ],
     "calculation": {
      "http://nymtrust.com/role/IncomeTaxesDeferredTaxAssetDetails": {
       "order": null,
       "parentTag": null,
       "root": true,
       "weight": null
      }
     },
     "crdr": "debit",
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Amount, after allocation of valuation allowances and deferred tax liability, of deferred tax asset attributable to deductible differences and carryforwards, without jurisdictional netting.",
        "label": "Deferred Tax Assets, Net",
        "totalLabel": "Total net deferred tax asset"
       }
      }
     },
     "localname": "DeferredTaxAssetsLiabilitiesNet",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://nymtrust.com/role/IncomeTaxesDeferredTaxAssetDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_DeferredTaxAssetsOperatingLossCarryforwards": {
     "auth_ref": [
      "r280",
      "r288",
      "r289"
     ],
     "calculation": {
      "http://nymtrust.com/role/IncomeTaxesDeferredTaxAssetDetails": {
       "order": 1.0,
       "parentTag": "us-gaap_DeferredTaxAssetsGross",
       "weight": 1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Amount before allocation of valuation allowances of deferred tax asset attributable to deductible operating loss carryforwards.",
        "label": "Deferred Tax Assets, Operating Loss Carryforwards",
        "terseLabel": "Net operating loss carryforward"
       }
      }
     },
     "localname": "DeferredTaxAssetsOperatingLossCarryforwards",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://nymtrust.com/role/IncomeTaxesDeferredTaxAssetDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_DeferredTaxAssetsOther": {
     "auth_ref": [
      "r281",
      "r288",
      "r289"
     ],
     "calculation": {
      "http://nymtrust.com/role/IncomeTaxesDeferredTaxAssetDetails": {
       "order": 2.0,
       "parentTag": "us-gaap_DeferredTaxAssetsGross",
       "weight": 1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Amount, before allocation of valuation allowance, of deferred tax asset attributable to deductible temporary differences, classified as other.",
        "label": "Deferred Tax Assets, Other",
        "terseLabel": "GAAP/Tax basis differences"
       }
      }
     },
     "localname": "DeferredTaxAssetsOther",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://nymtrust.com/role/IncomeTaxesDeferredTaxAssetDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_DeferredTaxAssetsValuationAllowance": {
     "auth_ref": [
      "r284"
     ],
     "calculation": {
      "http://nymtrust.com/role/IncomeTaxesDeferredTaxAssetDetails": {
       "order": 3.0,
       "parentTag": "us-gaap_DeferredTaxAssetsLiabilitiesNet",
       "weight": -1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Amount of deferred tax assets for which it is more likely than not that a tax benefit will not be realized.",
        "label": "Deferred Tax Assets, Valuation Allowance",
        "negatedLabel": "Valuation allowance"
       }
      }
     },
     "localname": "DeferredTaxAssetsValuationAllowance",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://nymtrust.com/role/IncomeTaxesDeferredTaxAssetDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_DeferredTaxLiabilitiesAbstract": {
     "auth_ref": [],
     "lang": {
      "en-US": {
       "role": {
        "label": "Deferred Tax Liabilities, Gross [Abstract]",
        "terseLabel": "Deferred tax liabilities"
       }
      }
     },
     "localname": "DeferredTaxLiabilitiesAbstract",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://nymtrust.com/role/IncomeTaxesDeferredTaxAssetDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_Depreciation": {
     "auth_ref": [
      "r86",
      "r218"
     ],
     "crdr": "debit",
     "lang": {
      "en-US": {
       "role": {
        "documentation": "The amount of expense recognized in the current period that reflects the allocation of the cost of tangible assets over the assets' useful lives. Includes production and non-production related depreciation.",
        "label": "Depreciation",
        "terseLabel": "Depreciation"
       }
      }
     },
     "localname": "Depreciation",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://nymtrust.com/role/RealEstateHeldForSaleInConsolidatedViesDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_DerivativeAssets": {
     "auth_ref": [
      "r37",
      "r38",
      "r366"
     ],
     "calculation": {
      "http://nymtrust.com/role/CondensedConsolidatedBalanceSheets": {
       "order": 6.0,
       "parentTag": "us-gaap_Assets",
       "weight": 1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Fair value, after the effects of master netting arrangements, of a financial asset or other contract with one or more underlyings, notional amount or payment provision or both, and the contract can be net settled by means outside the contract or delivery of an asset. Includes assets not subject to a master netting arrangement and not elected to be offset.",
        "label": "Derivative Asset",
        "terseLabel": "Derivative assets",
        "verboseLabel": "Derivative assets"
       }
      }
     },
     "localname": "DerivativeAssets",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://nymtrust.com/role/CondensedConsolidatedBalanceSheets",
      "http://nymtrust.com/role/FairValueOfFinancialInstrumentsCarryingValueAndEstimatedFairValueOfCompanysFinancialAssetsDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_DerivativeAverageFixedInterestRate": {
     "auth_ref": [],
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Average fixed interest rate related to the group of interest rate derivatives.",
        "label": "Derivative, Average Fixed Interest Rate",
        "terseLabel": "Weighted Average Fixed Interest Rate"
       }
      }
     },
     "localname": "DerivativeAverageFixedInterestRate",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://nymtrust.com/role/DerivativeInstrumentsAndHedgingActivitiesInterestRateSwapsDetails"
     ],
     "xbrltype": "percentItemType"
    },
    "us-gaap_DerivativeAverageVariableInterestRate": {
     "auth_ref": [],
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Average variable interest rate related to the group of interest rate derivatives.",
        "label": "Derivative, Average Variable Interest Rate",
        "terseLabel": "Weighted Average Variable Interest Rate"
       }
      }
     },
     "localname": "DerivativeAverageVariableInterestRate",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://nymtrust.com/role/DerivativeInstrumentsAndHedgingActivitiesInterestRateSwapsDetails"
     ],
     "xbrltype": "percentItemType"
    },
    "us-gaap_DerivativeContractTypeDomain": {
     "auth_ref": [],
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Financial instrument or contract with one or more underlyings, notional amount or payment provision or both, and the contract can be net settled by means outside the contract or delivery of an asset.",
        "label": "Derivative Contract [Domain]",
        "terseLabel": "Derivative Contract [Domain]"
       }
      }
     },
     "localname": "DerivativeContractTypeDomain",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://nymtrust.com/role/DerivativeInstrumentsAndHedgingActivitiesActivityOfDerivativeInstrumentsNotDesignatedAsHedgesDetails",
      "http://nymtrust.com/role/DerivativeInstrumentsAndHedgingActivitiesComponentsOfInvestmentFairValueChangesDetails",
      "http://nymtrust.com/role/DerivativeInstrumentsAndHedgingActivitiesFairValueOfDerivativeInstrumentsDetails",
      "http://nymtrust.com/role/DerivativeInstrumentsAndHedgingActivitiesInterestRateSwapsDetails",
      "http://nymtrust.com/role/FairValueOfFinancialInstrumentsAssetsAndLiabilitiesMeasuredAtFairValueOnRecurringBasisDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_DerivativeFairValueOfDerivativeAsset": {
     "auth_ref": [
      "r36",
      "r40",
      "r335",
      "r392"
     ],
     "calculation": {
      "http://nymtrust.com/role/FairValueOfFinancialInstrumentsAssetsAndLiabilitiesMeasuredAtFairValueOnRecurringBasisDetails": {
       "order": 5.0,
       "parentTag": "us-gaap_AssetsFairValueDisclosure",
       "weight": 1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Fair value, before effects of master netting arrangements, of a financial asset or other contract with one or more underlyings, notional amount or payment provision or both, and the contract can be net settled by means outside the contract or delivery of an asset. Includes assets elected not to be offset. Excludes assets not subject to a master netting arrangement.",
        "label": "Derivative Asset, Fair Value, Gross Asset",
        "terseLabel": "Derivative assets"
       }
      }
     },
     "localname": "DerivativeFairValueOfDerivativeAsset",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://nymtrust.com/role/DerivativeInstrumentsAndHedgingActivitiesFairValueOfDerivativeInstrumentsDetails",
      "http://nymtrust.com/role/FairValueOfFinancialInstrumentsAssetsAndLiabilitiesMeasuredAtFairValueOnRecurringBasisDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_DerivativeFairValueOfDerivativeLiability": {
     "auth_ref": [
      "r36",
      "r40",
      "r335",
      "r392"
     ],
     "crdr": "credit",
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Fair value, before effects of master netting arrangements, of a financial liability or contract with one or more underlyings, notional amount or payment provision or both, and the contract can be net settled by means outside the contract or delivery of an asset. Includes liabilities elected not to be offset. Excludes liabilities not subject to a master netting arrangement.",
        "label": "Derivative Liability, Fair Value, Gross Liability",
        "terseLabel": "Derivative labilities"
       }
      }
     },
     "localname": "DerivativeFairValueOfDerivativeLiability",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://nymtrust.com/role/DerivativeInstrumentsAndHedgingActivitiesFairValueOfDerivativeInstrumentsDetails",
      "http://nymtrust.com/role/FairValueOfFinancialInstrumentsAssetsAndLiabilitiesMeasuredAtFairValueOnRecurringBasisDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_DerivativeInstrumentRiskAxis": {
     "auth_ref": [
      "r334",
      "r336",
      "r341",
      "r344"
     ],
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Information by type of derivative contract.",
        "label": "Derivative Instrument [Axis]",
        "terseLabel": "Derivative Instrument [Axis]"
       }
      }
     },
     "localname": "DerivativeInstrumentRiskAxis",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://nymtrust.com/role/DerivativeInstrumentsAndHedgingActivitiesActivityOfDerivativeInstrumentsNotDesignatedAsHedgesDetails",
      "http://nymtrust.com/role/DerivativeInstrumentsAndHedgingActivitiesComponentsOfInvestmentFairValueChangesDetails",
      "http://nymtrust.com/role/DerivativeInstrumentsAndHedgingActivitiesFairValueOfDerivativeInstrumentsDetails",
      "http://nymtrust.com/role/DerivativeInstrumentsAndHedgingActivitiesInterestRateSwapsDetails",
      "http://nymtrust.com/role/FairValueOfFinancialInstrumentsAssetsAndLiabilitiesMeasuredAtFairValueOnRecurringBasisDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_DerivativeInstrumentsAndHedgingActivitiesDisclosureAbstract": {
     "auth_ref": [],
     "lang": {
      "en-US": {
       "role": {
        "label": "Derivative Instruments and Hedging Activities Disclosure [Abstract]"
       }
      }
     },
     "localname": "DerivativeInstrumentsAndHedgingActivitiesDisclosureAbstract",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "xbrltype": "stringItemType"
    },
    "us-gaap_DerivativeInstrumentsAndHedgingActivitiesDisclosureTextBlock": {
     "auth_ref": [
      "r349"
     ],
     "lang": {
      "en-US": {
       "role": {
        "documentation": "The entire disclosure for derivative instruments and hedging activities including, but not limited to, risk management strategies, non-hedging derivative instruments, assets, liabilities, revenue and expenses, and methodologies and assumptions used in determining the amounts.",
        "label": "Derivative Instruments and Hedging Activities Disclosure [Text Block]",
        "terseLabel": "Derivative Instruments and Hedging Activities"
       }
      }
     },
     "localname": "DerivativeInstrumentsAndHedgingActivitiesDisclosureTextBlock",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://nymtrust.com/role/DerivativeInstrumentsAndHedgingActivities"
     ],
     "xbrltype": "textBlockItemType"
    },
    "us-gaap_DerivativeInstrumentsAndHedgingActivitiesDisclosuresLineItems": {
     "auth_ref": [],
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Line items represent financial concepts included in a table. These concepts are used to disclose reportable information associated with domain members defined in one or many axes to the table.",
        "label": "Derivative Instruments and Hedging Activities Disclosures [Line Items]",
        "terseLabel": "Derivative Instruments and Hedging Activities Disclosures [Line Items]"
       }
      }
     },
     "localname": "DerivativeInstrumentsAndHedgingActivitiesDisclosuresLineItems",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://nymtrust.com/role/DerivativeInstrumentsAndHedgingActivitiesActivityOfDerivativeInstrumentsNotDesignatedAsHedgesDetails",
      "http://nymtrust.com/role/DerivativeInstrumentsAndHedgingActivitiesComponentsOfInvestmentFairValueChangesDetails",
      "http://nymtrust.com/role/DerivativeInstrumentsAndHedgingActivitiesInterestRateSwapsDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_DerivativeInstrumentsAndHedgingActivitiesDisclosuresTable": {
     "auth_ref": [],
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Disclosure of information about derivatives and hedging activities.",
        "label": "Derivative Instruments and Hedging Activities Disclosures [Table]",
        "terseLabel": "Derivative Instruments and Hedging Activities Disclosures [Table]"
       }
      }
     },
     "localname": "DerivativeInstrumentsAndHedgingActivitiesDisclosuresTable",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://nymtrust.com/role/DerivativeInstrumentsAndHedgingActivitiesActivityOfDerivativeInstrumentsNotDesignatedAsHedgesDetails",
      "http://nymtrust.com/role/DerivativeInstrumentsAndHedgingActivitiesComponentsOfInvestmentFairValueChangesDetails",
      "http://nymtrust.com/role/DerivativeInstrumentsAndHedgingActivitiesInterestRateSwapsDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_DerivativeInstrumentsGainLossByHedgingRelationshipAxis": {
     "auth_ref": [
      "r331",
      "r334",
      "r341"
     ],
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Information by type of hedging relationship.",
        "label": "Hedging Relationship [Axis]",
        "terseLabel": "Hedging Relationship [Axis]"
       }
      }
     },
     "localname": "DerivativeInstrumentsGainLossByHedgingRelationshipAxis",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://nymtrust.com/role/DerivativeInstrumentsAndHedgingActivitiesInterestRateSwapsDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_DerivativeInstrumentsNotDesignatedAsHedgingInstrumentsAssetAtFairValue": {
     "auth_ref": [
      "r337"
     ],
     "crdr": "debit",
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Fair value as of the balance sheet date of derivative instrument not designated as hedging instrument and classified as an asset.",
        "label": "Derivative Instruments Not Designated as Hedging Instruments, Asset, at Fair Value",
        "verboseLabel": "Derivative assets"
       }
      }
     },
     "localname": "DerivativeInstrumentsNotDesignatedAsHedgingInstrumentsAssetAtFairValue",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://nymtrust.com/role/DerivativeInstrumentsAndHedgingActivitiesFairValueOfDerivativeInstrumentsDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_DerivativeLineItems": {
     "auth_ref": [],
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Line items represent financial concepts included in a table. These concepts are used to disclose reportable information associated with domain members defined in one or many axes to the table.",
        "label": "Derivative [Line Items]",
        "terseLabel": "Derivative [Line Items]"
       }
      }
     },
     "localname": "DerivativeLineItems",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://nymtrust.com/role/DerivativeInstrumentsAndHedgingActivitiesFairValueOfDerivativeInstrumentsDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_DerivativeNotionalAmount": {
     "auth_ref": [
      "r326",
      "r328"
     ],
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Nominal or face amount used to calculate payment on derivative.",
        "label": "Derivative, Notional Amount",
        "terseLabel": "Notional Amount"
       }
      }
     },
     "localname": "DerivativeNotionalAmount",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://nymtrust.com/role/DerivativeInstrumentsAndHedgingActivitiesInterestRateSwapsDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_DerivativeTable": {
     "auth_ref": [
      "r110",
      "r325",
      "r327",
      "r328",
      "r331",
      "r332",
      "r339",
      "r341",
      "r346",
      "r347",
      "r348"
     ],
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Schedule that describes and identifies a derivative or group of derivatives on a disaggregated basis, such as for individual instruments, or small groups of similar instruments. May include a combination of the type of instrument, risks being hedged, notional amount, hedge designation, related hedged item, inception date, maturity date, or other relevant item.",
        "label": "Derivative [Table]",
        "terseLabel": "Derivative [Table]"
       }
      }
     },
     "localname": "DerivativeTable",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://nymtrust.com/role/DerivativeInstrumentsAndHedgingActivitiesFairValueOfDerivativeInstrumentsDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_DesignatedAsHedgingInstrumentMember": {
     "auth_ref": [
      "r331"
     ],
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Derivative instrument designated as hedging instrument under Generally Accepted Accounting Principles (GAAP).",
        "label": "Designated as Hedging Instrument [Member]",
        "terseLabel": "Designated as Hedging Instrument"
       }
      }
     },
     "localname": "DesignatedAsHedgingInstrumentMember",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://nymtrust.com/role/DerivativeInstrumentsAndHedgingActivitiesInterestRateSwapsDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_DisclosureOfCompensationRelatedCostsShareBasedPaymentsTextBlock": {
     "auth_ref": [
      "r279"
     ],
     "lang": {
      "en-US": {
       "role": {
        "documentation": "The entire disclosure for share-based payment arrangement.",
        "label": "Share-based Payment Arrangement [Text Block]",
        "terseLabel": "Stock Based Compensation"
       }
      }
     },
     "localname": "DisclosureOfCompensationRelatedCostsShareBasedPaymentsTextBlock",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://nymtrust.com/role/StockBasedCompensation"
     ],
     "xbrltype": "textBlockItemType"
    },
    "us-gaap_DisclosureOfCompensationRelatedCostsSharebasedPaymentsAbstract": {
     "auth_ref": [],
     "lang": {
      "en-US": {
       "role": {
        "label": "Share-based Payment Arrangement [Abstract]"
       }
      }
     },
     "localname": "DisclosureOfCompensationRelatedCostsSharebasedPaymentsAbstract",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "xbrltype": "stringItemType"
    },
    "us-gaap_DividendsCommonStockCash": {
     "auth_ref": [
      "r250"
     ],
     "crdr": "debit",
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Amount of paid and unpaid common stock dividends declared with the form of settlement in cash.",
        "label": "Dividends, Common Stock, Cash",
        "negatedLabel": "Dividends declared on common stock"
       }
      }
     },
     "localname": "DividendsCommonStockCash",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://nymtrust.com/role/CondensedConsolidatedStatementsOfChangesInStockholdersEquity"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_DividendsPayableCurrentAndNoncurrent": {
     "auth_ref": [
      "r6",
      "r8",
      "r408",
      "r441"
     ],
     "crdr": "credit",
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Carrying value as of the balance sheet date of dividends declared but unpaid on equity securities issued by the entity and outstanding.",
        "label": "Dividends Payable",
        "terseLabel": "Dividends declared on stock to be paid in subsequent period"
       }
      }
     },
     "localname": "DividendsPayableCurrentAndNoncurrent",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://nymtrust.com/role/CondensedConsolidatedStatementsOfCashFlows"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_DividendsPayableLineItems": {
     "auth_ref": [],
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Line items represent financial concepts included in a table. These concepts are used to disclose reportable information associated with domain members defined in one or many axes to the table.",
        "label": "Dividends Payable [Line Items]",
        "terseLabel": "Dividends Payable [Line Items]"
       }
      }
     },
     "localname": "DividendsPayableLineItems",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://nymtrust.com/role/StockholdersEquityCashDividendsDeclaredPreferredStockDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_DividendsPayableTable": {
     "auth_ref": [
      "r92"
     ],
     "lang": {
      "en-US": {
       "role": {
        "documentation": "A table that contains information regarding dividends that have been declared but not paid as of the financial reporting date. This information may contain the amount, amount per share, declared date, and date to be paid.",
        "label": "Dividends Payable [Table]",
        "terseLabel": "Dividends Payable [Table]"
       }
      }
     },
     "localname": "DividendsPayableTable",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://nymtrust.com/role/StockholdersEquityCashDividendsDeclaredPreferredStockDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_DividendsPreferredStockCash": {
     "auth_ref": [
      "r250",
      "r434"
     ],
     "crdr": "debit",
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Amount of paid and unpaid preferred stock dividends declared with the form of settlement in cash.",
        "label": "Dividends, Preferred Stock, Cash",
        "negatedTerseLabel": "Dividends declared on preferred stock"
       }
      }
     },
     "localname": "DividendsPreferredStockCash",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://nymtrust.com/role/CondensedConsolidatedStatementsOfChangesInStockholdersEquity"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_EarningsPerShareAbstract": {
     "auth_ref": [],
     "lang": {
      "en-US": {
       "role": {
        "label": "Earnings Per Share [Abstract]"
       }
      }
     },
     "localname": "EarningsPerShareAbstract",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "xbrltype": "stringItemType"
    },
    "us-gaap_EarningsPerShareBasic": {
     "auth_ref": [
      "r59",
      "r116",
      "r121",
      "r124",
      "r125",
      "r126",
      "r129",
      "r421",
      "r457"
     ],
     "lang": {
      "en-US": {
       "role": {
        "documentation": "The amount of net income (loss) for the period per each share of common stock or unit outstanding during the reporting period.",
        "label": "Earnings Per Share, Basic",
        "terseLabel": "Basic earnings per common share (in dollars per share)",
        "verboseLabel": "Basic Earnings per Common Share (in dollars per share)"
       }
      }
     },
     "localname": "EarningsPerShareBasic",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://nymtrust.com/role/CondensedConsolidatedStatementsOfOperations",
      "http://nymtrust.com/role/EarningsPerShareDetails"
     ],
     "xbrltype": "perShareItemType"
    },
    "us-gaap_EarningsPerShareBasicAbstract": {
     "auth_ref": [],
     "lang": {
      "en-US": {
       "role": {
        "label": "Earnings Per Share, Basic [Abstract]",
        "terseLabel": "Basic Earnings per Common Share"
       }
      }
     },
     "localname": "EarningsPerShareBasicAbstract",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://nymtrust.com/role/EarningsPerShareDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_EarningsPerShareDiluted": {
     "auth_ref": [
      "r59",
      "r116",
      "r121",
      "r124",
      "r125",
      "r126",
      "r129",
      "r421",
      "r457"
     ],
     "lang": {
      "en-US": {
       "role": {
        "documentation": "The amount of net income (loss) for the period available to each share of common stock or common unit outstanding during the reporting period and to each share or unit that would have been outstanding assuming the issuance of common shares or units for all dilutive potential common shares or units outstanding during the reporting period.",
        "label": "Earnings Per Share, Diluted",
        "terseLabel": "Diluted earnings per common share (in dollars per share)",
        "verboseLabel": "Diluted Earnings per Common Share (in dollars per share)"
       }
      }
     },
     "localname": "EarningsPerShareDiluted",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://nymtrust.com/role/CondensedConsolidatedStatementsOfOperations",
      "http://nymtrust.com/role/EarningsPerShareDetails"
     ],
     "xbrltype": "perShareItemType"
    },
    "us-gaap_EarningsPerShareDilutedAbstract": {
     "auth_ref": [],
     "lang": {
      "en-US": {
       "role": {
        "label": "Earnings Per Share, Diluted [Abstract]",
        "terseLabel": "Diluted Earnings per Common Share:"
       }
      }
     },
     "localname": "EarningsPerShareDilutedAbstract",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://nymtrust.com/role/EarningsPerShareDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_EarningsPerShareTextBlock": {
     "auth_ref": [
      "r130"
     ],
     "lang": {
      "en-US": {
       "role": {
        "documentation": "The entire disclosure for earnings per share.",
        "label": "Earnings Per Share [Text Block]",
        "terseLabel": "Earnings Per Share"
       }
      }
     },
     "localname": "EarningsPerShareTextBlock",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://nymtrust.com/role/EarningsPerShare"
     ],
     "xbrltype": "textBlockItemType"
    },
    "us-gaap_EmployeeServiceShareBasedCompensationNonvestedAwardsTotalCompensationCostNotYetRecognized": {
     "auth_ref": [
      "r275"
     ],
     "crdr": "debit",
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Amount of cost not yet recognized for nonvested award under share-based payment arrangement.",
        "label": "Share-based Payment Arrangement, Nonvested Award, Cost Not yet Recognized, Amount",
        "terseLabel": "Unrecognized compensation cost"
       }
      }
     },
     "localname": "EmployeeServiceShareBasedCompensationNonvestedAwardsTotalCompensationCostNotYetRecognized",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://nymtrust.com/role/StockBasedCompensationNarrativeDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_EmployeeServiceShareBasedCompensationNonvestedAwardsTotalCompensationCostNotYetRecognizedPeriodForRecognition1": {
     "auth_ref": [
      "r275"
     ],
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Weighted-average period over which cost not yet recognized is expected to be recognized for award under share-based payment arrangement, in 'PnYnMnDTnHnMnS' format, for example, 'P1Y5M13D' represents reported fact of one year, five months, and thirteen days.",
        "label": "Share-based Payment Arrangement, Nonvested Award, Cost Not yet Recognized, Period for Recognition",
        "terseLabel": "Unrecognized compensation cost, period for recognition"
       }
      }
     },
     "localname": "EmployeeServiceShareBasedCompensationNonvestedAwardsTotalCompensationCostNotYetRecognizedPeriodForRecognition1",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://nymtrust.com/role/StockBasedCompensationNarrativeDetails"
     ],
     "xbrltype": "durationItemType"
    },
    "us-gaap_EmployeeStockOptionMember": {
     "auth_ref": [
      "r273"
     ],
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Share-based payment arrangement granting right, subject to vesting and other restrictions, to purchase or sell certain number of shares at predetermined price for specified period of time.",
        "label": "Share-based Payment Arrangement, Option [Member]",
        "terseLabel": "Employee Stock Option"
       }
      }
     },
     "localname": "EmployeeStockOptionMember",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://nymtrust.com/role/StockBasedCompensationNarrativeDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_EquityComponentDomain": {
     "auth_ref": [
      "r241"
     ],
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Components of equity are the parts of the total Equity balance including that which is allocated to common, preferred, treasury stock, retained earnings, etc.",
        "label": "Equity Component [Domain]",
        "terseLabel": "Equity Component [Domain]"
       }
      }
     },
     "localname": "EquityComponentDomain",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://nymtrust.com/role/CondensedConsolidatedStatementsOfCashFlows",
      "http://nymtrust.com/role/CondensedConsolidatedStatementsOfChangesInStockholdersEquity",
      "http://nymtrust.com/role/StockholdersEquityNarrativeDetails",
      "http://nymtrust.com/role/StockholdersEquityScheduleOfPublicOfferingOfCommonStockDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_EquityMethodInvestmentDividendsOrDistributions": {
     "auth_ref": [
      "r57",
      "r80",
      "r86",
      "r455"
     ],
     "calculation": {
      "http://nymtrust.com/role/CondensedConsolidatedStatementsOfCashFlows": {
       "order": 10.0,
       "parentTag": "us-gaap_NetCashProvidedByUsedInOperatingActivities",
       "weight": 1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Amount of distribution received from equity method investee for return on investment, classified as operating activities. Excludes distribution for return of investment, classified as investing activities.",
        "label": "Proceeds from Equity Method Investment, Distribution",
        "terseLabel": "Distributions of income from unconsolidated entity, preferred equity and mezzanine loan investments"
       }
      }
     },
     "localname": "EquityMethodInvestmentDividendsOrDistributions",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://nymtrust.com/role/CondensedConsolidatedStatementsOfCashFlows"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_EquityMethodInvestmentOwnershipPercentage": {
     "auth_ref": [
      "r185"
     ],
     "lang": {
      "en-US": {
       "role": {
        "documentation": "The percentage of ownership of common stock or equity participation in the investee accounted for under the equity method of accounting.",
        "label": "Equity Method Investment, Ownership Percentage",
        "terseLabel": "Ownership Interest"
       }
      }
     },
     "localname": "EquityMethodInvestmentOwnershipPercentage",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://nymtrust.com/role/InvestmentsInUnconsolidatedEntitiesDetails"
     ],
     "xbrltype": "percentItemType"
    },
    "us-gaap_EquityMethodInvestments": {
     "auth_ref": [
      "r22",
      "r141",
      "r184"
     ],
     "crdr": "debit",
     "lang": {
      "en-US": {
       "role": {
        "documentation": "This item represents the carrying amount on the entity's balance sheet of its investment in common stock of an equity method investee. This is not an indicator of the fair value of the investment, rather it is the initial cost adjusted for the entity's share of earnings and losses of the investee, adjusted for any distributions (dividends) and other than temporary impairment (OTTI) losses recognized.",
        "label": "Equity Method Investments",
        "netLabel": "Investment in unconsolidated entities, carrying value",
        "terseLabel": "Carrying Amount"
       }
      }
     },
     "localname": "EquityMethodInvestments",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://nymtrust.com/role/FairValueOfFinancialInstrumentsCarryingValueAndEstimatedFairValueOfCompanysFinancialAssetsDetails",
      "http://nymtrust.com/role/InvestmentsInUnconsolidatedEntitiesDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_EquityMethodInvestmentsAndJointVenturesAbstract": {
     "auth_ref": [],
     "lang": {
      "en-US": {
       "role": {
        "label": "Equity Method Investments and Joint Ventures [Abstract]"
       }
      }
     },
     "localname": "EquityMethodInvestmentsAndJointVenturesAbstract",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "xbrltype": "stringItemType"
    },
    "us-gaap_EquityMethodInvestmentsDisclosureTextBlock": {
     "auth_ref": [
      "r188",
      "r323"
     ],
     "lang": {
      "en-US": {
       "role": {
        "documentation": "The entire disclosure for equity method investments and joint ventures. Equity method investments are investments that give the investor the ability to exercise significant influence over the operating and financial policies of an investee. Joint ventures are entities owned and operated by a small group of businesses as a separate and specific business or project for the mutual benefit of the members of the group.",
        "label": "Equity Method Investments and Joint Ventures Disclosure [Text Block]",
        "terseLabel": "Investments in Unconsolidated Entities"
       }
      }
     },
     "localname": "EquityMethodInvestmentsDisclosureTextBlock",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://nymtrust.com/role/InvestmentsInUnconsolidatedEntities"
     ],
     "xbrltype": "textBlockItemType"
    },
    "us-gaap_EquityMethodInvestmentsFairValueDisclosure": {
     "auth_ref": [
      "r183"
     ],
     "calculation": {
      "http://nymtrust.com/role/FairValueOfFinancialInstrumentsAssetsAndLiabilitiesMeasuredAtFairValueOnRecurringBasisDetails": {
       "order": 1.0,
       "parentTag": "us-gaap_AssetsFairValueDisclosure",
       "weight": 1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Fair value portion of investments accounted under the equity method.",
        "label": "Equity Method Investments, Fair Value Disclosure",
        "netLabel": "Carrying Amount, fair value option",
        "terseLabel": "Investments in unconsolidated entities",
        "verboseLabel": "Investments in unconsolidated entities, estimated fair value"
       }
      }
     },
     "localname": "EquityMethodInvestmentsFairValueDisclosure",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://nymtrust.com/role/FairValueOfFinancialInstrumentsAssetsAndLiabilitiesMeasuredAtFairValueOnRecurringBasisDetails",
      "http://nymtrust.com/role/FairValueOfFinancialInstrumentsCarryingValueAndEstimatedFairValueOfCompanysFinancialAssetsDetails",
      "http://nymtrust.com/role/InvestmentsInUnconsolidatedEntitiesDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_EquityMethodInvestmentsMember": {
     "auth_ref": [
      "r182"
     ],
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Investment in the stock of an investee which is adjusted for the investor's share of the earnings or losses of the investee after the date of acquisition.",
        "label": "Equity Method Investments [Member]",
        "terseLabel": "Equity Method Investments",
        "verboseLabel": "Investment in unconsolidated entities"
       }
      }
     },
     "localname": "EquityMethodInvestmentsMember",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://nymtrust.com/role/FairValueOfFinancialInstrumentsChangesInUnrealizedGainsLossesIncludedInEarningsForLevel3AssetsAndLiabilitiesDetails",
      "http://nymtrust.com/role/InvestmentsInUnconsolidatedEntitiesDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_EquityMethodInvestmentsTextBlock": {
     "auth_ref": [
      "r187"
     ],
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Tabular disclosure of equity method investments including, but not limited to, name of each investee or group of investments, percentage ownership, difference between recorded amount of an investment and the value of the underlying equity in the net assets, and summarized financial information.",
        "label": "Equity Method Investments [Table Text Block]",
        "terseLabel": "Schedule of Investments in Unconsolidated Entities"
       }
      }
     },
     "localname": "EquityMethodInvestmentsTextBlock",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://nymtrust.com/role/InvestmentsInUnconsolidatedEntitiesTables"
     ],
     "xbrltype": "textBlockItemType"
    },
    "us-gaap_FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisLineItems": {
     "auth_ref": [],
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Line items represent financial concepts included in a table. These concepts are used to disclose reportable information associated with domain members defined in one or many axes to the table.",
        "label": "Fair Value, Assets and Liabilities Measured on Recurring and Nonrecurring Basis [Line Items]",
        "terseLabel": "Fair Value, Assets and Liabilities Measured on Recurring and Nonrecurring Basis [Line Items]"
       }
      }
     },
     "localname": "FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisLineItems",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://nymtrust.com/role/FairValueOfFinancialInstrumentsAssetsAndLiabilitiesMeasuredAtFairValueOnRecurringBasisDetails",
      "http://nymtrust.com/role/FairValueOfFinancialInstrumentsAssetsMeasuredAtFairValueOnNonrecurringBasisDetails",
      "http://nymtrust.com/role/FairValueOfFinancialInstrumentsChangesInUnrealizedGainsLossesIncludedInEarningsForLevel3AssetsAndLiabilitiesDetails",
      "http://nymtrust.com/role/FairValueOfFinancialInstrumentsGainsLossesIncurredForAssetsMeasuredAtFairValueDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisTable": {
     "auth_ref": [
      "r350",
      "r351",
      "r352",
      "r364"
     ],
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Disclosure of information about asset and liability measured at fair value on recurring and nonrecurring basis.",
        "label": "Fair Value, Recurring and Nonrecurring [Table]",
        "terseLabel": "Fair Value, Recurring and Nonrecurring [Table]"
       }
      }
     },
     "localname": "FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisTable",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://nymtrust.com/role/FairValueOfFinancialInstrumentsAssetsAndLiabilitiesMeasuredAtFairValueOnRecurringBasisDetails",
      "http://nymtrust.com/role/FairValueOfFinancialInstrumentsAssetsMeasuredAtFairValueOnNonrecurringBasisDetails",
      "http://nymtrust.com/role/FairValueOfFinancialInstrumentsChangesInUnrealizedGainsLossesIncludedInEarningsForLevel3AssetsAndLiabilitiesDetails",
      "http://nymtrust.com/role/FairValueOfFinancialInstrumentsGainsLossesIncurredForAssetsMeasuredAtFairValueDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_FairValueAssetsAndLiabilitiesMeasuredOnRecurringBasisGainLossIncludedInEarningsAbstract": {
     "auth_ref": [],
     "lang": {
      "en-US": {
       "role": {
        "label": "Fair Value, Assets and Liabilities Measured on Recurring Basis, Gain (Loss) Included in Earnings [Abstract]",
        "terseLabel": "Total gains/(losses) (realized/unrealized)",
        "verboseLabel": "Total losses (gains) (realized/unrealized)"
       }
      }
     },
     "localname": "FairValueAssetsAndLiabilitiesMeasuredOnRecurringBasisGainLossIncludedInEarningsAbstract",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://nymtrust.com/role/FairValueOfFinancialInstrumentsValuationForLevel3AssetsDetails",
      "http://nymtrust.com/role/FairValueOfFinancialInstrumentsValuationForLevel3LiabilitiesDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_FairValueAssetsAndLiabilitiesMeasuredOnRecurringBasisGainLossIncludedInEarningsTextBlock": {
     "auth_ref": [
      "r357",
      "r361"
     ],
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Tabular disclosure of the amount of gains or losses for the period included in earnings or resulted in a change to net assets, have arisen from the use of significant unobservable inputs (level 3) to measure the fair value of assets, liabilities, and financial instruments classified in shareholders' equity.",
        "label": "Fair Value, Measured on Recurring Basis, Gain (Loss) Included in Earnings [Table Text Block]",
        "terseLabel": "Schedule of Changes in Unrealized Gains (Losses) Included in Earnings for Level 3 Assets and Liabilities"
       }
      }
     },
     "localname": "FairValueAssetsAndLiabilitiesMeasuredOnRecurringBasisGainLossIncludedInEarningsTextBlock",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://nymtrust.com/role/FairValueOfFinancialInstrumentsTables"
     ],
     "xbrltype": "textBlockItemType"
    },
    "us-gaap_FairValueAssetsMeasuredOnNonrecurringBasisTextBlock": {
     "auth_ref": [
      "r350",
      "r351",
      "r353"
     ],
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Tabular disclosure of assets and liabilities by class, including financial instruments measured at fair value that are classified in shareholders' equity, if any, that are measured at fair value on a nonrecurring basis in periods after initial recognition (for example, impaired assets). Disclosures may include, but are not limited to: (a) the fair value measurements recorded and the reasons for the measurements and (b) the level within the fair value hierarchy in which the fair value measurements are categorized in their entirety (levels 1, 2, 3).",
        "label": "Fair Value Measurements, Nonrecurring [Table Text Block]",
        "terseLabel": "Schedule of Assets Measured at Fair Value on a Non-recurring Basis"
       }
      }
     },
     "localname": "FairValueAssetsMeasuredOnNonrecurringBasisTextBlock",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://nymtrust.com/role/FairValueOfFinancialInstrumentsTables"
     ],
     "xbrltype": "textBlockItemType"
    },
    "us-gaap_FairValueAssetsMeasuredOnRecurringBasisChangeInUnrealizedGainLoss": {
     "auth_ref": [
      "r361"
     ],
     "crdr": "credit",
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Amount of unrealized gain (loss) recognized in income from asset measured at fair value on recurring basis using unobservable input (level 3) and still held.",
        "label": "Fair Value, Asset, Recurring Basis, Still Held, Unrealized Gain (Loss)",
        "terseLabel": "Multi-family loans held in securitization trusts"
       }
      }
     },
     "localname": "FairValueAssetsMeasuredOnRecurringBasisChangeInUnrealizedGainLoss",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://nymtrust.com/role/FairValueOfFinancialInstrumentsChangesInUnrealizedGainsLossesIncludedInEarningsForLevel3AssetsAndLiabilitiesDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_FairValueAssetsMeasuredOnRecurringBasisUnobservableInputReconciliationByAssetClassDomain": {
     "auth_ref": [
      "r356"
     ],
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Class of asset.",
        "label": "Asset Class [Domain]",
        "terseLabel": "Asset Class [Domain]"
       }
      }
     },
     "localname": "FairValueAssetsMeasuredOnRecurringBasisUnobservableInputReconciliationByAssetClassDomain",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://nymtrust.com/role/FairValueOfFinancialInstrumentsCarryingValueAndEstimatedFairValueOfCompanysFinancialAssetsDetails",
      "http://nymtrust.com/role/FairValueOfFinancialInstrumentsGainsLossesIncurredForAssetsMeasuredAtFairValueDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_FairValueAssetsMeasuredOnRecurringBasisUnobservableInputReconciliationCalculationRollForward": {
     "auth_ref": [],
     "lang": {
      "en-US": {
       "role": {
        "documentation": "A roll forward is a reconciliation of a concept from the beginning of a period to the end of a period.",
        "label": "Fair Value, Assets Measured on Recurring Basis, Unobservable Input Reconciliation, Calculation [Roll Forward]",
        "terseLabel": "Fair Value, Assets Measured on Recurring Basis, Unobservable Input Reconciliation, Calculation [Roll Forward]"
       }
      }
     },
     "localname": "FairValueAssetsMeasuredOnRecurringBasisUnobservableInputReconciliationCalculationRollForward",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://nymtrust.com/role/FairValueOfFinancialInstrumentsValuationForLevel3AssetsDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_FairValueAssetsMeasuredOnRecurringBasisUnobservableInputReconciliationTextBlock": {
     "auth_ref": [
      "r356",
      "r364"
     ],
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Tabular disclosure of the fair value measurement of assets using significant unobservable inputs (Level 3), a reconciliation of the beginning and ending balances, separately presenting changes during the period attributable to the following: (1) total gains or losses for the period (realized and unrealized), segregating those gains or losses included in earnings (or changes in net assets) and gains or losses recognized in other comprehensive income (loss), and a description of where those gains or losses included in earnings (or changes in net assets) are reported in the statement of income (or activities); (2) purchases, sales, issues, and settlements (each type disclosed separately); and (3) transfers in and transfers out of Level 3 (for example, transfers due to changes in the observability of significant inputs), by class of asset.",
        "label": "Fair Value, Assets Measured on Recurring Basis, Unobservable Input Reconciliation [Table Text Block]",
        "terseLabel": "Schedule of Changes in Valuation of Level 3 Assets"
       }
      }
     },
     "localname": "FairValueAssetsMeasuredOnRecurringBasisUnobservableInputReconciliationTextBlock",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://nymtrust.com/role/FairValueOfFinancialInstrumentsTables"
     ],
     "xbrltype": "textBlockItemType"
    },
    "us-gaap_FairValueBalanceSheetGroupingFinancialStatementCaptionsLineItems": {
     "auth_ref": [],
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Line items represent financial concepts included in a table. These concepts are used to disclose reportable information associated with domain members defined in one or many axes to the table.",
        "label": "Fair Value, Balance Sheet Grouping, Financial Statement Captions [Line Items]",
        "terseLabel": "Fair Value, Balance Sheet Grouping, Financial Statement Captions [Line Items]"
       }
      }
     },
     "localname": "FairValueBalanceSheetGroupingFinancialStatementCaptionsLineItems",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://nymtrust.com/role/FairValueOfFinancialInstrumentsCarryingValueAndEstimatedFairValueOfCompanysFinancialAssetsDetails",
      "http://nymtrust.com/role/FairValueOfFinancialInstrumentsNarrativeDetails",
      "http://nymtrust.com/role/FairValueOfFinancialInstrumentsValuationForLevel3AssetsDetails",
      "http://nymtrust.com/role/FairValueOfFinancialInstrumentsValuationForLevel3LiabilitiesDetails",
      "http://nymtrust.com/role/UseOfSpecialPurposeEntitiesSpeAndVariableInterestEntitiesVieAssetsAndLiabilitiesOfConsolidatedViesDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_FairValueByAssetClassAxis": {
     "auth_ref": [
      "r350",
      "r364"
     ],
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Information by class of asset.",
        "label": "Asset Class [Axis]",
        "terseLabel": "Asset Class [Axis]"
       }
      }
     },
     "localname": "FairValueByAssetClassAxis",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://nymtrust.com/role/FairValueOfFinancialInstrumentsCarryingValueAndEstimatedFairValueOfCompanysFinancialAssetsDetails",
      "http://nymtrust.com/role/FairValueOfFinancialInstrumentsGainsLossesIncurredForAssetsMeasuredAtFairValueDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_FairValueByBalanceSheetGroupingTable": {
     "auth_ref": [
      "r350",
      "r367",
      "r368"
     ],
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Disclosure of information about the fair value of financial instruments, including financial assets and financial liabilities, and the measurements of those instruments, assets, and liabilities.",
        "label": "Fair Value, by Balance Sheet Grouping [Table]",
        "terseLabel": "Fair Value, by Balance Sheet Grouping [Table]"
       }
      }
     },
     "localname": "FairValueByBalanceSheetGroupingTable",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://nymtrust.com/role/FairValueOfFinancialInstrumentsCarryingValueAndEstimatedFairValueOfCompanysFinancialAssetsDetails",
      "http://nymtrust.com/role/FairValueOfFinancialInstrumentsNarrativeDetails",
      "http://nymtrust.com/role/FairValueOfFinancialInstrumentsValuationForLevel3AssetsDetails",
      "http://nymtrust.com/role/FairValueOfFinancialInstrumentsValuationForLevel3LiabilitiesDetails",
      "http://nymtrust.com/role/UseOfSpecialPurposeEntitiesSpeAndVariableInterestEntitiesVieAssetsAndLiabilitiesOfConsolidatedViesDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_FairValueByBalanceSheetGroupingTextBlock": {
     "auth_ref": [
      "r350",
      "r367"
     ],
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Tabular disclosure of the fair value of financial instruments, including financial assets and financial liabilities, and the measurements of those instruments, assets, and liabilities.",
        "label": "Fair Value, by Balance Sheet Grouping [Table Text Block]",
        "terseLabel": "Schedule of Assets and Liabilities of Consolidated VIE's",
        "verboseLabel": "Schedule of Carrying Value and Estimated Fair Value of Financial Instruments"
       }
      }
     },
     "localname": "FairValueByBalanceSheetGroupingTextBlock",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://nymtrust.com/role/FairValueOfFinancialInstrumentsTables",
      "http://nymtrust.com/role/UseOfSpecialPurposeEntitiesSpeAndVariableInterestEntitiesVieTables"
     ],
     "xbrltype": "textBlockItemType"
    },
    "us-gaap_FairValueByFairValueHierarchyLevelAxis": {
     "auth_ref": [
      "r255",
      "r256",
      "r257",
      "r351",
      "r387"
     ],
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Information by level within fair value hierarchy and fair value measured at net asset value per share as practical expedient.",
        "label": "Fair Value Hierarchy and NAV [Axis]",
        "terseLabel": "Fair Value Hierarchy and NAV [Axis]"
       }
      }
     },
     "localname": "FairValueByFairValueHierarchyLevelAxis",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://nymtrust.com/role/FairValueOfFinancialInstrumentsAssetsAndLiabilitiesMeasuredAtFairValueOnRecurringBasisDetails",
      "http://nymtrust.com/role/FairValueOfFinancialInstrumentsAssetsMeasuredAtFairValueOnNonrecurringBasisDetails",
      "http://nymtrust.com/role/FairValueOfFinancialInstrumentsCarryingValueAndEstimatedFairValueOfCompanysFinancialAssetsDetails",
      "http://nymtrust.com/role/FairValueOfFinancialInstrumentsChangesInUnrealizedGainsLossesIncludedInEarningsForLevel3AssetsAndLiabilitiesDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_FairValueByLiabilityClassAxis": {
     "auth_ref": [
      "r363",
      "r364"
     ],
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Information by class of liability.",
        "label": "Liability Class [Axis]",
        "terseLabel": "Liability Class [Axis]"
       }
      }
     },
     "localname": "FairValueByLiabilityClassAxis",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://nymtrust.com/role/CondensedConsolidatedBalanceSheets",
      "http://nymtrust.com/role/CondensedConsolidatedStatementsOfCashFlows",
      "http://nymtrust.com/role/FairValueOfFinancialInstrumentsCarryingValueAndEstimatedFairValueOfCompanysFinancialAssetsDetails",
      "http://nymtrust.com/role/UseOfSpecialPurposeEntitiesSpeAndVariableInterestEntitiesVieAssetsAndLiabilitiesOfConsolidatedViesDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_FairValueByMeasurementFrequencyAxis": {
     "auth_ref": [
      "r350",
      "r351",
      "r354",
      "r355",
      "r365"
     ],
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Information by measurement frequency.",
        "label": "Measurement Frequency [Axis]",
        "terseLabel": "Measurement Frequency [Axis]"
       }
      }
     },
     "localname": "FairValueByMeasurementFrequencyAxis",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://nymtrust.com/role/FairValueOfFinancialInstrumentsAssetsAndLiabilitiesMeasuredAtFairValueOnRecurringBasisDetails",
      "http://nymtrust.com/role/FairValueOfFinancialInstrumentsAssetsMeasuredAtFairValueOnNonrecurringBasisDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_FairValueDisclosuresAbstract": {
     "auth_ref": [],
     "lang": {
      "en-US": {
       "role": {
        "label": "Fair Value Disclosures [Abstract]"
       }
      }
     },
     "localname": "FairValueDisclosuresAbstract",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "xbrltype": "stringItemType"
    },
    "us-gaap_FairValueDisclosuresTextBlock": {
     "auth_ref": [
      "r363"
     ],
     "lang": {
      "en-US": {
       "role": {
        "documentation": "The entire disclosure for the fair value of financial instruments (as defined), including financial assets and financial liabilities (collectively, as defined), and the measurements of those instruments as well as disclosures related to the fair value of non-financial assets and liabilities. Such disclosures about the financial instruments, assets, and liabilities would include: (1) the fair value of the required items together with their carrying amounts (as appropriate); (2) for items for which it is not practicable to estimate fair value, disclosure would include: (a) information pertinent to estimating fair value (including, carrying amount, effective interest rate, and maturity, and (b) the reasons why it is not practicable to estimate fair value; (3) significant concentrations of credit risk including: (a) information about the activity, region, or economic characteristics identifying a concentration, (b) the maximum amount of loss the entity is exposed to based on the gross fair value of the related item, (c) policy for requiring collateral or other security and information as to accessing such collateral or security, and (d) the nature and brief description of such collateral or security; (4) quantitative information about market risks and how such risks are managed; (5) for items measured on both a recurring and nonrecurring basis information regarding the inputs used to develop the fair value measurement; and (6) for items presented in the financial statement for which fair value measurement is elected: (a) information necessary to understand the reasons for the election, (b) discussion of the effect of fair value changes on earnings, (c) a description of [similar groups] items for which the election is made and the relation thereof to the balance sheet, the aggregate carrying value of items included in the balance sheet that are not eligible for the election; (7) all other required (as defined) and desired information.",
        "label": "Fair Value Disclosures [Text Block]",
        "terseLabel": "Fair Value of Financial Instruments"
       }
      }
     },
     "localname": "FairValueDisclosuresTextBlock",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://nymtrust.com/role/FairValueOfFinancialInstruments"
     ],
     "xbrltype": "textBlockItemType"
    },
    "us-gaap_FairValueInputsLevel1Member": {
     "auth_ref": [
      "r255",
      "r256",
      "r257",
      "r351",
      "r388"
     ],
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Quoted prices in active markets for identical assets or liabilities that the reporting entity can access at the measurement date.",
        "label": "Fair Value, Inputs, Level 1 [Member]",
        "terseLabel": "Level 1"
       }
      }
     },
     "localname": "FairValueInputsLevel1Member",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://nymtrust.com/role/FairValueOfFinancialInstrumentsAssetsAndLiabilitiesMeasuredAtFairValueOnRecurringBasisDetails",
      "http://nymtrust.com/role/FairValueOfFinancialInstrumentsAssetsMeasuredAtFairValueOnNonrecurringBasisDetails",
      "http://nymtrust.com/role/FairValueOfFinancialInstrumentsCarryingValueAndEstimatedFairValueOfCompanysFinancialAssetsDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_FairValueInputsLevel2Member": {
     "auth_ref": [
      "r255",
      "r256",
      "r257",
      "r351",
      "r389"
     ],
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Inputs other than quoted prices included within level 1 that are observable for an asset or liability, either directly or indirectly, including, but not limited to, quoted prices for similar assets or liabilities in active markets, or quoted prices for identical or similar assets or liabilities in inactive markets.",
        "label": "Fair Value, Inputs, Level 2 [Member]",
        "terseLabel": "Level 2"
       }
      }
     },
     "localname": "FairValueInputsLevel2Member",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://nymtrust.com/role/FairValueOfFinancialInstrumentsAssetsAndLiabilitiesMeasuredAtFairValueOnRecurringBasisDetails",
      "http://nymtrust.com/role/FairValueOfFinancialInstrumentsAssetsMeasuredAtFairValueOnNonrecurringBasisDetails",
      "http://nymtrust.com/role/FairValueOfFinancialInstrumentsCarryingValueAndEstimatedFairValueOfCompanysFinancialAssetsDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_FairValueInputsLevel3Member": {
     "auth_ref": [
      "r255",
      "r256",
      "r257",
      "r351",
      "r390"
     ],
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Unobservable inputs that reflect the entity's own assumption about the assumptions market participants would use in pricing.",
        "label": "Fair Value, Inputs, Level 3 [Member]",
        "terseLabel": "Level 3"
       }
      }
     },
     "localname": "FairValueInputsLevel3Member",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://nymtrust.com/role/FairValueOfFinancialInstrumentsAssetsAndLiabilitiesMeasuredAtFairValueOnRecurringBasisDetails",
      "http://nymtrust.com/role/FairValueOfFinancialInstrumentsAssetsMeasuredAtFairValueOnNonrecurringBasisDetails",
      "http://nymtrust.com/role/FairValueOfFinancialInstrumentsCarryingValueAndEstimatedFairValueOfCompanysFinancialAssetsDetails",
      "http://nymtrust.com/role/FairValueOfFinancialInstrumentsChangesInUnrealizedGainsLossesIncludedInEarningsForLevel3AssetsAndLiabilitiesDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_FairValueLiabilitiesMeasuredOnRecurringBasisChangeInUnrealizedGainLoss": {
     "auth_ref": [
      "r361"
     ],
     "crdr": "credit",
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Amount of unrealized gain (loss) recognized in income from liability measured at fair value on recurring basis using unobservable input (level 3) and still held.",
        "label": "Fair Value, Liability, Recurring Basis, Still Held, Unrealized Gain (Loss)",
        "terseLabel": "Multi-family debt held in securitization trusts"
       }
      }
     },
     "localname": "FairValueLiabilitiesMeasuredOnRecurringBasisChangeInUnrealizedGainLoss",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://nymtrust.com/role/FairValueOfFinancialInstrumentsChangesInUnrealizedGainsLossesIncludedInEarningsForLevel3AssetsAndLiabilitiesDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_FairValueLiabilitiesMeasuredOnRecurringBasisSubordinatedDebtObligations": {
     "auth_ref": [
      "r350",
      "r351"
     ],
     "crdr": "credit",
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Fair value of subordinated debt obligations including, but not limited to, subordinated loan, subordinated bond, subordinated debenture or junior debt.",
        "label": "Subordinated Debt Obligations, Fair Value Disclosure",
        "terseLabel": "Subordinated debentures, estimated fair value"
       }
      }
     },
     "localname": "FairValueLiabilitiesMeasuredOnRecurringBasisSubordinatedDebtObligations",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://nymtrust.com/role/FairValueOfFinancialInstrumentsCarryingValueAndEstimatedFairValueOfCompanysFinancialAssetsDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_FairValueLiabilitiesMeasuredOnRecurringBasisUnobservableInputReconciliationByLiabilityClassDomain": {
     "auth_ref": [
      "r356"
     ],
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Represents classes of liabilities measured and disclosed at fair value.",
        "label": "Fair Value by Liability Class [Domain]",
        "terseLabel": "Fair Value by Liability Class [Domain]"
       }
      }
     },
     "localname": "FairValueLiabilitiesMeasuredOnRecurringBasisUnobservableInputReconciliationByLiabilityClassDomain",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://nymtrust.com/role/CondensedConsolidatedBalanceSheets",
      "http://nymtrust.com/role/CondensedConsolidatedStatementsOfCashFlows",
      "http://nymtrust.com/role/FairValueOfFinancialInstrumentsCarryingValueAndEstimatedFairValueOfCompanysFinancialAssetsDetails",
      "http://nymtrust.com/role/UseOfSpecialPurposeEntitiesSpeAndVariableInterestEntitiesVieAssetsAndLiabilitiesOfConsolidatedViesDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_FairValueLiabilitiesMeasuredOnRecurringBasisUnobservableInputReconciliationCalculationRollForward": {
     "auth_ref": [],
     "lang": {
      "en-US": {
       "role": {
        "documentation": "A roll forward is a reconciliation of a concept from the beginning of a period to the end of a period.",
        "label": "Fair Value, Liabilities Measured on Recurring Basis, Unobservable Input Reconciliation, Calculation [Roll Forward]",
        "terseLabel": "Fair Value, Liabilities Measured on Recurring Basis, Unobservable Input Reconciliation, Calculation [Roll Forward]"
       }
      }
     },
     "localname": "FairValueLiabilitiesMeasuredOnRecurringBasisUnobservableInputReconciliationCalculationRollForward",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://nymtrust.com/role/FairValueOfFinancialInstrumentsValuationForLevel3LiabilitiesDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_FairValueLiabilitiesMeasuredOnRecurringBasisUnobservableInputReconciliationTextBlock": {
     "auth_ref": [
      "r356",
      "r364"
     ],
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Tabular disclosure of the fair value measurement of liabilities using significant unobservable inputs (Level 3), a reconciliation of the beginning and ending balances, separately presenting changes attributable to the following: (1) total gains or losses for the period (realized and unrealized), segregating those gains or losses included in earnings (or changes in net assets), and gains or losses recognized in other comprehensive income (loss) and a description of where those gains or losses included in earnings (or changes in net assets) are reported in the statement of income (or activities); (2) purchases, sales, issues, and settlements (each type disclosed separately); and (3) transfers in and transfers out of Level 3 (for example, transfers due to changes in the observability of significant inputs) by class of liability.",
        "label": "Fair Value, Liabilities Measured on Recurring Basis, Unobservable Input Reconciliation [Table Text Block]",
        "terseLabel": "Schedule of Changes in Valuation of Level 3 Liabilities"
       }
      }
     },
     "localname": "FairValueLiabilitiesMeasuredOnRecurringBasisUnobservableInputReconciliationTextBlock",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://nymtrust.com/role/FairValueOfFinancialInstrumentsTables"
     ],
     "xbrltype": "textBlockItemType"
    },
    "us-gaap_FairValueMeasurementFrequencyDomain": {
     "auth_ref": [],
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Measurement frequency.",
        "label": "Measurement Frequency [Domain]",
        "terseLabel": "Measurement Frequency [Domain]"
       }
      }
     },
     "localname": "FairValueMeasurementFrequencyDomain",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://nymtrust.com/role/FairValueOfFinancialInstrumentsAssetsAndLiabilitiesMeasuredAtFairValueOnRecurringBasisDetails",
      "http://nymtrust.com/role/FairValueOfFinancialInstrumentsAssetsMeasuredAtFairValueOnNonrecurringBasisDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_FairValueMeasurementWithUnobservableInputsReconciliationRecurringBasisAssetGainLossIncludedInEarnings1": {
     "auth_ref": [
      "r357"
     ],
     "crdr": "credit",
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Amount of gain (loss) recognized in income from asset measured at fair value on recurring basis using unobservable input (level 3).",
        "label": "Fair Value, Measurement with Unobservable Inputs Reconciliation, Recurring Basis, Asset, Gain (Loss) Included in Earnings",
        "terseLabel": "Included in earnings"
       }
      }
     },
     "localname": "FairValueMeasurementWithUnobservableInputsReconciliationRecurringBasisAssetGainLossIncludedInEarnings1",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://nymtrust.com/role/FairValueOfFinancialInstrumentsValuationForLevel3AssetsDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_FairValueMeasurementWithUnobservableInputsReconciliationRecurringBasisAssetGainLossIncludedInOtherComprehensiveIncomeLoss": {
     "auth_ref": [
      "r358"
     ],
     "crdr": "credit",
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Amount of gain (loss) recognized in other comprehensive income (OCI) from asset measured at fair value on recurring basis using unobservable input (level 3).",
        "label": "Fair Value, Measurement with Unobservable Inputs Reconciliation, Recurring Basis, Asset, Gain (Loss) Included in Other Comprehensive Income (Loss)",
        "terseLabel": "Included in other comprehensive income (loss)"
       }
      }
     },
     "localname": "FairValueMeasurementWithUnobservableInputsReconciliationRecurringBasisAssetGainLossIncludedInOtherComprehensiveIncomeLoss",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://nymtrust.com/role/FairValueOfFinancialInstrumentsValuationForLevel3AssetsDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_FairValueMeasurementWithUnobservableInputsReconciliationRecurringBasisAssetPurchases": {
     "auth_ref": [
      "r359"
     ],
     "crdr": "debit",
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Amount of purchases of financial instrument classified as an asset measured using unobservable inputs that reflect the entity's own assumption about the assumptions market participants would use in pricing.",
        "label": "Fair Value, Measurement with Unobservable Inputs Reconciliation, Recurring Basis, Asset, Purchases",
        "terseLabel": "Purchases"
       }
      }
     },
     "localname": "FairValueMeasurementWithUnobservableInputsReconciliationRecurringBasisAssetPurchases",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://nymtrust.com/role/FairValueOfFinancialInstrumentsValuationForLevel3AssetsDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_FairValueMeasurementWithUnobservableInputsReconciliationRecurringBasisAssetSales": {
     "auth_ref": [
      "r359"
     ],
     "crdr": "credit",
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Amount of sale of financial instrument classified as an asset measured using unobservable inputs that reflect the entity's own assumption about the assumptions market participants would use in pricing.",
        "label": "Fair Value, Measurement with Unobservable Inputs Reconciliation, Recurring Basis, Asset, Sales",
        "negatedLabel": "Sales"
       }
      }
     },
     "localname": "FairValueMeasurementWithUnobservableInputsReconciliationRecurringBasisAssetSales",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://nymtrust.com/role/FairValueOfFinancialInstrumentsValuationForLevel3AssetsDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_FairValueMeasurementWithUnobservableInputsReconciliationRecurringBasisAssetSettlements": {
     "auth_ref": [
      "r359"
     ],
     "crdr": "credit",
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Amount of settlement of financial instrument classified as an asset measured using unobservable inputs that reflect the entity's own assumption about the assumptions market participants would use in pricing.",
        "label": "Fair Value, Measurement with Unobservable Inputs Reconciliation, Recurring Basis, Asset, Settlements",
        "negatedLabel": "Paydowns/Distributions"
       }
      }
     },
     "localname": "FairValueMeasurementWithUnobservableInputsReconciliationRecurringBasisAssetSettlements",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://nymtrust.com/role/FairValueOfFinancialInstrumentsValuationForLevel3AssetsDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_FairValueMeasurementWithUnobservableInputsReconciliationRecurringBasisAssetTransfersIntoLevel3": {
     "auth_ref": [
      "r360"
     ],
     "crdr": "debit",
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Amount of transfer of financial instrument classified as an asset into level 3 of the fair value hierarchy.",
        "label": "Fair Value, Measurement with Unobservable Inputs Reconciliation, Recurring Basis, Asset Transfers Into Level 3",
        "terseLabel": "Transfers in"
       }
      }
     },
     "localname": "FairValueMeasurementWithUnobservableInputsReconciliationRecurringBasisAssetTransfersIntoLevel3",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://nymtrust.com/role/FairValueOfFinancialInstrumentsValuationForLevel3AssetsDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_FairValueMeasurementWithUnobservableInputsReconciliationRecurringBasisAssetTransfersOutOfLevel3": {
     "auth_ref": [
      "r360"
     ],
     "crdr": "credit",
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Amount of transfers of financial instrument classified as an asset out of level 3 of the fair value hierarchy.",
        "label": "Fair Value, Measurement with Unobservable Inputs Reconciliation, Recurring Basis, Asset, Transfers out of Level 3",
        "negatedLabel": "Transfers out"
       }
      }
     },
     "localname": "FairValueMeasurementWithUnobservableInputsReconciliationRecurringBasisAssetTransfersOutOfLevel3",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://nymtrust.com/role/FairValueOfFinancialInstrumentsValuationForLevel3AssetsDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_FairValueMeasurementWithUnobservableInputsReconciliationRecurringBasisAssetValue": {
     "auth_ref": [
      "r356"
     ],
     "crdr": "debit",
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Fair value of financial instrument classified as an asset measured using unobservable inputs that reflect the entity's own assumption about the assumptions market participants would use in pricing.",
        "label": "Fair Value, Measurement with Unobservable Inputs Reconciliation, Recurring Basis, Asset Value",
        "periodEndLabel": "Balance at the end of period",
        "periodStartLabel": "Balance at beginning of period"
       }
      }
     },
     "localname": "FairValueMeasurementWithUnobservableInputsReconciliationRecurringBasisAssetValue",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://nymtrust.com/role/FairValueOfFinancialInstrumentsValuationForLevel3AssetsDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_FairValueMeasurementWithUnobservableInputsReconciliationRecurringBasisLiabilityGainLossIncludedInEarnings": {
     "auth_ref": [
      "r357"
     ],
     "crdr": "credit",
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Amount of gain (loss) recognized in income from liability measured at fair value on recurring basis using unobservable input (level 3).",
        "label": "Fair Value, Measurement with Unobservable Inputs Reconciliation, Recurring Basis, Liability, Gain (Loss) Included in Earnings",
        "terseLabel": "Included in earnings"
       }
      }
     },
     "localname": "FairValueMeasurementWithUnobservableInputsReconciliationRecurringBasisLiabilityGainLossIncludedInEarnings",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://nymtrust.com/role/FairValueOfFinancialInstrumentsValuationForLevel3LiabilitiesDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_FairValueMeasurementWithUnobservableInputsReconciliationRecurringBasisLiabilityPurchases": {
     "auth_ref": [
      "r359"
     ],
     "crdr": "credit",
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Amount of purchases of financial instrument classified as a liability measured using unobservable inputs that reflect the entity's own assumption about the assumptions market participants would use in pricing.",
        "label": "Fair Value, Measurement with Unobservable Inputs Reconciliation, Recurring Basis, Liability, Purchases",
        "terseLabel": "Purchases"
       }
      }
     },
     "localname": "FairValueMeasurementWithUnobservableInputsReconciliationRecurringBasisLiabilityPurchases",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://nymtrust.com/role/FairValueOfFinancialInstrumentsValuationForLevel3LiabilitiesDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_FairValueMeasurementWithUnobservableInputsReconciliationRecurringBasisLiabilitySettlements": {
     "auth_ref": [
      "r359"
     ],
     "crdr": "debit",
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Amount of settlements of financial instrument classified as a liability measured using unobservable inputs that reflect the entity's own assumption about the assumptions market participants would use in pricing.",
        "label": "Fair Value, Measurement with Unobservable Inputs Reconciliation, Recurring Basis, Liability, Settlements",
        "negatedLabel": "Paydowns"
       }
      }
     },
     "localname": "FairValueMeasurementWithUnobservableInputsReconciliationRecurringBasisLiabilitySettlements",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://nymtrust.com/role/FairValueOfFinancialInstrumentsValuationForLevel3LiabilitiesDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_FairValueMeasurementWithUnobservableInputsReconciliationsRecurringBasisLiabilityValue": {
     "auth_ref": [
      "r356"
     ],
     "crdr": "credit",
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Fair value of financial instrument classified as a liability measured using unobservable inputs that reflect the entity's own assumption about the assumptions market participants would use in pricing.",
        "label": "Fair Value, Measurement with Unobservable Inputs Reconciliation, Recurring Basis, Liability Value",
        "periodEndLabel": "Balance at the end of period",
        "periodStartLabel": "Balance at beginning of period"
       }
      }
     },
     "localname": "FairValueMeasurementWithUnobservableInputsReconciliationsRecurringBasisLiabilityValue",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://nymtrust.com/role/FairValueOfFinancialInstrumentsValuationForLevel3LiabilitiesDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_FairValueMeasurementsFairValueHierarchyDomain": {
     "auth_ref": [],
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Categories used to prioritize the inputs to valuation techniques to measure fair value.",
        "label": "Fair Value Hierarchy and NAV [Domain]",
        "terseLabel": "Fair Value Hierarchy and NAV [Domain]"
       }
      }
     },
     "localname": "FairValueMeasurementsFairValueHierarchyDomain",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://nymtrust.com/role/FairValueOfFinancialInstrumentsAssetsAndLiabilitiesMeasuredAtFairValueOnRecurringBasisDetails",
      "http://nymtrust.com/role/FairValueOfFinancialInstrumentsAssetsMeasuredAtFairValueOnNonrecurringBasisDetails",
      "http://nymtrust.com/role/FairValueOfFinancialInstrumentsCarryingValueAndEstimatedFairValueOfCompanysFinancialAssetsDetails",
      "http://nymtrust.com/role/FairValueOfFinancialInstrumentsChangesInUnrealizedGainsLossesIncludedInEarningsForLevel3AssetsAndLiabilitiesDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_FairValueMeasurementsNonrecurringMember": {
     "auth_ref": [
      "r350",
      "r351",
      "r354",
      "r355",
      "r362",
      "r365"
     ],
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Infrequent fair value measurement. Includes, but is not limited to, fair value adjustment for impairment of asset, liability or equity, not frequently measured at fair value.",
        "label": "Fair Value, Nonrecurring [Member]",
        "terseLabel": "Fair Value, Measurements, Nonrecurring"
       }
      }
     },
     "localname": "FairValueMeasurementsNonrecurringMember",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://nymtrust.com/role/FairValueOfFinancialInstrumentsAssetsMeasuredAtFairValueOnNonrecurringBasisDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_FairValueMeasurementsRecurringMember": {
     "auth_ref": [
      "r363",
      "r365"
     ],
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Frequent fair value measurement. Includes, but is not limited to, fair value adjustment for impairment of asset, liability or equity, frequently measured at fair value.",
        "label": "Fair Value, Recurring [Member]",
        "terseLabel": "Fair Value, Measurements, Recurring"
       }
      }
     },
     "localname": "FairValueMeasurementsRecurringMember",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://nymtrust.com/role/FairValueOfFinancialInstrumentsAssetsAndLiabilitiesMeasuredAtFairValueOnRecurringBasisDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_FairValueOptionChangesInFairValueGainLoss1": {
     "auth_ref": [
      "r372"
     ],
     "crdr": "credit",
     "lang": {
      "en-US": {
       "role": {
        "documentation": "For each line item in the statement of financial position, the amounts of gains and losses from fair value changes included in earnings.",
        "label": "Fair Value, Option, Changes in Fair Value, Gain (Loss)",
        "verboseLabel": "Income from investments in unconsolidated entities"
       }
      }
     },
     "localname": "FairValueOptionChangesInFairValueGainLoss1",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://nymtrust.com/role/InvestmentsInUnconsolidatedEntitiesDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_FairValueOptionCreditRiskGainsLossesOnAssets": {
     "auth_ref": [
      "r373"
     ],
     "crdr": "credit",
     "lang": {
      "en-US": {
       "role": {
        "documentation": "This item represents the estimated amount of gains or losses included in earnings during the period attributable to changes in instrument-specific credit risk arising from loans and other receivables held as assets.",
        "label": "Fair Value, Option, Credit Risk, Gains (Losses) on Assets",
        "terseLabel": "Gains (losses) for assets measured at fair value on a non-recurring basis"
       }
      }
     },
     "localname": "FairValueOptionCreditRiskGainsLossesOnAssets",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://nymtrust.com/role/FairValueOfFinancialInstrumentsGainsLossesIncurredForAssetsMeasuredAtFairValueDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_FinancialAssetAcquiredWithCreditDeteriorationMember": {
     "auth_ref": [
      "r160"
     ],
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Financial asset acquired with deteriorated credit quality.",
        "label": "Financial Asset Acquired with Credit Deterioration [Member]",
        "terseLabel": "Financial Asset Acquired with Credit Deterioration"
       }
      }
     },
     "localname": "FinancialAssetAcquiredWithCreditDeteriorationMember",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://nymtrust.com/role/DistressedAndOtherResidentialMortgageLoansNetNarrativeDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_FinancialInstrumentAxis": {
     "auth_ref": [
      "r191",
      "r195",
      "r196",
      "r197",
      "r199",
      "r207",
      "r209",
      "r210",
      "r211"
     ],
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Information by type of financial instrument.",
        "label": "Financial Instrument [Axis]",
        "terseLabel": "Financial Instrument [Axis]"
       }
      }
     },
     "localname": "FinancialInstrumentAxis",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://nymtrust.com/role/CommitmentsAndContingenciesCommitmentsDetails",
      "http://nymtrust.com/role/DistressedAndOtherResidentialMortgageLoansNetNarrativeDetails",
      "http://nymtrust.com/role/FairValueOfFinancialInstrumentsAssetsAndLiabilitiesMeasuredAtFairValueOnRecurringBasisDetails",
      "http://nymtrust.com/role/FairValueOfFinancialInstrumentsChangesInUnrealizedGainsLossesIncludedInEarningsForLevel3AssetsAndLiabilitiesDetails",
      "http://nymtrust.com/role/FairValueOfFinancialInstrumentsNarrativeDetails",
      "http://nymtrust.com/role/FairValueOfFinancialInstrumentsValuationForLevel3AssetsDetails",
      "http://nymtrust.com/role/FairValueOfFinancialInstrumentsValuationForLevel3LiabilitiesDetails",
      "http://nymtrust.com/role/InvestmentSecuritiesAvailableForSaleScheduleOfAvailableForSaleSecuritiesDetails",
      "http://nymtrust.com/role/InvestmentsInUnconsolidatedEntitiesDetails",
      "http://nymtrust.com/role/RepurchaseAgreementsAssetsPledgedAsCollateralDetails",
      "http://nymtrust.com/role/RepurchaseAgreementsBorrowingsUnderFinancingArrangementsAndAssociatedAssetsPledgedAsCollateralDetails",
      "http://nymtrust.com/role/RepurchaseAgreementsNarrativeDetails",
      "http://nymtrust.com/role/UseOfSpecialPurposeEntitiesSpeAndVariableInterestEntitiesVieAssetsAndLiabilitiesOfConsolidatedViesDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_FinancialInstrumentsDisclosureTextBlock": {
     "auth_ref": [],
     "lang": {
      "en-US": {
       "role": {
        "documentation": "The entire disclosure for financial instruments. This disclosure includes, but is not limited to, fair value measurements of short and long term marketable securities, international currencies forward contracts, and auction rate securities. Financial instruments may include hedging and non-hedging currency exchange instruments, derivatives, securitizations and securities available for sale at fair value. Also included are investment results, realized and unrealized gains and losses as well as impairments and risk management disclosures.",
        "label": "Financial Instruments Disclosure [Text Block]",
        "terseLabel": "Consolidated K-Series"
       }
      }
     },
     "localname": "FinancialInstrumentsDisclosureTextBlock",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://nymtrust.com/role/ConsolidatedKSeries"
     ],
     "xbrltype": "textBlockItemType"
    },
    "us-gaap_FinancialInstrumentsFinancialAssetsBalanceSheetGroupingsAbstract": {
     "auth_ref": [],
     "lang": {
      "en-US": {
       "role": {
        "label": "Financial Instruments, Financial Assets, Balance Sheet Groupings [Abstract]",
        "terseLabel": "Financial Assets:"
       }
      }
     },
     "localname": "FinancialInstrumentsFinancialAssetsBalanceSheetGroupingsAbstract",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://nymtrust.com/role/FairValueOfFinancialInstrumentsCarryingValueAndEstimatedFairValueOfCompanysFinancialAssetsDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_FinancialInstrumentsFinancialLiabilitiesBalanceSheetGroupingsAbstract": {
     "auth_ref": [],
     "lang": {
      "en-US": {
       "role": {
        "label": "Financial Instruments, Financial Liabilities, Balance Sheet Groupings [Abstract]",
        "terseLabel": "Financial Liabilities"
       }
      }
     },
     "localname": "FinancialInstrumentsFinancialLiabilitiesBalanceSheetGroupingsAbstract",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://nymtrust.com/role/FairValueOfFinancialInstrumentsCarryingValueAndEstimatedFairValueOfCompanysFinancialAssetsDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_FinancialInstrumentsOwnedAndPledgedAsCollateralLineItems": {
     "auth_ref": [],
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Line items represent financial concepts included in a table. These concepts are used to disclose reportable information associated with domain members defined in one or many axes to the table.",
        "label": "Financial Instruments Owned and Pledged as Collateral [Line Items]",
        "terseLabel": "Financial Instruments Owned and Pledged as Collateral [Line Items]"
       }
      }
     },
     "localname": "FinancialInstrumentsOwnedAndPledgedAsCollateralLineItems",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://nymtrust.com/role/RepurchaseAgreementsAssetsPledgedAsCollateralDetails",
      "http://nymtrust.com/role/RepurchaseAgreementsNarrativeDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_FinancialInstrumentsOwnedAndPledgedAsCollateralTable": {
     "auth_ref": [
      "r394",
      "r396"
     ],
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Financial instruments held by a broker-dealer for its own account (proprietary securities) for trading or investment purposes that are carried at fair value and pledged to counterparties as collateral for financing transactions. Description may include equity, fixed income, debt or other securities.",
        "label": "Financial Instruments Owned and Pledged as Collateral [Table]",
        "terseLabel": "Financial Instruments Owned and Pledged as Collateral [Table]"
       }
      }
     },
     "localname": "FinancialInstrumentsOwnedAndPledgedAsCollateralTable",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://nymtrust.com/role/RepurchaseAgreementsAssetsPledgedAsCollateralDetails",
      "http://nymtrust.com/role/RepurchaseAgreementsNarrativeDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_FinancialInstrumentsOwnedMortgagesMortgageBackedAndAssetBackedSecuritiesAtFairValue": {
     "auth_ref": [
      "r402"
     ],
     "calculation": {
      "http://nymtrust.com/role/CondensedConsolidatedBalanceSheets": {
       "order": 2.0,
       "parentTag": "us-gaap_Assets",
       "weight": 1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-US": {
       "role": {
        "documentation": "The fair value as of the balance sheet date of firm holdings in mortgages, mortgage backed securities (investment instruments that represent ownership of an undivided interest in a group of mortgages, where principal and interest from the individual mortgages are used to pay investors' principal and interest on the mortgage backed security) and asset-backed securities that are primarily paid from the cash flows of a discrete pool of receivables or other financial assets (such as credit-card receivables), either fixed or revolving, that by their terms convert into cash within a finite time period. Includes both pledged (to counterparties as collateral for financing transactions) and unpledged holdings.",
        "label": "Financial Instruments, Owned, Mortgages, Mortgage-backed and Asset-backed Securities, at Fair Value",
        "netLabel": "Residential mortgage loans, carrying value",
        "terseLabel": "Residential mortgage loans held in securitization trusts, net",
        "verboseLabel": "Residential mortgage loans, net"
       }
      }
     },
     "localname": "FinancialInstrumentsOwnedMortgagesMortgageBackedAndAssetBackedSecuritiesAtFairValue",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://nymtrust.com/role/CondensedConsolidatedBalanceSheets",
      "http://nymtrust.com/role/FairValueOfFinancialInstrumentsCarryingValueAndEstimatedFairValueOfCompanysFinancialAssetsDetails",
      "http://nymtrust.com/role/UseOfSpecialPurposeEntitiesSpeAndVariableInterestEntitiesVieAssetsAndLiabilitiesOfConsolidatedViesDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_FinancialInstrumentsOwnedOtherAtFairValue": {
     "auth_ref": [
      "r402"
     ],
     "calculation": {
      "http://nymtrust.com/role/CondensedConsolidatedBalanceSheets": {
       "order": 5.0,
       "parentTag": "us-gaap_Assets",
       "weight": 1.0
      },
      "http://nymtrust.com/role/ConsolidatedKSeriesCondensedBalanceSheetOfConsolidatedKSeriesDetails": {
       "order": 1.0,
       "parentTag": "us-gaap_Assets",
       "weight": 1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Fair value of firm holdings in securities classified as other. Includes pledged and unpledged holdings.",
        "label": "Financial Instruments, Owned, Other, at Fair Value",
        "terseLabel": "Multi-family loans held in securitization trusts, at fair value",
        "verboseLabel": "Multi-family loans held in securitization trusts, at fair value"
       }
      }
     },
     "localname": "FinancialInstrumentsOwnedOtherAtFairValue",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://nymtrust.com/role/CondensedConsolidatedBalanceSheets",
      "http://nymtrust.com/role/ConsolidatedKSeriesCondensedBalanceSheetOfConsolidatedKSeriesDetails",
      "http://nymtrust.com/role/UseOfSpecialPurposeEntitiesSpeAndVariableInterestEntitiesVieAssetsAndLiabilitiesOfConsolidatedViesDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_FinancingReceivableAllowanceForCreditLosses": {
     "auth_ref": [
      "r146",
      "r189",
      "r192",
      "r194",
      "r413"
     ],
     "crdr": "credit",
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Amount of allowance for credit loss on financing receivable. Excludes allowance for financing receivable covered under loss sharing agreement.",
        "label": "Financing Receivable, Allowance for Credit Loss",
        "periodEndLabel": "Balance at the end of period",
        "periodStartLabel": "Balance at beginning of period",
        "terseLabel": "Allowance for loan losses"
       }
      }
     },
     "localname": "FinancingReceivableAllowanceForCreditLosses",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://nymtrust.com/role/DistressedAndOtherResidentialMortgageLoansNetAllowanceForLoanLossesOnResidentialMortgageLoansHeldInSecuritizationTrustsDetails",
      "http://nymtrust.com/role/DistressedAndOtherResidentialMortgageLoansNetNarrativeDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_FinancingReceivableAllowanceForCreditLossesWriteOffs": {
     "auth_ref": [
      "r148",
      "r193",
      "r201",
      "r413"
     ],
     "crdr": "debit",
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Amount of writeoff of financing receivable, charged against allowance for credit loss.",
        "label": "Financing Receivable, Allowance for Credit Loss, Writeoff",
        "negatedLabel": "Charge-offs"
       }
      }
     },
     "localname": "FinancingReceivableAllowanceForCreditLossesWriteOffs",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://nymtrust.com/role/DistressedAndOtherResidentialMortgageLoansNetAllowanceForLoanLossesOnResidentialMortgageLoansHeldInSecuritizationTrustsDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_FinancingReceivableReclassificationToHeldForSale": {
     "auth_ref": [
      "r150",
      "r190"
     ],
     "crdr": "credit",
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Amount of financing receivable reclassified to held-for-sale.",
        "label": "Financing Receivable, Reclassification to Held-for-sale",
        "negatedLabel": "Transfer to real estate owned"
       }
      }
     },
     "localname": "FinancingReceivableReclassificationToHeldForSale",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://nymtrust.com/role/DistressedAndOtherResidentialMortgageLoansNetAllowanceForLoanLossesOnResidentialMortgageLoansHeldInSecuritizationTrustsDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_FinancingReceivableRecordedInvestmentPastDue": {
     "auth_ref": [
      "r154",
      "r196",
      "r202"
     ],
     "crdr": "debit",
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Amount of financing receivable past due.",
        "label": "Financing Receivable, Past Due",
        "terseLabel": "Total Unpaid Principal"
       }
      }
     },
     "localname": "FinancingReceivableRecordedInvestmentPastDue",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://nymtrust.com/role/DistressedAndOtherResidentialMortgageLoansNetDelinquenciesInPortfolioOfResidentialMortgageLoansHeldInSecuritizationTrustsDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_FinancingReceivableRecordedInvestmentPastDueLineItems": {
     "auth_ref": [],
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Line items represent financial concepts included in a table. These concepts are used to disclose reportable information associated with domain members defined in one or many axes to the table.",
        "label": "Financing Receivable, Past Due [Line Items]",
        "terseLabel": "Financing Receivable, Past Due [Line Items]"
       }
      }
     },
     "localname": "FinancingReceivableRecordedInvestmentPastDueLineItems",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://nymtrust.com/role/DistressedAndOtherResidentialMortgageLoansNetDelinquenciesInPortfolioOfResidentialMortgageLoansHeldInSecuritizationTrustsDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_FinancingReceivablesEqualToGreaterThan90DaysPastDueMember": {
     "auth_ref": [
      "r202"
     ],
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Financial asset equal to or greater than 90 days past due.",
        "label": "Financial Asset, Equal to or Greater than 90 Days Past Due [Member]",
        "terseLabel": "90",
        "verboseLabel": "90 days past due"
       }
      }
     },
     "localname": "FinancingReceivablesEqualToGreaterThan90DaysPastDueMember",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://nymtrust.com/role/DistressedAndOtherResidentialMortgageLoansAtFairValueDifferencesBetweenFairValueAndAggregateUnpaidPrincipalDetails",
      "http://nymtrust.com/role/DistressedAndOtherResidentialMortgageLoansNetDelinquenciesInPortfolioOfResidentialMortgageLoansHeldInSecuritizationTrustsDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_FinancingReceivablesPeriodPastDueAxis": {
     "auth_ref": [
      "r196",
      "r202"
     ],
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Information by time period financial asset is past due.",
        "label": "Financial Asset, Period Past Due [Axis]",
        "terseLabel": "Financial Asset, Period Past Due [Axis]"
       }
      }
     },
     "localname": "FinancingReceivablesPeriodPastDueAxis",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://nymtrust.com/role/DistressedAndOtherResidentialMortgageLoansAtFairValueDifferencesBetweenFairValueAndAggregateUnpaidPrincipalDetails",
      "http://nymtrust.com/role/DistressedAndOtherResidentialMortgageLoansNetDelinquenciesInPortfolioOfResidentialMortgageLoansHeldInSecuritizationTrustsDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_FinancingReceivablesPeriodPastDueDomain": {
     "auth_ref": [],
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Period in which financial asset is past due. Element name and standard label in Financial Asset, [numeric lower end] to [numeric higher end] [date measure] Past Due [Member] or Financial Asset, Greater Than [low end numeric value] [date measure] Past Due [Member] or Financial Asset, Less Than [high end numeric value] [date measure] Past Due [Member] formats.",
        "label": "Financial Asset, Period Past Due [Domain]",
        "terseLabel": "Financial Asset, Period Past Due [Domain]"
       }
      }
     },
     "localname": "FinancingReceivablesPeriodPastDueDomain",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://nymtrust.com/role/DistressedAndOtherResidentialMortgageLoansAtFairValueDifferencesBetweenFairValueAndAggregateUnpaidPrincipalDetails",
      "http://nymtrust.com/role/DistressedAndOtherResidentialMortgageLoansNetDelinquenciesInPortfolioOfResidentialMortgageLoansHeldInSecuritizationTrustsDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_FiniteLivedIntangibleAssetsAccumulatedAmortization": {
     "auth_ref": [
      "r215"
     ],
     "calculation": {
      "http://nymtrust.com/role/RealEstateHeldForSaleInConsolidatedViesDetails": {
       "order": 3.0,
       "parentTag": "us-gaap_RealEstateInvestmentPropertyNet",
       "weight": -1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Accumulated amount of amortization of assets, excluding financial assets and goodwill, lacking physical substance with a finite life.",
        "label": "Finite-Lived Intangible Assets, Accumulated Amortization",
        "negatedLabel": "Accumulated amortization of lease intangible"
       }
      }
     },
     "localname": "FiniteLivedIntangibleAssetsAccumulatedAmortization",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://nymtrust.com/role/RealEstateHeldForSaleInConsolidatedViesDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_FiniteLivedIntangibleAssetsGross": {
     "auth_ref": [
      "r215",
      "r401"
     ],
     "calculation": {
      "http://nymtrust.com/role/RealEstateHeldForSaleInConsolidatedViesDetails": {
       "order": 4.0,
       "parentTag": "us-gaap_RealEstateHeldforsale",
       "weight": 1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Amount before amortization of assets, excluding financial assets and goodwill, lacking physical substance with a finite life.",
        "label": "Finite-Lived Intangible Assets, Gross",
        "terseLabel": "Lease intangible"
       }
      }
     },
     "localname": "FiniteLivedIntangibleAssetsGross",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://nymtrust.com/role/RealEstateHeldForSaleInConsolidatedViesDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_FixturesAndEquipmentGross": {
     "auth_ref": [],
     "calculation": {
      "http://nymtrust.com/role/RealEstateHeldForSaleInConsolidatedViesDetails": {
       "order": 3.0,
       "parentTag": "us-gaap_RealEstateHeldforsale",
       "weight": 1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Amount before accumulated depreciation of fixtures and equipment. Includes, but is not limited to, machinery, equipment, and engines.",
        "label": "Fixtures and Equipment, Gross",
        "terseLabel": "Furniture, fixtures and equipment"
       }
      }
     },
     "localname": "FixturesAndEquipmentGross",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://nymtrust.com/role/RealEstateHeldForSaleInConsolidatedViesDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_GainLossOnSaleOfProperties": {
     "auth_ref": [
      "r86",
      "r217",
      "r220"
     ],
     "calculation": {
      "http://nymtrust.com/role/CondensedConsolidatedStatementsOfCashFlows": {
       "order": 5.0,
       "parentTag": "us-gaap_NetCashProvidedByUsedInOperatingActivities",
       "weight": -1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-US": {
       "role": {
        "documentation": "The difference between the carrying value and the sale price of real estate or properties that were intended to be sold or held for capital appreciation or rental income. This element refers to the gain (loss) included in earnings and not to the cash proceeds of the sale. This element is a noncash adjustment to net income when calculating net cash generated by operating activities using the indirect method.",
        "label": "Gain (Loss) on Sale of Properties",
        "negatedTerseLabel": "Gain on sale of real estate held for sale in consolidated variable interest entities"
       }
      }
     },
     "localname": "GainLossOnSaleOfProperties",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://nymtrust.com/role/CondensedConsolidatedStatementsOfCashFlows"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_GainsLossesOnExtinguishmentOfDebt": {
     "auth_ref": [
      "r86",
      "r233",
      "r234"
     ],
     "calculation": {
      "http://nymtrust.com/role/CondensedConsolidatedStatementsOfCashFlows": {
       "order": 7.0,
       "parentTag": "us-gaap_NetCashProvidedByUsedInOperatingActivities",
       "weight": -1.0
      },
      "http://nymtrust.com/role/CondensedConsolidatedStatementsOfOperations": {
       "order": 5.0,
       "parentTag": "us-gaap_NoninterestIncome",
       "weight": 1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Difference between the fair value of payments made and the carrying amount of debt which is extinguished prior to maturity.",
        "label": "Gain (Loss) on Extinguishment of Debt",
        "negatedLabel": "Loss on extinguishment of debt",
        "terseLabel": "Loss on extinguishment of debt"
       }
      }
     },
     "localname": "GainsLossesOnExtinguishmentOfDebt",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://nymtrust.com/role/CondensedConsolidatedStatementsOfCashFlows",
      "http://nymtrust.com/role/CondensedConsolidatedStatementsOfOperations",
      "http://nymtrust.com/role/UseOfSpecialPurposeEntitiesSpeAndVariableInterestEntitiesVieNarrativeDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_GainsLossesOnSalesOfInvestmentRealEstate": {
     "auth_ref": [
      "r60",
      "r61",
      "r86",
      "r419",
      "r458",
      "r461",
      "r462",
      "r463"
     ],
     "crdr": "credit",
     "lang": {
      "en-US": {
       "role": {
        "documentation": "The net gain (loss) resulting from sales and other disposals of real estate owned for investment purposes.",
        "label": "Gains (Losses) on Sales of Investment Real Estate",
        "terseLabel": "Gain on sale"
       }
      }
     },
     "localname": "GainsLossesOnSalesOfInvestmentRealEstate",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://nymtrust.com/role/RealEstateHeldForSaleInConsolidatedViesDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_GeneralAndAdministrativeExpense": {
     "auth_ref": [
      "r64"
     ],
     "calculation": {
      "http://nymtrust.com/role/CondensedConsolidatedStatementsOfOperations": {
       "order": 2.0,
       "parentTag": "us-gaap_OperatingExpenses",
       "weight": 1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-US": {
       "role": {
        "documentation": "The aggregate total of expenses of managing and administering the affairs of an entity, including affiliates of the reporting entity, which are not directly or indirectly associated with the manufacture, sale or creation of a product or product line.",
        "label": "General and Administrative Expense",
        "terseLabel": "General and administrative expenses"
       }
      }
     },
     "localname": "GeneralAndAdministrativeExpense",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://nymtrust.com/role/CondensedConsolidatedStatementsOfOperations"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_GeneralAndAdministrativeExpenseAbstract": {
     "auth_ref": [],
     "lang": {
      "en-US": {
       "role": {
        "label": "General and Administrative Expense [Abstract]",
        "terseLabel": "GENERAL, ADMINISTRATIVE AND OPERATING EXPENSES:"
       }
      }
     },
     "localname": "GeneralAndAdministrativeExpenseAbstract",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://nymtrust.com/role/CondensedConsolidatedStatementsOfOperations"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_GeographicConcentrationRiskMember": {
     "auth_ref": [
      "r133"
     ],
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Reflects the percentage that a specified dollar value on the balance sheet or income statement in the period from one or more specified geographic areas is to a corresponding consolidated, segment, or product line amount. Risk is the materially adverse effects of economic decline or antagonistic political actions resulting in loss of assets, sales volume, labor supply, or source of materials and supplies in a US state or a specified country, continent, or region such as EMEA (Europe, Middle East, Africa).",
        "label": "Geographic Concentration Risk [Member]",
        "terseLabel": "Geographic Concentration Risk"
       }
      }
     },
     "localname": "GeographicConcentrationRiskMember",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://nymtrust.com/role/ConsolidatedKSeriesGeographicConcentrationsOfCreditRiskDetails",
      "http://nymtrust.com/role/DistressedAndOtherResidentialMortgageLoansAtFairValueConcentrationOfRiskDetails",
      "http://nymtrust.com/role/DistressedAndOtherResidentialMortgageLoansNetScheduleOfGeographicConcentrationsOfCreditRiskExceeding5OfTotalLoanBalancesDetails",
      "http://nymtrust.com/role/DistressedAndOtherResidentialMortgageLoansNetScheduleOfGeographicConcentrationsOfCreditRiskOfUnpaidPrincipalBalancesDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_Goodwill": {
     "auth_ref": [
      "r213",
      "r214"
     ],
     "calculation": {
      "http://nymtrust.com/role/CondensedConsolidatedBalanceSheets": {
       "order": 9.0,
       "parentTag": "us-gaap_Assets",
       "weight": 1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Amount after accumulated impairment loss of an asset representing future economic benefits arising from other assets acquired in a business combination that are not individually identified and separately recognized.",
        "label": "Goodwill",
        "terseLabel": "Goodwill"
       }
      }
     },
     "localname": "Goodwill",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://nymtrust.com/role/CondensedConsolidatedBalanceSheets"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_GuaranteeObligationsLiquidationProceedsPercentage": {
     "auth_ref": [
      "r224"
     ],
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Indicates, if estimable, (as a percentage) the approximate extent to which the proceeds from liquidation of any assets held either as collateral or by third parties would be expected to cover the maximum potential amount of future payments under the guarantee or each group of similar guarantees.",
        "label": "Guarantor Obligations, Liquidation Proceeds, Percentage",
        "terseLabel": "Liquidation proceeds, percentage"
       }
      }
     },
     "localname": "GuaranteeObligationsLiquidationProceedsPercentage",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://nymtrust.com/role/RepurchaseAgreementsNarrativeDetails"
     ],
     "xbrltype": "percentItemType"
    },
    "us-gaap_HedgingDesignationAxis": {
     "auth_ref": [
      "r331",
      "r345"
     ],
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Information by designation of purpose of derivative instrument.",
        "label": "Hedging Designation [Axis]",
        "terseLabel": "Hedging Designation [Axis]"
       }
      }
     },
     "localname": "HedgingDesignationAxis",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://nymtrust.com/role/DerivativeInstrumentsAndHedgingActivitiesActivityOfDerivativeInstrumentsNotDesignatedAsHedgesDetails",
      "http://nymtrust.com/role/DerivativeInstrumentsAndHedgingActivitiesComponentsOfInvestmentFairValueChangesDetails",
      "http://nymtrust.com/role/DerivativeInstrumentsAndHedgingActivitiesFairValueOfDerivativeInstrumentsDetails",
      "http://nymtrust.com/role/DerivativeInstrumentsAndHedgingActivitiesInterestRateSwapsDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_HedgingDesignationDomain": {
     "auth_ref": [
      "r331"
     ],
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Designation of purpose of derivative instrument.",
        "label": "Hedging Designation [Domain]",
        "terseLabel": "Hedging Designation [Domain]"
       }
      }
     },
     "localname": "HedgingDesignationDomain",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://nymtrust.com/role/DerivativeInstrumentsAndHedgingActivitiesActivityOfDerivativeInstrumentsNotDesignatedAsHedgesDetails",
      "http://nymtrust.com/role/DerivativeInstrumentsAndHedgingActivitiesComponentsOfInvestmentFairValueChangesDetails",
      "http://nymtrust.com/role/DerivativeInstrumentsAndHedgingActivitiesFairValueOfDerivativeInstrumentsDetails",
      "http://nymtrust.com/role/DerivativeInstrumentsAndHedgingActivitiesInterestRateSwapsDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_HedgingRelationshipDomain": {
     "auth_ref": [
      "r331"
     ],
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Nature or intent of a hedge.",
        "label": "Hedging Relationship [Domain]",
        "terseLabel": "Hedging Relationship [Domain]"
       }
      }
     },
     "localname": "HedgingRelationshipDomain",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://nymtrust.com/role/DerivativeInstrumentsAndHedgingActivitiesInterestRateSwapsDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_ImpairmentLossesRelatedToRealEstatePartnerships": {
     "auth_ref": [
      "r87",
      "r219"
     ],
     "calculation": {
      "http://nymtrust.com/role/CondensedConsolidatedStatementsOfCashFlows": {
       "order": 6.0,
       "parentTag": "us-gaap_NetCashProvidedByUsedInOperatingActivities",
       "weight": 1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Impairment losses measured as the amount by which the carrying amount of the business or real estate partnerships exceeds the fair value of the business or partnership.",
        "label": "Impairment Losses Related to Real Estate Partnerships",
        "terseLabel": "Impairment of real estate under development in consolidated variable interest entities"
       }
      }
     },
     "localname": "ImpairmentLossesRelatedToRealEstatePartnerships",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://nymtrust.com/role/CondensedConsolidatedStatementsOfCashFlows"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_IncomeLossFromEquityMethodInvestments": {
     "auth_ref": [
      "r57",
      "r86",
      "r138",
      "r184",
      "r418",
      "r455"
     ],
     "calculation": {
      "http://nymtrust.com/role/CondensedConsolidatedStatementsOfCashFlows": {
       "order": 9.0,
       "parentTag": "us-gaap_NetCashProvidedByUsedInOperatingActivities",
       "weight": -1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Amount of income (loss) for proportionate share of equity method investee's income (loss).",
        "label": "Income (Loss) from Equity Method Investments",
        "negatedLabel": "Income from unconsolidated entity, preferred equity and mezzanine loan investments"
       }
      }
     },
     "localname": "IncomeLossFromEquityMethodInvestments",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://nymtrust.com/role/CondensedConsolidatedStatementsOfCashFlows"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_IncomeStatementAbstract": {
     "auth_ref": [],
     "lang": {
      "en-US": {
       "role": {
        "label": "Income Statement [Abstract]"
       }
      }
     },
     "localname": "IncomeStatementAbstract",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "xbrltype": "stringItemType"
    },
    "us-gaap_IncomeTaxDisclosureAbstract": {
     "auth_ref": [],
     "lang": {
      "en-US": {
       "role": {
        "label": "Income Tax Disclosure [Abstract]"
       }
      }
     },
     "localname": "IncomeTaxDisclosureAbstract",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "xbrltype": "stringItemType"
    },
    "us-gaap_IncomeTaxDisclosureTextBlock": {
     "auth_ref": [
      "r295"
     ],
     "lang": {
      "en-US": {
       "role": {
        "documentation": "The entire disclosure for income taxes. Disclosures may include net deferred tax liability or asset recognized in an enterprise's statement of financial position, net change during the year in the total valuation allowance, approximate tax effect of each type of temporary difference and carryforward that gives rise to a significant portion of deferred tax liabilities and deferred tax assets, utilization of a tax carryback, and tax uncertainties information.",
        "label": "Income Tax Disclosure [Text Block]",
        "terseLabel": "Income Taxes"
       }
      }
     },
     "localname": "IncomeTaxDisclosureTextBlock",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://nymtrust.com/role/IncomeTaxes"
     ],
     "xbrltype": "textBlockItemType"
    },
    "us-gaap_IncomeTaxExpenseBenefit": {
     "auth_ref": [
      "r99",
      "r139",
      "r294"
     ],
     "calculation": {
      "http://nymtrust.com/role/CondensedConsolidatedStatementsOfOperations": {
       "order": 2.0,
       "parentTag": "us-gaap_ProfitLoss",
       "weight": -1.0
      },
      "http://nymtrust.com/role/IncomeTaxesIncomeTaxProvisionDetails": {
       "order": null,
       "parentTag": null,
       "root": true,
       "weight": null
      }
     },
     "crdr": "debit",
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Amount of current income tax expense (benefit) and deferred income tax expense (benefit) pertaining to continuing operations.",
        "label": "Income Tax Expense (Benefit)",
        "negatedTotalLabel": "Total benefit",
        "verboseLabel": "Income tax benefit"
       }
      }
     },
     "localname": "IncomeTaxExpenseBenefit",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://nymtrust.com/role/CondensedConsolidatedStatementsOfOperations",
      "http://nymtrust.com/role/IncomeTaxesIncomeTaxProvisionDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_IncomeTaxesPaid": {
     "auth_ref": [
      "r83",
      "r91"
     ],
     "crdr": "credit",
     "lang": {
      "en-US": {
       "role": {
        "documentation": "The amount of cash paid during the current period to foreign, federal, state, and local authorities as taxes on income.",
        "label": "Income Taxes Paid",
        "terseLabel": "Cash paid for income taxes"
       }
      }
     },
     "localname": "IncomeTaxesPaid",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://nymtrust.com/role/CondensedConsolidatedStatementsOfCashFlows"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_IncreaseDecreaseInAccountsPayableAndAccruedLiabilities": {
     "auth_ref": [
      "r85"
     ],
     "calculation": {
      "http://nymtrust.com/role/CondensedConsolidatedStatementsOfCashFlows": {
       "order": 13.0,
       "parentTag": "us-gaap_NetCashProvidedByUsedInOperatingActivities",
       "weight": 1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-US": {
       "role": {
        "documentation": "The increase (decrease) during the reporting period in the amounts payable to vendors for goods and services received and the amount of obligations and expenses incurred but not paid.",
        "label": "Increase (Decrease) in Accounts Payable and Accrued Liabilities",
        "terseLabel": "Accrued expenses and other liabilities"
       }
      }
     },
     "localname": "IncreaseDecreaseInAccountsPayableAndAccruedLiabilities",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://nymtrust.com/role/CondensedConsolidatedStatementsOfCashFlows"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_IncreaseDecreaseInOtherOperatingAssetsAndLiabilitiesNetAbstract": {
     "auth_ref": [],
     "lang": {
      "en-US": {
       "role": {
        "label": "Increase (Decrease) in Other Operating Assets and Liabilities, Net [Abstract]",
        "terseLabel": "Changes in operating assets and liabilities:"
       }
      }
     },
     "localname": "IncreaseDecreaseInOtherOperatingAssetsAndLiabilitiesNetAbstract",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://nymtrust.com/role/CondensedConsolidatedStatementsOfCashFlows"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_IncreaseDecreaseInStockholdersEquityRollForward": {
     "auth_ref": [],
     "lang": {
      "en-US": {
       "role": {
        "documentation": "A roll forward is a reconciliation of a concept from the beginning of a period to the end of a period.",
        "label": "Increase (Decrease) in Stockholders' Equity [Roll Forward]",
        "terseLabel": "Increase (Decrease) in Stockholders' Equity [Roll Forward]"
       }
      }
     },
     "localname": "IncreaseDecreaseInStockholdersEquityRollForward",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://nymtrust.com/role/CondensedConsolidatedStatementsOfChangesInStockholdersEquity"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_IncrementalCommonSharesAttributableToConversionOfDebtSecurities": {
     "auth_ref": [
      "r123",
      "r128"
     ],
     "calculation": {
      "http://nymtrust.com/role/EarningsPerShareDetails": {
       "order": 2.0,
       "parentTag": "us-gaap_WeightedAverageNumberOfDilutedSharesOutstanding",
       "weight": 1.0
      }
     },
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Additional shares included in the calculation of diluted EPS as a result of the potentially dilutive effect of convertible debt securities using the if-converted method.",
        "label": "Incremental Common Shares Attributable to Dilutive Effect of Conversion of Debt Securities",
        "terseLabel": "Net effect of assumed convertible notes conversion to common shares (in shares)"
       }
      }
     },
     "localname": "IncrementalCommonSharesAttributableToConversionOfDebtSecurities",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://nymtrust.com/role/EarningsPerShareDetails"
     ],
     "xbrltype": "sharesItemType"
    },
    "us-gaap_IncrementalCommonSharesAttributableToEquityUnitPurchaseAgreements": {
     "auth_ref": [
      "r122",
      "r126"
     ],
     "calculation": {
      "http://nymtrust.com/role/EarningsPerShareDetails": {
       "order": 3.0,
       "parentTag": "us-gaap_WeightedAverageNumberOfDilutedSharesOutstanding",
       "weight": 1.0
      }
     },
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Additional shares included in the calculation of diluted EPS as a result of the potentially dilutive effect of equity unit purchase agreements using the treasury stock method.",
        "label": "Incremental Common Shares Attributable to Dilutive Effect of Equity Unit Purchase Agreements",
        "terseLabel": "Net effect of assumed PSUs vested (in shares)"
       }
      }
     },
     "localname": "IncrementalCommonSharesAttributableToEquityUnitPurchaseAgreements",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://nymtrust.com/role/EarningsPerShareDetails"
     ],
     "xbrltype": "sharesItemType"
    },
    "us-gaap_InterestAndDividendIncomeOperating": {
     "auth_ref": [
      "r422"
     ],
     "calculation": {
      "http://nymtrust.com/role/CondensedConsolidatedStatementsOfOperations": {
       "order": 1.0,
       "parentTag": "us-gaap_InterestIncomeExpenseNet",
       "weight": 1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Represents the total of interest and dividend income, including any amortization and accretion (as applicable) of discounts and premiums, earned from (1) loans and leases whether held-for-sale or held-in-portfolio; (2) investment securities; (3) federal funds sold; (4) securities purchased under agreements to resell; (5) investments in banker's acceptances, commercial paper, or certificates of deposit; (6) dividend income; or (7) other investments not otherwise specified herein.",
        "label": "Interest and Dividend Income, Operating",
        "totalLabel": "Total interest income"
       }
      }
     },
     "localname": "InterestAndDividendIncomeOperating",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://nymtrust.com/role/CondensedConsolidatedStatementsOfOperations"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_InterestAndDividendIncomeSecurities": {
     "auth_ref": [],
     "calculation": {
      "http://nymtrust.com/role/CondensedConsolidatedStatementsOfOperations": {
       "order": 1.0,
       "parentTag": "us-gaap_InterestAndDividendIncomeOperating",
       "weight": 1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Amount of operating dividend and interest income, including amortization and accretion of premiums and discounts, on securities.",
        "label": "Interest and Dividend Income, Securities, Operating",
        "terseLabel": "Investment securities and other interest earning assets"
       }
      }
     },
     "localname": "InterestAndDividendIncomeSecurities",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://nymtrust.com/role/CondensedConsolidatedStatementsOfOperations"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_InterestAndOtherIncome": {
     "auth_ref": [],
     "calculation": {
      "http://nymtrust.com/role/ConsolidatedKSeriesCondensedStatementOfOperationsOfConsolidatedKSeriesDetails": {
       "order": 1.0,
       "parentTag": "us-gaap_InterestIncomeExpenseNet",
       "weight": 1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-US": {
       "role": {
        "documentation": "The amount of interest income and other income recognized during the period. Included in this element is interest derived from investments in debt securities, cash and cash equivalents, and other investments which reflect the time value of money or transactions in which the payments are for the use or forbearance of money and other income from ancillary business-related activities (that is, excluding major activities considered part of the normal operations of the business).",
        "label": "Interest and Other Income",
        "terseLabel": "Interest income"
       }
      }
     },
     "localname": "InterestAndOtherIncome",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://nymtrust.com/role/ConsolidatedKSeriesCondensedStatementOfOperationsOfConsolidatedKSeriesDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_InterestExpense": {
     "auth_ref": [
      "r56",
      "r137",
      "r375",
      "r378",
      "r430"
     ],
     "calculation": {
      "http://nymtrust.com/role/CondensedConsolidatedStatementsOfOperations": {
       "order": 2.0,
       "parentTag": "us-gaap_InterestIncomeExpenseNet",
       "weight": -1.0
      },
      "http://nymtrust.com/role/ConsolidatedKSeriesCondensedStatementOfOperationsOfConsolidatedKSeriesDetails": {
       "order": 2.0,
       "parentTag": "us-gaap_InterestIncomeExpenseNet",
       "weight": -1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Amount of the cost of borrowed funds accounted for as interest expense.",
        "label": "Interest Expense",
        "terseLabel": "Interest expense",
        "totalLabel": "Total interest expense"
       }
      }
     },
     "localname": "InterestExpense",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://nymtrust.com/role/CondensedConsolidatedStatementsOfOperations",
      "http://nymtrust.com/role/ConsolidatedKSeriesCondensedStatementOfOperationsOfConsolidatedKSeriesDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_InterestExpenseAbstract": {
     "auth_ref": [],
     "lang": {
      "en-US": {
       "role": {
        "label": "Interest Expense [Abstract]",
        "terseLabel": "INTEREST EXPENSE:"
       }
      }
     },
     "localname": "InterestExpenseAbstract",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://nymtrust.com/role/CondensedConsolidatedStatementsOfOperations"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_InterestExpenseBorrowings": {
     "auth_ref": [
      "r428"
     ],
     "calculation": {
      "http://nymtrust.com/role/CondensedConsolidatedStatementsOfOperations": {
       "order": 2.0,
       "parentTag": "us-gaap_InterestExpense",
       "weight": 1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Aggregate amount of interest expense on all borrowings.",
        "label": "Interest Expense, Borrowings",
        "terseLabel": "Interest expense"
       }
      }
     },
     "localname": "InterestExpenseBorrowings",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://nymtrust.com/role/CondensedConsolidatedStatementsOfOperations"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_InterestExpenseOther": {
     "auth_ref": [],
     "calculation": {
      "http://nymtrust.com/role/CondensedConsolidatedStatementsOfOperations": {
       "order": 1.0,
       "parentTag": "us-gaap_InterestExpense",
       "weight": 1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Amount of interest expense classified as other.",
        "label": "Interest Expense, Other",
        "terseLabel": "Repurchase agreements and other interest bearing liabilities"
       }
      }
     },
     "localname": "InterestExpenseOther",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://nymtrust.com/role/CondensedConsolidatedStatementsOfOperations"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_InterestExpenseSubordinatedNotesAndDebentures": {
     "auth_ref": [
      "r429"
     ],
     "calculation": {
      "http://nymtrust.com/role/CondensedConsolidatedStatementsOfOperations": {
       "order": 3.0,
       "parentTag": "us-gaap_InterestExpense",
       "weight": 1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Interest expense incurred during the reporting period on subordinated notes and debentures. Includes amortization of expenses incurred in the issuance of subordinated notes and debentures.",
        "label": "Interest Expense, Subordinated Notes and Debentures",
        "terseLabel": "Subordinated debentures"
       }
      }
     },
     "localname": "InterestExpenseSubordinatedNotesAndDebentures",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://nymtrust.com/role/CondensedConsolidatedStatementsOfOperations"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_InterestIncomeExpenseNet": {
     "auth_ref": [
      "r423"
     ],
     "calculation": {
      "http://nymtrust.com/role/CondensedConsolidatedStatementsOfOperations": {
       "order": 1.0,
       "parentTag": "us-gaap_OperatingIncomeLoss",
       "weight": 1.0
      },
      "http://nymtrust.com/role/ConsolidatedKSeriesCondensedStatementOfOperationsOfConsolidatedKSeriesDetails": {
       "order": null,
       "parentTag": null,
       "root": true,
       "weight": null
      }
     },
     "crdr": "credit",
     "lang": {
      "en-US": {
       "role": {
        "documentation": "The net amount of operating interest income (expense).",
        "label": "Interest Income (Expense), Net",
        "totalLabel": "NET INTEREST INCOME"
       }
      }
     },
     "localname": "InterestIncomeExpenseNet",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://nymtrust.com/role/CondensedConsolidatedStatementsOfOperations",
      "http://nymtrust.com/role/ConsolidatedKSeriesCondensedStatementOfOperationsOfConsolidatedKSeriesDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_InterestIncomeSecuritiesMortgageBacked": {
     "auth_ref": [
      "r427"
     ],
     "calculation": {
      "http://nymtrust.com/role/CondensedConsolidatedStatementsOfOperations": {
       "order": 2.0,
       "parentTag": "us-gaap_InterestAndDividendIncomeOperating",
       "weight": 1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Amount of operating interest income, including amortization and accretion of premiums and discounts, on securitized, pass-through debt securities collateralized by real estate mortgage loans.",
        "label": "Interest Income, Securities, Mortgage Backed",
        "terseLabel": "Interest income"
       }
      }
     },
     "localname": "InterestIncomeSecuritiesMortgageBacked",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://nymtrust.com/role/CondensedConsolidatedStatementsOfOperations"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_InterestOnConvertibleDebtNetOfTax": {
     "auth_ref": [
      "r120"
     ],
     "calculation": {
      "http://nymtrust.com/role/EarningsPerShareDetails": {
       "order": 3.0,
       "parentTag": "us-gaap_NetIncomeLossAvailableToCommonStockholdersDiluted",
       "weight": 1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-US": {
       "role": {
        "documentation": "The after-tax amount of interest recognized in the period associated with any convertible debt.",
        "label": "Interest on Convertible Debt, Net of Tax",
        "terseLabel": "Add back: Interest expense on convertible notes for the period, net of tax"
       }
      }
     },
     "localname": "InterestOnConvertibleDebtNetOfTax",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://nymtrust.com/role/EarningsPerShareDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_InterestPaidNet": {
     "auth_ref": [
      "r78",
      "r82",
      "r91"
     ],
     "crdr": "credit",
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Amount of cash paid for interest, excluding capitalized interest, classified as operating activity. Includes, but is not limited to, payment to settle zero-coupon bond for accreted interest of debt discount and debt instrument with insignificant coupon interest rate in relation to effective interest rate of borrowing attributable to accreted interest of debt discount.",
        "label": "Interest Paid, Excluding Capitalized Interest, Operating Activities",
        "terseLabel": "Cash paid for interest"
       }
      }
     },
     "localname": "InterestPaidNet",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://nymtrust.com/role/CondensedConsolidatedStatementsOfCashFlows"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_InterestPayableCurrentAndNoncurrent": {
     "auth_ref": [
      "r416",
      "r453"
     ],
     "crdr": "credit",
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Amount of interest payable on debt, including, but not limited to, trade payables.",
        "label": "Interest Payable",
        "terseLabel": "Interest payable"
       }
      }
     },
     "localname": "InterestPayableCurrentAndNoncurrent",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://nymtrust.com/role/RepurchaseAgreementsNarrativeDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_InterestRateSwapMember": {
     "auth_ref": [
      "r343"
     ],
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Forward based contracts in which two parties agree to swap periodic payments that are fixed at the outset of the swap contract with variable payments based on a market interest rate (index rate) over a specified period.",
        "label": "Interest Rate Swap [Member]",
        "terseLabel": "Interest rate swaps"
       }
      }
     },
     "localname": "InterestRateSwapMember",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://nymtrust.com/role/DerivativeInstrumentsAndHedgingActivitiesActivityOfDerivativeInstrumentsNotDesignatedAsHedgesDetails",
      "http://nymtrust.com/role/DerivativeInstrumentsAndHedgingActivitiesComponentsOfInvestmentFairValueChangesDetails",
      "http://nymtrust.com/role/DerivativeInstrumentsAndHedgingActivitiesFairValueOfDerivativeInstrumentsDetails",
      "http://nymtrust.com/role/DerivativeInstrumentsAndHedgingActivitiesInterestRateSwapsDetails",
      "http://nymtrust.com/role/FairValueOfFinancialInstrumentsAssetsAndLiabilitiesMeasuredAtFairValueOnRecurringBasisDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_InventoryRealEstateConstructionInProcess": {
     "auth_ref": [],
     "crdr": "debit",
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Cost of real estate projects incurred for projects for eventual sale or transfer (condominium or time share projects, vacation clubs).",
        "label": "Inventory, Real Estate, Construction in Process",
        "terseLabel": "Real estate under development"
       }
      }
     },
     "localname": "InventoryRealEstateConstructionInProcess",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://nymtrust.com/role/UseOfSpecialPurposeEntitiesSpeAndVariableInterestEntitiesVieNarrativeDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_InvestmentBuildingAndBuildingImprovements": {
     "auth_ref": [
      "r451"
     ],
     "calculation": {
      "http://nymtrust.com/role/RealEstateHeldForSaleInConsolidatedViesDetails": {
       "order": 2.0,
       "parentTag": "us-gaap_RealEstateHeldforsale",
       "weight": 1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Aggregate of the carrying amounts as of the balance sheet date of investments in building and building improvements.",
        "label": "Investment Building and Building Improvements",
        "terseLabel": "Building and improvements"
       }
      }
     },
     "localname": "InvestmentBuildingAndBuildingImprovements",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://nymtrust.com/role/RealEstateHeldForSaleInConsolidatedViesDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_InvestmentCompanyDistributableEarningsLossAccumulatedLongTermCapitalGainLoss": {
     "auth_ref": [
      "r467",
      "r468"
     ],
     "crdr": "credit",
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Amount of accumulated undistributed earnings (deficit) from long-term capital gain (loss) of investment company.",
        "label": "Investment Company, Distributable Earnings (Loss), Accumulated Long-term Capital Gain (Loss)",
        "terseLabel": "Capital losses"
       }
      }
     },
     "localname": "InvestmentCompanyDistributableEarningsLossAccumulatedLongTermCapitalGainLoss",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://nymtrust.com/role/IncomeTaxesNarrativeDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_InvestmentTypeAxis": {
     "auth_ref": [
      "r470",
      "r472",
      "r473",
      "r474"
     ],
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Information by type of investments.",
        "label": "Investment Type [Axis]",
        "terseLabel": "Investment Type [Axis]"
       }
      }
     },
     "localname": "InvestmentTypeAxis",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://nymtrust.com/role/ConsolidatedKSeriesNarrativeDetails",
      "http://nymtrust.com/role/InvestmentSecuritiesAvailableForSaleNarrativeDetails",
      "http://nymtrust.com/role/InvestmentSecuritiesAvailableForSaleScheduleOfAvailableForSaleSecuritiesDetails",
      "http://nymtrust.com/role/InvestmentSecuritiesAvailableForSaleScheduleOfInvestmentSecuritiesAvailableForSaleInUnrealizedLossPositionDetails",
      "http://nymtrust.com/role/PreferredEquityAndMezzanineLoanInvestmentsDetails",
      "http://nymtrust.com/role/UseOfSpecialPurposeEntitiesSpeAndVariableInterestEntitiesVieAssetsAndLiabilitiesOfConsolidatedViesDetails",
      "http://nymtrust.com/role/UseOfSpecialPurposeEntitiesSpeAndVariableInterestEntitiesVieClassificationAndCarryingValueOfUnconsolidatedViesDetails",
      "http://nymtrust.com/role/UseOfSpecialPurposeEntitiesSpeAndVariableInterestEntitiesVieNarrativeDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_InvestmentTypeCategorizationMember": {
     "auth_ref": [
      "r470",
      "r472",
      "r473",
      "r474"
     ],
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Asset obtained to generate income or appreciate in value.",
        "label": "Investments [Domain]",
        "terseLabel": "Investments [Domain]"
       }
      }
     },
     "localname": "InvestmentTypeCategorizationMember",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://nymtrust.com/role/ConsolidatedKSeriesNarrativeDetails",
      "http://nymtrust.com/role/InvestmentSecuritiesAvailableForSaleNarrativeDetails",
      "http://nymtrust.com/role/InvestmentSecuritiesAvailableForSaleScheduleOfAvailableForSaleSecuritiesDetails",
      "http://nymtrust.com/role/InvestmentSecuritiesAvailableForSaleScheduleOfInvestmentSecuritiesAvailableForSaleInUnrealizedLossPositionDetails",
      "http://nymtrust.com/role/PreferredEquityAndMezzanineLoanInvestmentsDetails",
      "http://nymtrust.com/role/UseOfSpecialPurposeEntitiesSpeAndVariableInterestEntitiesVieAssetsAndLiabilitiesOfConsolidatedViesDetails",
      "http://nymtrust.com/role/UseOfSpecialPurposeEntitiesSpeAndVariableInterestEntitiesVieClassificationAndCarryingValueOfUnconsolidatedViesDetails",
      "http://nymtrust.com/role/UseOfSpecialPurposeEntitiesSpeAndVariableInterestEntitiesVieNarrativeDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_InvestmentsDebtAndEquitySecuritiesAbstract": {
     "auth_ref": [],
     "lang": {
      "en-US": {
       "role": {
        "label": "Investments, Debt and Equity Securities [Abstract]"
       }
      }
     },
     "localname": "InvestmentsDebtAndEquitySecuritiesAbstract",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "xbrltype": "stringItemType"
    },
    "us-gaap_InvestmentsInAffiliatesSubsidiariesAssociatesAndJointVentures": {
     "auth_ref": [
      "r22"
     ],
     "calculation": {
      "http://nymtrust.com/role/CondensedConsolidatedBalanceSheets": {
       "order": 3.0,
       "parentTag": "us-gaap_Assets",
       "weight": 1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Amount of investment in equity method investee and investment in and advance to affiliate.",
        "label": "Investments in and Advance to Affiliates, Subsidiaries, Associates, and Joint Ventures",
        "terseLabel": "Investments in unconsolidated entities"
       }
      }
     },
     "localname": "InvestmentsInAffiliatesSubsidiariesAssociatesAndJointVentures",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://nymtrust.com/role/CondensedConsolidatedBalanceSheets"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_InvestmentsInDebtAndMarketableEquitySecuritiesAndCertainTradingAssetsDisclosureTextBlock": {
     "auth_ref": [
      "r181",
      "r403",
      "r433",
      "r475"
     ],
     "lang": {
      "en-US": {
       "role": {
        "documentation": "The entire disclosure for  investments in certain debt and equity securities.",
        "label": "Investments in Debt and Marketable Equity Securities (and Certain Trading Assets) Disclosure [Text Block]",
        "terseLabel": "Investment Securities Available for Sale"
       }
      }
     },
     "localname": "InvestmentsInDebtAndMarketableEquitySecuritiesAndCertainTradingAssetsDisclosureTextBlock",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://nymtrust.com/role/InvestmentSecuritiesAvailableForSale"
     ],
     "xbrltype": "textBlockItemType"
    },
    "us-gaap_Land": {
     "auth_ref": [
      "r3",
      "r23"
     ],
     "calculation": {
      "http://nymtrust.com/role/RealEstateHeldForSaleInConsolidatedViesDetails": {
       "order": 1.0,
       "parentTag": "us-gaap_RealEstateHeldforsale",
       "weight": 1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Amount before accumulated depletion of real estate held for productive use, excluding land held for sale.",
        "label": "Land",
        "terseLabel": "Land"
       }
      }
     },
     "localname": "Land",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://nymtrust.com/role/RealEstateHeldForSaleInConsolidatedViesDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_LenderConcentrationRiskMember": {
     "auth_ref": [
      "r132"
     ],
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Reflects the percentage that borrowings or credit lines from one or more lenders is to a specified benchmark, such as total debt, segment debt. Risk is the materially adverse effects from loss of financing arrangements with a particular lender.",
        "label": "Lender Concentration Risk [Member]",
        "terseLabel": "Lender Concentration Risk"
       }
      }
     },
     "localname": "LenderConcentrationRiskMember",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://nymtrust.com/role/RepurchaseAgreementsNarrativeDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_Liabilities": {
     "auth_ref": [
      "r25"
     ],
     "calculation": {
      "http://nymtrust.com/role/CondensedConsolidatedBalanceSheets": {
       "order": 1.0,
       "parentTag": "us-gaap_LiabilitiesAndStockholdersEquity",
       "weight": 1.0
      },
      "http://nymtrust.com/role/ConsolidatedKSeriesCondensedBalanceSheetOfConsolidatedKSeriesDetails": {
       "order": null,
       "parentTag": null,
       "root": true,
       "weight": null
      }
     },
     "crdr": "credit",
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Sum of the carrying amounts as of the balance sheet date of all liabilities that are recognized. Liabilities are probable future sacrifices of economic benefits arising from present obligations of an entity to transfer assets or provide services to other entities in the future.",
        "label": "Liabilities",
        "totalLabel": "Total Liabilities"
       }
      }
     },
     "localname": "Liabilities",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://nymtrust.com/role/CondensedConsolidatedBalanceSheets",
      "http://nymtrust.com/role/ConsolidatedKSeriesCondensedBalanceSheetOfConsolidatedKSeriesDetails",
      "http://nymtrust.com/role/UseOfSpecialPurposeEntitiesSpeAndVariableInterestEntitiesVieAssetsAndLiabilitiesOfConsolidatedViesDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_LiabilitiesAbstract": {
     "auth_ref": [],
     "lang": {
      "en-US": {
       "role": {
        "label": "Liabilities [Abstract]",
        "terseLabel": "Liabilities:"
       }
      }
     },
     "localname": "LiabilitiesAbstract",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://nymtrust.com/role/CondensedConsolidatedBalanceSheets"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_LiabilitiesAndStockholdersEquity": {
     "auth_ref": [
      "r19",
      "r411",
      "r446"
     ],
     "calculation": {
      "http://nymtrust.com/role/CondensedConsolidatedBalanceSheets": {
       "order": null,
       "parentTag": null,
       "root": true,
       "weight": null
      }
     },
     "crdr": "credit",
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Amount of liabilities and equity items, including the portion of equity attributable to noncontrolling interests, if any.",
        "label": "Liabilities and Equity",
        "totalLabel": "Total Liabilities and Stockholders' Equity"
       }
      }
     },
     "localname": "LiabilitiesAndStockholdersEquity",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://nymtrust.com/role/CondensedConsolidatedBalanceSheets",
      "http://nymtrust.com/role/ConsolidatedKSeriesCondensedBalanceSheetOfConsolidatedKSeriesDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_LiabilitiesAndStockholdersEquityAbstract": {
     "auth_ref": [],
     "lang": {
      "en-US": {
       "role": {
        "label": "Liabilities and Equity [Abstract]",
        "terseLabel": "LIABILITIES AND STOCKHOLDERS' EQUITY",
        "verboseLabel": "Liabilities and Equity"
       }
      }
     },
     "localname": "LiabilitiesAndStockholdersEquityAbstract",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://nymtrust.com/role/CondensedConsolidatedBalanceSheets",
      "http://nymtrust.com/role/ConsolidatedKSeriesCondensedBalanceSheetOfConsolidatedKSeriesDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_LiabilitiesFairValueDisclosure": {
     "auth_ref": [
      "r350"
     ],
     "calculation": {
      "http://nymtrust.com/role/FairValueOfFinancialInstrumentsAssetsAndLiabilitiesMeasuredAtFairValueOnRecurringBasisDetails": {
       "order": null,
       "parentTag": null,
       "root": true,
       "weight": null
      }
     },
     "crdr": "credit",
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Fair value of financial and nonfinancial obligations.",
        "label": "Financial and Nonfinancial Liabilities, Fair Value Disclosure",
        "totalLabel": "Total"
       }
      }
     },
     "localname": "LiabilitiesFairValueDisclosure",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://nymtrust.com/role/FairValueOfFinancialInstrumentsAssetsAndLiabilitiesMeasuredAtFairValueOnRecurringBasisDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_LiabilitiesFairValueDisclosureAbstract": {
     "auth_ref": [],
     "lang": {
      "en-US": {
       "role": {
        "label": "Liabilities, Fair Value Disclosure [Abstract]",
        "terseLabel": "Liabilities carried at fair value",
        "verboseLabel": "Liabilities"
       }
      }
     },
     "localname": "LiabilitiesFairValueDisclosureAbstract",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://nymtrust.com/role/FairValueOfFinancialInstrumentsAssetsAndLiabilitiesMeasuredAtFairValueOnRecurringBasisDetails",
      "http://nymtrust.com/role/FairValueOfFinancialInstrumentsChangesInUnrealizedGainsLossesIncludedInEarningsForLevel3AssetsAndLiabilitiesDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_LoanRestructuringModificationAxis": {
     "auth_ref": [],
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Information by concessions made to the terms of loan contracts.",
        "label": "Loan Restructuring Modification [Axis]"
       }
      }
     },
     "localname": "LoanRestructuringModificationAxis",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://nymtrust.com/role/DistressedAndOtherResidentialMortgageLoansNetNarrativeDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_LoanRestructuringModificationDomain": {
     "auth_ref": [],
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Concessions made to the terms of loan contracts, including but not limited to, interest rate reductions, maturity extensions, principal forgiveness, and payment deferral.",
        "label": "Loan Restructuring Modification [Domain]"
       }
      }
     },
     "localname": "LoanRestructuringModificationDomain",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://nymtrust.com/role/DistressedAndOtherResidentialMortgageLoansNetNarrativeDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_LoansAndLeasesReceivableGrossCarryingAmount": {
     "auth_ref": [
      "r145"
     ],
     "crdr": "debit",
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Amount before allowance of loans and leases held in portfolio, including but not limited to, commercial and consumer loans. Includes deferred interest and fees, undisbursed portion of loan balance, unamortized costs and premiums and discounts from face amounts. Excludes loans and leases covered under loss sharing agreements.",
        "label": "Loans and Leases Receivable, Gross",
        "terseLabel": "Mortgage loans held for investment, carrying value"
       }
      }
     },
     "localname": "LoansAndLeasesReceivableGrossCarryingAmount",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://nymtrust.com/role/FairValueOfFinancialInstrumentsCarryingValueAndEstimatedFairValueOfCompanysFinancialAssetsDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_LoansMember": {
     "auth_ref": [
      "r156"
     ],
     "lang": {
      "en-US": {
       "role": {
        "documentation": "When a lender gives money or property over other debt securities sold by the issuer. In the event the issuer goes bankrupt, senior debt holders receive priority for [must receive] repayment [prior] relative to junior and unsecured (general) creditors.",
        "label": "Loans [Member]",
        "terseLabel": "Loans"
       }
      }
     },
     "localname": "LoansMember",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://nymtrust.com/role/RepurchaseAgreementsNarrativeDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_LoansPayableFairValueDisclosure": {
     "auth_ref": [],
     "calculation": {
      "http://nymtrust.com/role/FairValueOfFinancialInstrumentsAssetsAndLiabilitiesMeasuredAtFairValueOnRecurringBasisDetails": {
       "order": 1.0,
       "parentTag": "us-gaap_LiabilitiesFairValueDisclosure",
       "weight": 1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Fair value portion of contractual obligation to pay money on demand or on fixed or determinable dates.",
        "label": "Loans Payable, Fair Value Disclosure",
        "terseLabel": "Multi-family collateralized debt obligations"
       }
      }
     },
     "localname": "LoansPayableFairValueDisclosure",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://nymtrust.com/role/FairValueOfFinancialInstrumentsAssetsAndLiabilitiesMeasuredAtFairValueOnRecurringBasisDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_LoansPledgedAsCollateral": {
     "auth_ref": [
      "r152",
      "r394"
     ],
     "crdr": "debit",
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Carrying amount as of the balance sheet date of loans that have been pledged as collateral for borrowings. If the secured party has the right by contract or custom to sell or re-pledge the collateral, then the debtor reclassifies that asset and report that asset in its statement of financial position separately from other assets not so encumbered.",
        "label": "Loans Pledged as Collateral",
        "terseLabel": "Loans pledged as collateral",
        "verboseLabel": "Loans pledged as collateral, carrying value"
       }
      }
     },
     "localname": "LoansPledgedAsCollateral",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://nymtrust.com/role/DebtNarrativeDetails",
      "http://nymtrust.com/role/DistressedAndOtherResidentialMortgageLoansAtFairValueNarrativeDetails",
      "http://nymtrust.com/role/DistressedAndOtherResidentialMortgageLoansNetNarrativeDetails",
      "http://nymtrust.com/role/RepurchaseAgreementsBorrowingsUnderFinancingArrangementsAndAssociatedAssetsPledgedAsCollateralDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_LoansReceivableFairValueDisclosure": {
     "auth_ref": [
      "r156"
     ],
     "crdr": "debit",
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Fair value portion of loan receivable, including, but not limited to, mortgage loans held for investment, finance receivables held for investment, policy loans on insurance contracts.",
        "label": "Loans Receivable, Fair Value Disclosure",
        "terseLabel": "Mortgage loans held for investment, estimated fair value"
       }
      }
     },
     "localname": "LoansReceivableFairValueDisclosure",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://nymtrust.com/role/FairValueOfFinancialInstrumentsCarryingValueAndEstimatedFairValueOfCompanysFinancialAssetsDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_LoansReceivableHeldForSaleNetNotPartOfDisposalGroup": {
     "auth_ref": [
      "r145"
     ],
     "crdr": "debit",
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Amount, after allowance for bad debt, of loan receivables held-for-sale that are not part of a disposal group. Excludes loans and leases covered under loss sharing agreements and loans classified as debt securities.",
        "label": "Loans Receivable Held-for-sale, Net, Not Part of Disposal Group",
        "terseLabel": "Mortgage loans held for sale, net, carrying value"
       }
      }
     },
     "localname": "LoansReceivableHeldForSaleNetNotPartOfDisposalGroup",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://nymtrust.com/role/FairValueOfFinancialInstrumentsCarryingValueAndEstimatedFairValueOfCompanysFinancialAssetsDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_LondonInterbankOfferedRateLIBORMember": {
     "auth_ref": [],
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Interest rate at which a bank borrows funds from other banks in the London interbank market.",
        "label": "London Interbank Offered Rate (LIBOR) [Member]",
        "terseLabel": "LIBOR",
        "verboseLabel": "LIBOR"
       }
      }
     },
     "localname": "LondonInterbankOfferedRateLIBORMember",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://nymtrust.com/role/DebtPreferredSecuritiesDetails",
      "http://nymtrust.com/role/StockholdersEquityNarrativeDetails",
      "http://nymtrust.com/role/SubsequentEventsDetails",
      "http://nymtrust.com/role/UseOfSpecialPurposeEntitiesSpeAndVariableInterestEntitiesVieSecuritizedDebtDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_LongTermDebt": {
     "auth_ref": [
      "r7",
      "r231",
      "r409",
      "r442"
     ],
     "calculation": {
      "http://nymtrust.com/role/DebtScheduleOfMaturitiesOfLongTermDebtDetails": {
       "order": null,
       "parentTag": null,
       "root": true,
       "weight": null
      },
      "http://nymtrust.com/role/UseOfSpecialPurposeEntitiesSpeAndVariableInterestEntitiesVieFinancingViesSecuritizedDebtByContractualMaturityDetails": {
       "order": 1.0,
       "parentTag": "us-gaap_CollateralizedFinancings",
       "weight": 1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Amount, after unamortized (discount) premium and debt issuance costs, of long-term debt. Includes, but not limited to, notes payable, bonds payable, debentures, mortgage loans and commercial paper. Excludes capital lease obligations.",
        "label": "Long-term Debt",
        "totalLabel": "Total"
       }
      }
     },
     "localname": "LongTermDebt",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://nymtrust.com/role/DebtScheduleOfMaturitiesOfLongTermDebtDetails",
      "http://nymtrust.com/role/UseOfSpecialPurposeEntitiesSpeAndVariableInterestEntitiesVieFinancingViesSecuritizedDebtByContractualMaturityDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_LongTermDebtByMaturityAbstract": {
     "auth_ref": [],
     "lang": {
      "en-US": {
       "role": {
        "label": "Long-term Debt, Fiscal Year Maturity [Abstract]",
        "terseLabel": "Year Ending December 31,"
       }
      }
     },
     "localname": "LongTermDebtByMaturityAbstract",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://nymtrust.com/role/DebtScheduleOfMaturitiesOfLongTermDebtDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_LongTermDebtMaturitiesRepaymentsOfPrincipalInRollingYearFour": {
     "auth_ref": [
      "r113"
     ],
     "calculation": {
      "http://nymtrust.com/role/UseOfSpecialPurposeEntitiesSpeAndVariableInterestEntitiesVieFinancingViesSecuritizedDebtByContractualMaturityDetails": {
       "order": 2.0,
       "parentTag": "us-gaap_LongTermDebt",
       "weight": 1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Amount of long-term debt payable, sinking fund requirements, and other securities issued that are redeemable by holder at fixed or determinable prices and dates maturing in the fourth rolling twelve months following the latest balance sheet. For interim and annual periods when interim periods are reported on a rolling approach, from latest balance sheet date.",
        "label": "Long-term Debt, Maturities, Repayments of Principal in Rolling Year Four",
        "terseLabel": "Over 36 months"
       }
      }
     },
     "localname": "LongTermDebtMaturitiesRepaymentsOfPrincipalInRollingYearFour",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://nymtrust.com/role/UseOfSpecialPurposeEntitiesSpeAndVariableInterestEntitiesVieFinancingViesSecuritizedDebtByContractualMaturityDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_LongTermDebtMaturitiesRepaymentsOfPrincipalInRollingYearThree": {
     "auth_ref": [
      "r113"
     ],
     "calculation": {
      "http://nymtrust.com/role/UseOfSpecialPurposeEntitiesSpeAndVariableInterestEntitiesVieFinancingViesSecuritizedDebtByContractualMaturityDetails": {
       "order": 1.0,
       "parentTag": "us-gaap_LongTermDebt",
       "weight": 1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Amount of long-term debt payable, sinking fund requirements, and other securities issued that are redeemable by holder at fixed or determinable prices and dates maturing in the third rolling twelve months following the latest balance sheet. For interim and annual periods when interim periods are reported on a rolling approach, from latest balance sheet date.",
        "label": "Long-term Debt, Maturities, Repayments of Principal in Rolling Year Three",
        "verboseLabel": "Over 24 months to 36 months"
       }
      }
     },
     "localname": "LongTermDebtMaturitiesRepaymentsOfPrincipalInRollingYearThree",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://nymtrust.com/role/UseOfSpecialPurposeEntitiesSpeAndVariableInterestEntitiesVieFinancingViesSecuritizedDebtByContractualMaturityDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_LongTermDebtMaturitiesRepaymentsOfPrincipalInYearFive": {
     "auth_ref": [
      "r113",
      "r226"
     ],
     "calculation": {
      "http://nymtrust.com/role/DebtScheduleOfMaturitiesOfLongTermDebtDetails": {
       "order": 5.0,
       "parentTag": "us-gaap_LongTermDebt",
       "weight": 1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Amount of long-term debt payable, sinking fund requirements, and other securities issued that are redeemable by holder at fixed or determinable prices and dates maturing in the fifth fiscal year following the latest fiscal year. Excludes interim and annual periods when interim periods are reported on a rolling approach, from latest balance sheet date.",
        "label": "Long-term Debt, Maturities, Repayments of Principal in Year Five",
        "terseLabel": "2023"
       }
      }
     },
     "localname": "LongTermDebtMaturitiesRepaymentsOfPrincipalInYearFive",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://nymtrust.com/role/DebtScheduleOfMaturitiesOfLongTermDebtDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_LongTermDebtMaturitiesRepaymentsOfPrincipalInYearFour": {
     "auth_ref": [
      "r113",
      "r226"
     ],
     "calculation": {
      "http://nymtrust.com/role/DebtScheduleOfMaturitiesOfLongTermDebtDetails": {
       "order": 4.0,
       "parentTag": "us-gaap_LongTermDebt",
       "weight": 1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Amount of long-term debt payable, sinking fund requirements, and other securities issued that are redeemable by holder at fixed or determinable prices and dates maturing in the fourth fiscal year following the latest fiscal year. Excludes interim and annual periods when interim periods are reported on a rolling approach, from latest balance sheet date.",
        "label": "Long-term Debt, Maturities, Repayments of Principal in Year Four",
        "terseLabel": "2022"
       }
      }
     },
     "localname": "LongTermDebtMaturitiesRepaymentsOfPrincipalInYearFour",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://nymtrust.com/role/DebtScheduleOfMaturitiesOfLongTermDebtDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_LongTermDebtMaturitiesRepaymentsOfPrincipalInYearThree": {
     "auth_ref": [
      "r113",
      "r226"
     ],
     "calculation": {
      "http://nymtrust.com/role/DebtScheduleOfMaturitiesOfLongTermDebtDetails": {
       "order": 3.0,
       "parentTag": "us-gaap_LongTermDebt",
       "weight": 1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Amount of long-term debt payable, sinking fund requirements, and other securities issued that are redeemable by holder at fixed or determinable prices and dates maturing in the third fiscal year following the latest fiscal year. Excludes interim and annual periods when interim periods are reported on a rolling approach, from latest balance sheet date.",
        "label": "Long-term Debt, Maturities, Repayments of Principal in Year Three",
        "terseLabel": "2021"
       }
      }
     },
     "localname": "LongTermDebtMaturitiesRepaymentsOfPrincipalInYearThree",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://nymtrust.com/role/DebtScheduleOfMaturitiesOfLongTermDebtDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_LongTermDebtMaturitiesRepaymentsOfPrincipalInYearTwo": {
     "auth_ref": [
      "r113",
      "r226"
     ],
     "calculation": {
      "http://nymtrust.com/role/DebtScheduleOfMaturitiesOfLongTermDebtDetails": {
       "order": 2.0,
       "parentTag": "us-gaap_LongTermDebt",
       "weight": 1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Amount of long-term debt payable, sinking fund requirements, and other securities issued that are redeemable by holder at fixed or determinable prices and dates maturing in the second fiscal year following the latest fiscal year. Excludes interim and annual periods when interim periods are reported on a rolling approach, from latest balance sheet date.",
        "label": "Long-term Debt, Maturities, Repayments of Principal in Year Two",
        "terseLabel": "2020"
       }
      }
     },
     "localname": "LongTermDebtMaturitiesRepaymentsOfPrincipalInYearTwo",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://nymtrust.com/role/DebtScheduleOfMaturitiesOfLongTermDebtDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_LongTermDebtMaturitiesRepaymentsOfPrincipalRemainderOfFiscalYear": {
     "auth_ref": [
      "r113"
     ],
     "calculation": {
      "http://nymtrust.com/role/DebtScheduleOfMaturitiesOfLongTermDebtDetails": {
       "order": 1.0,
       "parentTag": "us-gaap_LongTermDebt",
       "weight": 1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Amount of long-term debt payable, sinking fund requirements, and other securities issued that are redeemable by holder at fixed or determinable prices and dates maturing in the remainder of the fiscal year following the latest fiscal year. Excludes interim and annual periods when interim periods are reported on a rolling approach, from latest balance sheet date.",
        "label": "Long-term Debt, Maturities, Repayments of Principal, Remainder of Fiscal Year",
        "terseLabel": "2019"
       }
      }
     },
     "localname": "LongTermDebtMaturitiesRepaymentsOfPrincipalRemainderOfFiscalYear",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://nymtrust.com/role/DebtScheduleOfMaturitiesOfLongTermDebtDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_LongtermDebtTypeAxis": {
     "auth_ref": [
      "r29"
     ],
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Information by type of long-term debt.",
        "label": "Long-term Debt, Type [Axis]",
        "terseLabel": "Long-term Debt, Type [Axis]"
       }
      }
     },
     "localname": "LongtermDebtTypeAxis",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://nymtrust.com/role/CondensedConsolidatedStatementsOfOperations",
      "http://nymtrust.com/role/DebtNarrativeDetails",
      "http://nymtrust.com/role/DebtScheduleOfVieDebtDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_LongtermDebtTypeDomain": {
     "auth_ref": [
      "r29",
      "r227"
     ],
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Type of long-term debt arrangement, such as notes, line of credit, commercial paper, asset-based financing, project financing, letter of credit financing. These are debt arrangements that originally required repayment more than twelve months after issuance or greater than the normal operating cycle of the company, if longer.",
        "label": "Long-term Debt, Type [Domain]",
        "terseLabel": "Long-term Debt, Type [Domain]"
       }
      }
     },
     "localname": "LongtermDebtTypeDomain",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://nymtrust.com/role/CondensedConsolidatedStatementsOfOperations",
      "http://nymtrust.com/role/DebtNarrativeDetails",
      "http://nymtrust.com/role/DebtScheduleOfVieDebtDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_Maturity30To90DaysMember": {
     "auth_ref": [
      "r108"
     ],
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Maturity period that is more than 29 days but fewer than 91 days from the reporting date for repurchase agreements and similar transactions, for example, but not limited to, securities lending arrangements.",
        "label": "Maturity 30 to 90 Days [Member]",
        "terseLabel": "Over 30 days to 90 days"
       }
      }
     },
     "localname": "Maturity30To90DaysMember",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://nymtrust.com/role/RepurchaseAgreementsOutstandingRepurchaseAgreementBorrowingsByContractualMaturityDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_MaturityOver90DaysMember": {
     "auth_ref": [
      "r108"
     ],
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Maturity period of over 90 days from the reporting date for repurchase agreements and similar transactions, for example, but not limited to, securities lending arrangements.",
        "label": "Maturity Greater than 90 Days [Member]",
        "terseLabel": "Over 90 days"
       }
      }
     },
     "localname": "MaturityOver90DaysMember",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://nymtrust.com/role/RepurchaseAgreementsOutstandingRepurchaseAgreementBorrowingsByContractualMaturityDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_MaturityUpTo30DaysMember": {
     "auth_ref": [
      "r108"
     ],
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Maturity period of up to 30 days from the reporting date for repurchase agreements and similar transactions, for example, but not limited to, securities lending arrangements.",
        "label": "Maturity Less than 30 Days [Member]",
        "terseLabel": "Within 30 days"
       }
      }
     },
     "localname": "MaturityUpTo30DaysMember",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://nymtrust.com/role/RepurchaseAgreementsOutstandingRepurchaseAgreementBorrowingsByContractualMaturityDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_MeasurementInputDiscountRateMember": {
     "auth_ref": [
      "r353"
     ],
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Measurement input using interest rate to determine present value of future cash flows.",
        "label": "Measurement Input, Discount Rate [Member]",
        "terseLabel": "Discount Rate"
       }
      }
     },
     "localname": "MeasurementInputDiscountRateMember",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://nymtrust.com/role/FairValueOfFinancialInstrumentsNarrativeDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_MeasurementInputTypeAxis": {
     "auth_ref": [
      "r353"
     ],
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Information by type of measurement input used to determine value of asset and liability.",
        "label": "Measurement Input Type [Axis]",
        "terseLabel": "Measurement Input Type [Axis]"
       }
      }
     },
     "localname": "MeasurementInputTypeAxis",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://nymtrust.com/role/FairValueOfFinancialInstrumentsNarrativeDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_MeasurementInputTypeDomain": {
     "auth_ref": [],
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Measurement input used to determine value of asset and liability.",
        "label": "Measurement Input Type [Domain]",
        "terseLabel": "Measurement Input Type [Domain]"
       }
      }
     },
     "localname": "MeasurementInputTypeDomain",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://nymtrust.com/role/FairValueOfFinancialInstrumentsNarrativeDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_MinorityInterest": {
     "auth_ref": [
      "r34",
      "r410",
      "r445"
     ],
     "calculation": {
      "http://nymtrust.com/role/CondensedConsolidatedBalanceSheets": {
       "order": 2.0,
       "parentTag": "us-gaap_StockholdersEquityIncludingPortionAttributableToNoncontrollingInterest",
       "weight": 1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Total of all stockholders' equity (deficit) items, net of receivables from officers, directors, owners, and affiliates of the entity which is directly or indirectly attributable to that ownership interest in subsidiary equity which is not attributable to the parent (that is, noncontrolling interest, previously referred to as minority interest).",
        "label": "Stockholders' Equity Attributable to Noncontrolling Interest",
        "terseLabel": "Non-controlling interest in consolidated variable interest entities"
       }
      }
     },
     "localname": "MinorityInterest",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://nymtrust.com/role/CondensedConsolidatedBalanceSheets"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_MortgageBackedSecuritiesHeldToMaturityFairValueDisclosure": {
     "auth_ref": [],
     "calculation": {
      "http://nymtrust.com/role/FairValueOfFinancialInstrumentsAssetsAndLiabilitiesMeasuredAtFairValueOnRecurringBasisDetails": {
       "order": 4.0,
       "parentTag": "us-gaap_AssetsFairValueDisclosure",
       "weight": 1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Fair value of securitized, pay-through debt securities collateralized by real estate mortgage loans classified as held-to-maturity.",
        "label": "Mortgage-backed Securities Held-to-maturity, Fair Value Disclosure",
        "netLabel": "Residential mortgage loans held in securitization trusts \u2013 impaired loans, net",
        "terseLabel": "Multi-family loans held in securitization trusts",
        "verboseLabel": "Residential mortgage loans, estimated fair value"
       }
      }
     },
     "localname": "MortgageBackedSecuritiesHeldToMaturityFairValueDisclosure",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://nymtrust.com/role/FairValueOfFinancialInstrumentsAssetsAndLiabilitiesMeasuredAtFairValueOnRecurringBasisDetails",
      "http://nymtrust.com/role/FairValueOfFinancialInstrumentsAssetsMeasuredAtFairValueOnNonrecurringBasisDetails",
      "http://nymtrust.com/role/FairValueOfFinancialInstrumentsCarryingValueAndEstimatedFairValueOfCompanysFinancialAssetsDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_MortgageBackedSecuritiesIssuedByPrivateEnterprisesMember": {
     "auth_ref": [
      "r164",
      "r255"
     ],
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Debt securities collateralized by real estate mortgage loans (mortgages), issued by non-governmental sponsored enterprises.",
        "label": "Mortgage-backed Securities, Issued by Private Enterprises [Member]",
        "terseLabel": "Non-Agency RMBS"
       }
      }
     },
     "localname": "MortgageBackedSecuritiesIssuedByPrivateEnterprisesMember",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://nymtrust.com/role/FairValueOfFinancialInstrumentsAssetsAndLiabilitiesMeasuredAtFairValueOnRecurringBasisDetails",
      "http://nymtrust.com/role/RepurchaseAgreementsAssetsPledgedAsCollateralDetails",
      "http://nymtrust.com/role/RepurchaseAgreementsNarrativeDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_MortgageBackedSecuritiesIssuedByUSGovernmentSponsoredEnterprisesMember": {
     "auth_ref": [
      "r255"
     ],
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Debt securities collateralized by real estate mortgage loans (mortgages), issued by US Government Sponsored Enterprises, such as Federal Home Loan Mortgage Corporation (FHLMC or Freddie Mac).",
        "label": "Mortgage-backed Securities, Issued by US Government Sponsored Enterprises [Member]",
        "terseLabel": "Agency RMBS"
       }
      }
     },
     "localname": "MortgageBackedSecuritiesIssuedByUSGovernmentSponsoredEnterprisesMember",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://nymtrust.com/role/FairValueOfFinancialInstrumentsAssetsAndLiabilitiesMeasuredAtFairValueOnRecurringBasisDetails",
      "http://nymtrust.com/role/RepurchaseAgreementsNarrativeDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_MortgageLoansOnRealEstate": {
     "auth_ref": [
      "r477"
     ],
     "calculation": {
      "http://nymtrust.com/role/DistressedAndOtherResidentialMortgageLoansAtFairValueResidentialMortgageLoansAtFairValueDetails": {
       "order": 3.0,
       "parentTag": "srt_MortgageLoansOnRealEstateFaceAmountOfMortgages",
       "weight": 1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Amount of investment in mortgage loan on real estate by entity with substantial portion of business acquiring and holding investment real estate or interest in real estate.",
        "label": "SEC Schedule, 12-29, Real Estate Companies, Investment in Mortgage Loans on Real Estate",
        "netLabel": "Fair value of loans",
        "terseLabel": "Carrying Value",
        "verboseLabel": "Fair Value"
       }
      }
     },
     "localname": "MortgageLoansOnRealEstate",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://nymtrust.com/role/ConsolidatedKSeriesNarrativeDetails",
      "http://nymtrust.com/role/DistressedAndOtherResidentialMortgageLoansAtFairValueDifferencesBetweenFairValueAndAggregateUnpaidPrincipalDetails",
      "http://nymtrust.com/role/DistressedAndOtherResidentialMortgageLoansAtFairValueNarrativeDetails",
      "http://nymtrust.com/role/DistressedAndOtherResidentialMortgageLoansAtFairValueResidentialMortgageLoansAtFairValueDetails",
      "http://nymtrust.com/role/RepurchaseAgreementsBorrowingsUnderFinancingArrangementsAndAssociatedAssetsPledgedAsCollateralDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_MortgageLoansOnRealEstateCommercialAndConsumerNet": {
     "auth_ref": [
      "r450"
     ],
     "calculation": {
      "http://nymtrust.com/role/DistressedAndOtherResidentialMortgageLoansNetResidentialMortgageLoansHeldInSecuritizationTrustsNetDetails": {
       "order": null,
       "parentTag": null,
       "root": true,
       "weight": null
      }
     },
     "crdr": "debit",
     "lang": {
      "en-US": {
       "role": {
        "documentation": "The balance represents the amount of loans that are secured by real estate mortgages, offset by the reserve to cover probable credit losses on the loan portfolio.",
        "label": "Mortgage Loans on Real Estate, Commercial and Consumer, Net",
        "terseLabel": "Pledged assets",
        "totalLabel": "Total"
       }
      }
     },
     "localname": "MortgageLoansOnRealEstateCommercialAndConsumerNet",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://nymtrust.com/role/DebtNarrativeDetails",
      "http://nymtrust.com/role/DistressedAndOtherResidentialMortgageLoansNetResidentialMortgageLoansHeldInSecuritizationTrustsNetDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_MortgagesHeldForSaleFairValueDisclosure": {
     "auth_ref": [],
     "crdr": "debit",
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Fair value portion of mortgage loans held-for-sale.",
        "label": "Mortgages Held-for-sale, Fair Value Disclosure",
        "terseLabel": "Mortgage loans held for sale, net, estimated fair value"
       }
      }
     },
     "localname": "MortgagesHeldForSaleFairValueDisclosure",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://nymtrust.com/role/FairValueOfFinancialInstrumentsCarryingValueAndEstimatedFairValueOfCompanysFinancialAssetsDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_MortgagesMember": {
     "auth_ref": [],
     "lang": {
      "en-US": {
       "role": {
        "documentation": "A loan to finance the purchase of real estate where the lender has a lien on the property as collateral for the loan.",
        "label": "Mortgages [Member]",
        "terseLabel": "Mortgages"
       }
      }
     },
     "localname": "MortgagesMember",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://nymtrust.com/role/DebtNarrativeDetails",
      "http://nymtrust.com/role/DebtScheduleOfVieDebtDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_NetCashProvidedByUsedInFinancingActivities": {
     "auth_ref": [
      "r81"
     ],
     "calculation": {
      "http://nymtrust.com/role/CondensedConsolidatedStatementsOfCashFlows": {
       "order": 3.0,
       "parentTag": "us-gaap_CashCashEquivalentsRestrictedCashAndRestrictedCashEquivalentsPeriodIncreaseDecreaseIncludingExchangeRateEffect",
       "weight": 1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Amount of cash inflow (outflow) from financing activities, including discontinued operations. Financing activity cash flows include obtaining resources from owners and providing them with a return on, and a return of, their investment; borrowing money and repaying amounts borrowed, or settling the obligation; and obtaining and paying for other resources obtained from creditors on long-term credit.",
        "label": "Net Cash Provided by (Used in) Financing Activities",
        "totalLabel": "Net cash provided by (used in) financing activities"
       }
      }
     },
     "localname": "NetCashProvidedByUsedInFinancingActivities",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://nymtrust.com/role/CondensedConsolidatedStatementsOfCashFlows"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_NetCashProvidedByUsedInFinancingActivitiesAbstract": {
     "auth_ref": [],
     "lang": {
      "en-US": {
       "role": {
        "label": "Net Cash Provided by (Used in) Financing Activities [Abstract]",
        "terseLabel": "Cash Flows from Financing Activities:"
       }
      }
     },
     "localname": "NetCashProvidedByUsedInFinancingActivitiesAbstract",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://nymtrust.com/role/CondensedConsolidatedStatementsOfCashFlows"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_NetCashProvidedByUsedInInvestingActivities": {
     "auth_ref": [
      "r81"
     ],
     "calculation": {
      "http://nymtrust.com/role/CondensedConsolidatedStatementsOfCashFlows": {
       "order": 2.0,
       "parentTag": "us-gaap_CashCashEquivalentsRestrictedCashAndRestrictedCashEquivalentsPeriodIncreaseDecreaseIncludingExchangeRateEffect",
       "weight": 1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Amount of cash inflow (outflow) from investing activities, including discontinued operations. Investing activity cash flows include making and collecting loans and acquiring and disposing of debt or equity instruments and property, plant, and equipment and other productive assets.",
        "label": "Net Cash Provided by (Used in) Investing Activities",
        "totalLabel": "Net cash (used in) provided by investing activities"
       }
      }
     },
     "localname": "NetCashProvidedByUsedInInvestingActivities",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://nymtrust.com/role/CondensedConsolidatedStatementsOfCashFlows"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_NetCashProvidedByUsedInInvestingActivitiesAbstract": {
     "auth_ref": [],
     "lang": {
      "en-US": {
       "role": {
        "label": "Net Cash Provided by (Used in) Investing Activities [Abstract]",
        "terseLabel": "Cash Flows from Investing Activities:"
       }
      }
     },
     "localname": "NetCashProvidedByUsedInInvestingActivitiesAbstract",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://nymtrust.com/role/CondensedConsolidatedStatementsOfCashFlows"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_NetCashProvidedByUsedInOperatingActivities": {
     "auth_ref": [
      "r81",
      "r84",
      "r87"
     ],
     "calculation": {
      "http://nymtrust.com/role/CondensedConsolidatedStatementsOfCashFlows": {
       "order": 1.0,
       "parentTag": "us-gaap_CashCashEquivalentsRestrictedCashAndRestrictedCashEquivalentsPeriodIncreaseDecreaseIncludingExchangeRateEffect",
       "weight": 1.0
      }
     },
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Amount of cash inflow (outflow) from operating activities, including discontinued operations. Operating activity cash flows include transactions, adjustments, and changes in value not defined as investing or financing activities.",
        "label": "Net Cash Provided by (Used in) Operating Activities",
        "totalLabel": "Net cash provided by operating activities"
       }
      }
     },
     "localname": "NetCashProvidedByUsedInOperatingActivities",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://nymtrust.com/role/CondensedConsolidatedStatementsOfCashFlows"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_NetCashProvidedByUsedInOperatingActivitiesAbstract": {
     "auth_ref": [],
     "lang": {
      "en-US": {
       "role": {
        "label": "Net Cash Provided by (Used in) Operating Activities [Abstract]",
        "terseLabel": "Cash Flows from Operating Activities:"
       }
      }
     },
     "localname": "NetCashProvidedByUsedInOperatingActivitiesAbstract",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://nymtrust.com/role/CondensedConsolidatedStatementsOfCashFlows"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_NetIncomeLoss": {
     "auth_ref": [
      "r49",
      "r52",
      "r58",
      "r87",
      "r128",
      "r420",
      "r456"
     ],
     "calculation": {
      "http://nymtrust.com/role/CondensedConsolidatedStatementsOfOperations": {
       "order": 1.0,
       "parentTag": "us-gaap_NetIncomeLossAvailableToCommonStockholdersBasic",
       "weight": 1.0
      },
      "http://nymtrust.com/role/EarningsPerShareDetails": {
       "order": 1.0,
       "parentTag": "us-gaap_NetIncomeLossAvailableToCommonStockholdersDiluted",
       "weight": 1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-US": {
       "role": {
        "documentation": "The portion of profit or loss for the period, net of income taxes, which is attributable to the parent.",
        "label": "Net Income (Loss) Attributable to Parent",
        "terseLabel": "Net income attributable to Company",
        "totalLabel": "NET INCOME ATTRIBUTABLE TO COMPANY"
       }
      }
     },
     "localname": "NetIncomeLoss",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://nymtrust.com/role/CondensedConsolidatedStatementsOfOperations",
      "http://nymtrust.com/role/ConsolidatedKSeriesCondensedStatementOfOperationsOfConsolidatedKSeriesDetails",
      "http://nymtrust.com/role/EarningsPerShareDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_NetIncomeLossAttributableToNoncontrollingInterest": {
     "auth_ref": [
      "r49",
      "r52",
      "r305",
      "r321"
     ],
     "calculation": {
      "http://nymtrust.com/role/CondensedConsolidatedStatementsOfOperations": {
       "order": 2.0,
       "parentTag": "us-gaap_NetIncomeLoss",
       "weight": -1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Amount of Net Income (Loss) attributable to noncontrolling interest.",
        "label": "Net Income (Loss) Attributable to Noncontrolling Interest",
        "negatedTerseLabel": "Net loss (income) attributable to non-controlling interest in consolidated variable interest entities"
       }
      }
     },
     "localname": "NetIncomeLossAttributableToNoncontrollingInterest",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://nymtrust.com/role/CondensedConsolidatedStatementsOfOperations"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_NetIncomeLossAvailableToCommonStockholdersBasic": {
     "auth_ref": [
      "r116",
      "r119"
     ],
     "calculation": {
      "http://nymtrust.com/role/CondensedConsolidatedStatementsOfComprehensiveIncome": {
       "order": 1.0,
       "parentTag": "us-gaap_ComprehensiveIncomeNetOfTax",
       "weight": 1.0
      },
      "http://nymtrust.com/role/CondensedConsolidatedStatementsOfOperations": {
       "order": null,
       "parentTag": null,
       "root": true,
       "weight": null
      }
     },
     "crdr": "credit",
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Amount, after deduction of tax, noncontrolling interests, dividends on preferred stock and participating securities; of income (loss) available to common shareholders.",
        "label": "Net Income (Loss) Available to Common Stockholders, Basic",
        "totalLabel": "NET INCOME ATTRIBUTABLE TO COMPANY'S COMMON STOCKHOLDERS",
        "verboseLabel": "NET INCOME ATTRIBUTABLE TO COMPANY'S COMMON STOCKHOLDERS"
       }
      }
     },
     "localname": "NetIncomeLossAvailableToCommonStockholdersBasic",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://nymtrust.com/role/CondensedConsolidatedStatementsOfComprehensiveIncome",
      "http://nymtrust.com/role/CondensedConsolidatedStatementsOfOperations",
      "http://nymtrust.com/role/EarningsPerShareDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_NetIncomeLossAvailableToCommonStockholdersDiluted": {
     "auth_ref": [
      "r119",
      "r120"
     ],
     "calculation": {
      "http://nymtrust.com/role/EarningsPerShareDetails": {
       "order": null,
       "parentTag": null,
       "root": true,
       "weight": null
      }
     },
     "crdr": "credit",
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Amount, after deduction of tax, noncontrolling interests, dividends on preferred stock and participating securities, and addition from assumption of issuance of common shares for dilutive potential common shares; of income (loss) available to common shareholders.",
        "label": "Net Income (Loss) Available to Common Stockholders, Diluted",
        "totalLabel": "Net income attributable to Company's common stockholders"
       }
      }
     },
     "localname": "NetIncomeLossAvailableToCommonStockholdersDiluted",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://nymtrust.com/role/EarningsPerShareDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_NewAccountingPronouncementsOrChangeInAccountingPrincipleLineItems": {
     "auth_ref": [],
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Line items represent financial concepts included in a table. These concepts are used to disclose reportable information associated with domain members defined in one or many axes to the table.",
        "label": "New Accounting Pronouncements or Change in Accounting Principle [Line Items]",
        "terseLabel": "New Accounting Pronouncements or Change in Accounting Principle [Line Items]"
       }
      }
     },
     "localname": "NewAccountingPronouncementsOrChangeInAccountingPrincipleLineItems",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://nymtrust.com/role/SummaryOfSignificantAccountingPoliciesAdoptionOfAccountingStandardsCodificationTopic842LeasesDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_NewAccountingPronouncementsOrChangeInAccountingPrincipleTable": {
     "auth_ref": [
      "r115",
      "r117"
     ],
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Summarization of the changes in an accounting principle or a new accounting pronouncement, including the line items affected by the change and the financial effects of the change on those particular line items.",
        "label": "New Accounting Pronouncements or Change in Accounting Principle [Table]",
        "terseLabel": "New Accounting Pronouncements or Change in Accounting Principle [Table]"
       }
      }
     },
     "localname": "NewAccountingPronouncementsOrChangeInAccountingPrincipleTable",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://nymtrust.com/role/SummaryOfSignificantAccountingPoliciesAdoptionOfAccountingStandardsCodificationTopic842LeasesDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_NewAccountingPronouncementsPolicyPolicyTextBlock": {
     "auth_ref": [],
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Disclosure of accounting policy pertaining to new accounting pronouncements that may impact the entity's financial reporting. Includes, but is not limited to, quantification of the expected or actual impact.",
        "label": "New Accounting Pronouncements, Policy [Policy Text Block]",
        "terseLabel": "Adoption of Accounting Standards Codification and Summary of Recent Accounting Pronouncements"
       }
      }
     },
     "localname": "NewAccountingPronouncementsPolicyPolicyTextBlock",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://nymtrust.com/role/SummaryOfSignificantAccountingPoliciesPolicies"
     ],
     "xbrltype": "textBlockItemType"
    },
    "us-gaap_NoncashOrPartNoncashAcquisitionOtherAssetsAcquired1": {
     "auth_ref": [
      "r92",
      "r93",
      "r94"
     ],
     "crdr": "debit",
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Amount of assets, classified as other, acquired in a noncash or part noncash acquisition.",
        "label": "Noncash or Part Noncash Acquisition, Other Assets Acquired",
        "terseLabel": "Consolidation of multi-family loans held in securitization trusts"
       }
      }
     },
     "localname": "NoncashOrPartNoncashAcquisitionOtherAssetsAcquired1",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://nymtrust.com/role/CondensedConsolidatedStatementsOfCashFlows"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_NoncashOrPartNoncashAcquisitionValueOfLiabilitiesAssumed1": {
     "auth_ref": [
      "r92",
      "r93",
      "r94"
     ],
     "crdr": "credit",
     "lang": {
      "en-US": {
       "role": {
        "documentation": "The total amount of [all] liabilities that an Entity assumes in acquiring a business or in consideration for an asset received in a noncash (or part noncash) acquisition. Noncash is defined as transactions during a period that affect recognized assets or liabilities but that do not result in cash receipts or cash payments in the period. \"Part noncash\" refers to that portion of the transaction not resulting in cash receipts or cash payments in the period.",
        "label": "Noncash or Part Noncash Acquisition, Value of Liabilities Assumed",
        "terseLabel": "Consolidation of multi-family collateralized debt obligations"
       }
      }
     },
     "localname": "NoncashOrPartNoncashAcquisitionValueOfLiabilitiesAssumed1",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://nymtrust.com/role/CondensedConsolidatedStatementsOfCashFlows"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_NoncashOrPartNoncashDivestitureNameDomain": {
     "auth_ref": [
      "r94"
     ],
     "lang": {
      "en-US": {
       "role": {
        "documentation": "The name of the sale of an asset or business through a noncash (or part noncash) transaction.",
        "label": "Noncash or Part Noncash Divestiture, Name [Domain]",
        "terseLabel": "Noncash or Part Noncash Divestiture, Name [Domain]"
       }
      }
     },
     "localname": "NoncashOrPartNoncashDivestitureNameDomain",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://nymtrust.com/role/CondensedConsolidatedStatementsOfCashFlows"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_NoncashOrPartNoncashDivestituresByUniqueNameAxis": {
     "auth_ref": [
      "r92",
      "r93",
      "r94"
     ],
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Information by unique name of asset or business.",
        "label": "Unique Name [Axis]",
        "terseLabel": "Unique Name [Axis]"
       }
      }
     },
     "localname": "NoncashOrPartNoncashDivestituresByUniqueNameAxis",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://nymtrust.com/role/CondensedConsolidatedStatementsOfCashFlows"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_NoncontrollingInterestDecreaseFromDeconsolidation": {
     "auth_ref": [
      "r251",
      "r307"
     ],
     "crdr": "debit",
     "lang": {
      "en-US": {
       "role": {
        "documentation": "The amount of the reduction or elimination during the period of a noncontrolling interest resulting from the parent's loss of control and deconsolidation of the entity in which one or more outside parties had a noncontrolling interest.",
        "label": "Noncontrolling Interest, Decrease from Deconsolidation",
        "terseLabel": "Decrease in non-controlling interest related to distributions from and de-consolidation of variable interest entities"
       }
      }
     },
     "localname": "NoncontrollingInterestDecreaseFromDeconsolidation",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://nymtrust.com/role/CondensedConsolidatedStatementsOfChangesInStockholdersEquity"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_NoncontrollingInterestIncreaseFromSubsidiaryEquityIssuance": {
     "auth_ref": [
      "r251",
      "r303",
      "r307"
     ],
     "crdr": "credit",
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Amount of increase in noncontrolling interest from subsidiary issuance of equity interests to noncontrolling interest holders.",
        "label": "Noncontrolling Interest, Increase from Subsidiary Equity Issuance",
        "terseLabel": "Increase in non-controlling interest in variable interest entities"
       }
      }
     },
     "localname": "NoncontrollingInterestIncreaseFromSubsidiaryEquityIssuance",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://nymtrust.com/role/CondensedConsolidatedStatementsOfChangesInStockholdersEquity"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_NoncontrollingInterestMember": {
     "auth_ref": [
      "r300"
     ],
     "lang": {
      "en-US": {
       "role": {
        "documentation": "This element represents that portion of equity (net assets) in a subsidiary not attributable, directly or indirectly, to the parent. A noncontrolling interest is sometimes called a minority interest.",
        "label": "Noncontrolling Interest [Member]",
        "terseLabel": "Non-Controlling Interest in Consolidated VIE"
       }
      }
     },
     "localname": "NoncontrollingInterestMember",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://nymtrust.com/role/CondensedConsolidatedStatementsOfChangesInStockholdersEquity"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_NoninterestIncome": {
     "auth_ref": [
      "r425"
     ],
     "calculation": {
      "http://nymtrust.com/role/CondensedConsolidatedStatementsOfOperations": {
       "order": 2.0,
       "parentTag": "us-gaap_OperatingIncomeLoss",
       "weight": 1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-US": {
       "role": {
        "documentation": "The total amount of noninterest income which may be derived from: (1) fees and commissions; (2) premiums earned; (3) insurance policy charges; (4) the sale or disposal of assets; and (5) other sources not otherwise specified.",
        "label": "Noninterest Income",
        "totalLabel": "Total non-interest income"
       }
      }
     },
     "localname": "NoninterestIncome",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://nymtrust.com/role/CondensedConsolidatedStatementsOfOperations"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_NoninterestIncomeAbstract": {
     "auth_ref": [],
     "lang": {
      "en-US": {
       "role": {
        "label": "Noninterest Income [Abstract]",
        "terseLabel": "NON-INTEREST INCOME:"
       }
      }
     },
     "localname": "NoninterestIncomeAbstract",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://nymtrust.com/role/CondensedConsolidatedStatementsOfOperations"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_NoninterestIncomeOther": {
     "auth_ref": [
      "r425"
     ],
     "calculation": {
      "http://nymtrust.com/role/CondensedConsolidatedStatementsOfOperations": {
       "order": 4.0,
       "parentTag": "us-gaap_NoninterestIncome",
       "weight": 1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Represents the total of noninterest income derived from certain activities and assets including (for example): (1) venture capital investments; (2) bank owned life insurance; (3) foreign currency transactions; and (4) mortgage servicing rights.",
        "label": "Noninterest Income, Other",
        "terseLabel": "Other income"
       }
      }
     },
     "localname": "NoninterestIncomeOther",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://nymtrust.com/role/CondensedConsolidatedStatementsOfOperations"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_NonvestedRestrictedStockSharesActivityTableTextBlock": {
     "auth_ref": [
      "r264"
     ],
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Tabular disclosure of the changes in outstanding nonvested restricted stock shares.",
        "label": "Nonvested Restricted Stock Shares Activity [Table Text Block]",
        "terseLabel": "Schedule of Nonvested Restricted Stock Activity"
       }
      }
     },
     "localname": "NonvestedRestrictedStockSharesActivityTableTextBlock",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://nymtrust.com/role/StockBasedCompensationTables"
     ],
     "xbrltype": "textBlockItemType"
    },
    "us-gaap_NotDesignatedAsHedgingInstrumentTradingMember": {
     "auth_ref": [
      "r330"
     ],
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Derivative instrument, not designated as hedging instrument under Generally Accepted Accounting Principles (GAAP), used for trading purposes for exposure to risk.",
        "label": "Not Designated as Hedging Instrument, Trading [Member]",
        "terseLabel": "Trading"
       }
      }
     },
     "localname": "NotDesignatedAsHedgingInstrumentTradingMember",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://nymtrust.com/role/DerivativeInstrumentsAndHedgingActivitiesActivityOfDerivativeInstrumentsNotDesignatedAsHedgesDetails",
      "http://nymtrust.com/role/DerivativeInstrumentsAndHedgingActivitiesComponentsOfInvestmentFairValueChangesDetails",
      "http://nymtrust.com/role/DerivativeInstrumentsAndHedgingActivitiesFairValueOfDerivativeInstrumentsDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_NotesPayable": {
     "auth_ref": [
      "r7",
      "r409",
      "r442"
     ],
     "calculation": {
      "http://nymtrust.com/role/CondensedConsolidatedBalanceSheets": {
       "order": 3.0,
       "parentTag": "us-gaap_Liabilities",
       "weight": 1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Including the current and noncurrent portions, aggregate carrying amount of all types of notes payable, as of the balance sheet date, with initial maturities beyond one year or beyond the normal operating cycle, if longer.",
        "label": "Notes Payable",
        "terseLabel": "Mortgages and notes payable in consolidated variable interest entities"
       }
      }
     },
     "localname": "NotesPayable",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://nymtrust.com/role/CondensedConsolidatedBalanceSheets",
      "http://nymtrust.com/role/UseOfSpecialPurposeEntitiesSpeAndVariableInterestEntitiesVieAssetsAndLiabilitiesOfConsolidatedViesDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_NotesReceivableGross": {
     "auth_ref": [
      "r198"
     ],
     "calculation": {
      "http://nymtrust.com/role/DistressedAndOtherResidentialMortgageLoansNetResidentialMortgageLoansHeldInSecuritizationTrustsNetDetails": {
       "order": 1.0,
       "parentTag": "us-gaap_MortgageLoansOnRealEstateCommercialAndConsumerNet",
       "weight": 1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Amount, before allowance for credit loss, of financing receivable.",
        "label": "Financing Receivable, before Allowance for Credit Loss",
        "terseLabel": "Unpaid principal balance"
       }
      }
     },
     "localname": "NotesReceivableGross",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://nymtrust.com/role/DistressedAndOtherResidentialMortgageLoansNetResidentialMortgageLoansHeldInSecuritizationTrustsNetDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_OperatingExpenses": {
     "auth_ref": [],
     "calculation": {
      "http://nymtrust.com/role/CondensedConsolidatedStatementsOfOperations": {
       "order": 3.0,
       "parentTag": "us-gaap_OperatingIncomeLoss",
       "weight": -1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Generally recurring costs associated with normal operations except for the portion of these expenses which can be clearly related to production and included in cost of sales or services. Includes selling, general and administrative expense.",
        "label": "Operating Expenses",
        "totalLabel": "Total general, administrative and operating expenses"
       }
      }
     },
     "localname": "OperatingExpenses",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://nymtrust.com/role/CondensedConsolidatedStatementsOfOperations"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_OperatingIncomeLoss": {
     "auth_ref": [],
     "calculation": {
      "http://nymtrust.com/role/CondensedConsolidatedStatementsOfOperations": {
       "order": 1.0,
       "parentTag": "us-gaap_ProfitLoss",
       "weight": 1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-US": {
       "role": {
        "documentation": "The net result for the period of deducting operating expenses from operating revenues.",
        "label": "Operating Income (Loss)",
        "totalLabel": "INCOME FROM OPERATIONS BEFORE INCOME TAXES"
       }
      }
     },
     "localname": "OperatingIncomeLoss",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://nymtrust.com/role/CondensedConsolidatedStatementsOfOperations"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_OperatingLeaseLiability": {
     "auth_ref": [
      "r382"
     ],
     "crdr": "credit",
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Present value of lessee's discounted obligation for lease payments from operating lease.",
        "label": "Operating Lease, Liability",
        "terseLabel": "Operating lease liabilities"
       }
      }
     },
     "localname": "OperatingLeaseLiability",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://nymtrust.com/role/SummaryOfSignificantAccountingPoliciesAdoptionOfAccountingStandardsCodificationTopic842LeasesDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_OperatingLeaseRightOfUseAsset": {
     "auth_ref": [
      "r381"
     ],
     "crdr": "debit",
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Amount of lessee's right to use underlying asset under operating lease.",
        "label": "Operating Lease, Right-of-Use Asset",
        "terseLabel": "Operating Lease right-of-use assets"
       }
      }
     },
     "localname": "OperatingLeaseRightOfUseAsset",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://nymtrust.com/role/SummaryOfSignificantAccountingPoliciesAdoptionOfAccountingStandardsCodificationTopic842LeasesDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_OperatingLossCarryforwards": {
     "auth_ref": [
      "r286"
     ],
     "crdr": "debit",
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Amount of operating loss carryforward, before tax effects, available to reduce future taxable income under enacted tax laws.",
        "label": "Operating Loss Carryforwards",
        "terseLabel": "Net operating loss carryforwards"
       }
      }
     },
     "localname": "OperatingLossCarryforwards",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://nymtrust.com/role/IncomeTaxesNarrativeDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_OperatingLossCarryforwardsLineItems": {
     "auth_ref": [],
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Line items represent financial concepts included in a table. These concepts are used to disclose reportable information associated with domain members defined in one or many axes to the table.",
        "label": "Operating Loss Carryforwards [Line Items]",
        "terseLabel": "Operating Loss Carryforwards [Line Items]"
       }
      }
     },
     "localname": "OperatingLossCarryforwardsLineItems",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://nymtrust.com/role/IncomeTaxesNarrativeDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_OperatingLossCarryforwardsTable": {
     "auth_ref": [
      "r287"
     ],
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Schedule reflecting pertinent information, such as tax authority, amounts, and expiration dates, of net operating loss carryforwards, including an assessment of the likelihood of utilization.",
        "label": "Operating Loss Carryforwards [Table]",
        "terseLabel": "Operating Loss Carryforwards [Table]"
       }
      }
     },
     "localname": "OperatingLossCarryforwardsTable",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://nymtrust.com/role/IncomeTaxesNarrativeDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_OrganizationConsolidationAndPresentationOfFinancialStatementsAbstract": {
     "auth_ref": [],
     "lang": {
      "en-US": {
       "role": {
        "label": "Organization, Consolidation and Presentation of Financial Statements [Abstract]"
       }
      }
     },
     "localname": "OrganizationConsolidationAndPresentationOfFinancialStatementsAbstract",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "xbrltype": "stringItemType"
    },
    "us-gaap_OrganizationConsolidationAndPresentationOfFinancialStatementsDisclosureTextBlock": {
     "auth_ref": [
      "r1",
      "r324"
     ],
     "lang": {
      "en-US": {
       "role": {
        "documentation": "The entire disclosure for organization, consolidation and basis of presentation of financial statements disclosure.",
        "label": "Organization, Consolidation and Presentation of Financial Statements Disclosure [Text Block]",
        "terseLabel": "Organization"
       }
      }
     },
     "localname": "OrganizationConsolidationAndPresentationOfFinancialStatementsDisclosureTextBlock",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://nymtrust.com/role/Organization"
     ],
     "xbrltype": "textBlockItemType"
    },
    "us-gaap_OtherCommitment": {
     "auth_ref": [],
     "crdr": "credit",
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Minimum amount of other commitment not otherwise specified in the taxonomy. Excludes commitments explicitly modeled in the taxonomy, including but not limited to, long-term and short-term purchase commitments, recorded and unrecorded purchase obligations, supply commitments, registration payment arrangements, leases, debt, product warranties, guarantees, environmental remediation obligations, and pensions.",
        "label": "Other Commitment",
        "terseLabel": "Other commitment"
       }
      }
     },
     "localname": "OtherCommitment",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://nymtrust.com/role/CommitmentsAndContingenciesCommitmentsDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_OtherCommitmentsAxis": {
     "auth_ref": [],
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Information by type of other commitment.",
        "label": "Other Commitments [Axis]",
        "terseLabel": "Other Commitments [Axis]"
       }
      }
     },
     "localname": "OtherCommitmentsAxis",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://nymtrust.com/role/CommitmentsAndContingenciesCommitmentsDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_OtherCommitmentsDomain": {
     "auth_ref": [],
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Other future obligation.",
        "label": "Other Commitments [Domain]",
        "terseLabel": "Other Commitments [Domain]"
       }
      }
     },
     "localname": "OtherCommitmentsDomain",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://nymtrust.com/role/CommitmentsAndContingenciesCommitmentsDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_OtherCommitmentsLineItems": {
     "auth_ref": [],
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Line items represent financial concepts included in a table. These concepts are used to disclose reportable information associated with domain members defined in one or many axes to the table.",
        "label": "Other Commitments [Line Items]",
        "terseLabel": "Other Commitments [Line Items]"
       }
      }
     },
     "localname": "OtherCommitmentsLineItems",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://nymtrust.com/role/CommitmentsAndContingenciesCommitmentsDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_OtherCommitmentsTable": {
     "auth_ref": [],
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Disclosure of information about obligations resulting from other commitments.",
        "label": "Other Commitments [Table]",
        "terseLabel": "Other Commitments [Table]"
       }
      }
     },
     "localname": "OtherCommitmentsTable",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://nymtrust.com/role/CommitmentsAndContingenciesCommitmentsDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_OtherComprehensiveIncomeLossNetOfTax": {
     "auth_ref": [
      "r50",
      "r53",
      "r55",
      "r241"
     ],
     "calculation": {
      "http://nymtrust.com/role/CondensedConsolidatedStatementsOfComprehensiveIncome": {
       "order": 2.0,
       "parentTag": "us-gaap_ComprehensiveIncomeNetOfTax",
       "weight": 1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Amount after tax and reclassification adjustments of other comprehensive income (loss).",
        "label": "Other Comprehensive Income (Loss), Net of Tax",
        "totalLabel": "TOTAL OTHER COMPREHENSIVE INCOME (LOSS)"
       }
      }
     },
     "localname": "OtherComprehensiveIncomeLossNetOfTax",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://nymtrust.com/role/CondensedConsolidatedStatementsOfComprehensiveIncome"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_OtherComprehensiveIncomeLossReclassificationAdjustmentFromAOCIForSaleOfSecuritiesNetOfTax": {
     "auth_ref": [
      "r43",
      "r46",
      "r47",
      "r180"
     ],
     "calculation": {
      "http://nymtrust.com/role/CondensedConsolidatedStatementsOfComprehensiveIncome": {
       "order": 2.0,
       "parentTag": "us-gaap_OtherComprehensiveIncomeLossNetOfTax",
       "weight": -1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Amount after tax of reclassification adjustment from accumulated other comprehensive income for unrealized gain (loss) realized upon the sale of available-for-sale securities.",
        "label": "Other Comprehensive Income (Loss), Reclassification Adjustment from AOCI for Sale of Securities, Net of Tax",
        "negatedLabel": "Reclassification adjustment for net gain included in net income",
        "negatedTerseLabel": "Reclassification adjustment for net gain included in net income"
       }
      }
     },
     "localname": "OtherComprehensiveIncomeLossReclassificationAdjustmentFromAOCIForSaleOfSecuritiesNetOfTax",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://nymtrust.com/role/CondensedConsolidatedStatementsOfChangesInStockholdersEquity",
      "http://nymtrust.com/role/CondensedConsolidatedStatementsOfComprehensiveIncome"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_OtherComprehensiveIncomeLossTaxAbstract": {
     "auth_ref": [],
     "lang": {
      "en-US": {
       "role": {
        "label": "Other Comprehensive Income (Loss), Tax [Abstract]",
        "terseLabel": "OTHER COMPREHENSIVE INCOME (LOSS)"
       }
      }
     },
     "localname": "OtherComprehensiveIncomeLossTaxAbstract",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://nymtrust.com/role/CondensedConsolidatedStatementsOfComprehensiveIncome"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_OtherComprehensiveIncomeUnrealizedHoldingGainLossOnSecuritiesArisingDuringPeriodNetOfTax": {
     "auth_ref": [
      "r41",
      "r43"
     ],
     "calculation": {
      "http://nymtrust.com/role/CondensedConsolidatedStatementsOfComprehensiveIncome": {
       "order": 1.0,
       "parentTag": "us-gaap_OtherComprehensiveIncomeLossNetOfTax",
       "weight": 1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Amount after tax, before reclassification adjustments, of unrealized holding gain (loss) on available-for-sale securities.",
        "label": "Other Comprehensive Income (Loss), Securities, Available-for-Sale, Unrealized Holding Gain (Loss) Arising During Period, after Tax",
        "terseLabel": "Increase (decrease) in fair value of available for sale securities",
        "verboseLabel": "Increase in fair value of available for sale securities"
       }
      }
     },
     "localname": "OtherComprehensiveIncomeUnrealizedHoldingGainLossOnSecuritiesArisingDuringPeriodNetOfTax",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://nymtrust.com/role/CondensedConsolidatedStatementsOfChangesInStockholdersEquity",
      "http://nymtrust.com/role/CondensedConsolidatedStatementsOfComprehensiveIncome"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_OtherCostAndExpenseOperating": {
     "auth_ref": [
      "r63"
     ],
     "calculation": {
      "http://nymtrust.com/role/CondensedConsolidatedStatementsOfOperations": {
       "order": 1.0,
       "parentTag": "us-gaap_OperatingExpenses",
       "weight": 1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-US": {
       "role": {
        "documentation": "The total amount of other operating cost and expense items that are associated with the entity's normal revenue producing operation.",
        "label": "Other Cost and Expense, Operating",
        "terseLabel": "Expenses related to distressed and other residential mortgage loans"
       }
      }
     },
     "localname": "OtherCostAndExpenseOperating",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://nymtrust.com/role/CondensedConsolidatedStatementsOfOperations"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_OtherThanTemporaryImpairmentLossDebtSecuritiesPortionRecognizedInEarnings": {
     "auth_ref": [
      "r163"
     ],
     "crdr": "debit",
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Amount of other-than-temporary impairment (OTTI) on investment in debt security, recognized in earnings.",
        "label": "Other-than-temporary Impairment Loss, Debt Securities, Portion Recognized in Earnings",
        "terseLabel": "Other-than-temporary impairment recorded in earnings"
       }
      }
     },
     "localname": "OtherThanTemporaryImpairmentLossDebtSecuritiesPortionRecognizedInEarnings",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://nymtrust.com/role/InvestmentSecuritiesAvailableForSaleNarrativeDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_ParentMember": {
     "auth_ref": [],
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Portion of equity, or net assets, in the consolidated entity attributable, directly or indirectly, to the parent. Excludes noncontrolling interests.",
        "label": "Parent [Member]",
        "terseLabel": "Total Company Stockholders' Equity"
       }
      }
     },
     "localname": "ParentMember",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://nymtrust.com/role/CondensedConsolidatedStatementsOfChangesInStockholdersEquity"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_PastDueFinancingReceivablesTableTextBlock": {
     "auth_ref": [
      "r153",
      "r154",
      "r196",
      "r202"
     ],
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Tabular disclosure of aging analysis for financing receivable.",
        "label": "Financing Receivable, Past Due [Table Text Block]",
        "terseLabel": "Schedule of Delinquencies in Portfolio of Residential Mortgage Loans Held in Securitization Trusts"
       }
      }
     },
     "localname": "PastDueFinancingReceivablesTableTextBlock",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://nymtrust.com/role/DistressedAndOtherResidentialMortgageLoansNetTables"
     ],
     "xbrltype": "textBlockItemType"
    },
    "us-gaap_PaymentDeferralMember": {
     "auth_ref": [],
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Loan modification for a temporary postponement of loan payments.",
        "label": "Payment Deferral [Member]",
        "terseLabel": "Payment Deferral"
       }
      }
     },
     "localname": "PaymentDeferralMember",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://nymtrust.com/role/DistressedAndOtherResidentialMortgageLoansNetNarrativeDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_PaymentsForProceedsFromDerivativeInstrumentInvestingActivities": {
     "auth_ref": [
      "r112"
     ],
     "calculation": {
      "http://nymtrust.com/role/CondensedConsolidatedStatementsOfCashFlows": {
       "order": 6.0,
       "parentTag": "us-gaap_NetCashProvidedByUsedInInvestingActivities",
       "weight": -1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-US": {
       "role": {
        "documentation": "The net cash outflow or inflow from derivative instruments during the period, which are classified as investing activities, excluding those designated as hedging instruments.",
        "label": "Payments for (Proceeds from) Derivative Instrument, Investing Activities",
        "negatedLabel": "(Net payments made on) received from other derivative instruments settled during the period"
       }
      }
     },
     "localname": "PaymentsForProceedsFromDerivativeInstrumentInvestingActivities",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://nymtrust.com/role/CondensedConsolidatedStatementsOfCashFlows"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_PaymentsOfDividendsCommonStock": {
     "auth_ref": [
      "r76"
     ],
     "calculation": {
      "http://nymtrust.com/role/CondensedConsolidatedStatementsOfCashFlows": {
       "order": 10.0,
       "parentTag": "us-gaap_NetCashProvidedByUsedInFinancingActivities",
       "weight": -1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Amount of cash outflow in the form of ordinary dividends to common shareholders of the parent entity.",
        "label": "Payments of Ordinary Dividends, Common Stock",
        "negatedLabel": "Dividends paid on common stock"
       }
      }
     },
     "localname": "PaymentsOfDividendsCommonStock",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://nymtrust.com/role/CondensedConsolidatedStatementsOfCashFlows"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_PaymentsOfDividendsPreferredStockAndPreferenceStock": {
     "auth_ref": [
      "r76"
     ],
     "calculation": {
      "http://nymtrust.com/role/CondensedConsolidatedStatementsOfCashFlows": {
       "order": 4.0,
       "parentTag": "us-gaap_NetCashProvidedByUsedInFinancingActivities",
       "weight": -1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Amount of cash outflow in the form of ordinary dividends to preferred shareholders of the parent entity.",
        "label": "Payments of Ordinary Dividends, Preferred Stock and Preference Stock",
        "negatedLabel": "Dividends paid on preferred stock"
       }
      }
     },
     "localname": "PaymentsOfDividendsPreferredStockAndPreferenceStock",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://nymtrust.com/role/CondensedConsolidatedStatementsOfCashFlows"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_PaymentsToAcquireAvailableForSaleSecuritiesDebt": {
     "auth_ref": [
      "r65",
      "r70",
      "r162"
     ],
     "calculation": {
      "http://nymtrust.com/role/CondensedConsolidatedStatementsOfCashFlows": {
       "order": 2.0,
       "parentTag": "us-gaap_NetCashProvidedByUsedInInvestingActivities",
       "weight": -1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Amount of cash outflow to acquire investment in debt security measured at fair value with change in fair value recognized in other comprehensive income (available-for-sale).",
        "label": "Payments to Acquire Debt Securities, Available-for-sale",
        "negatedLabel": "Purchases of investment securities",
        "terseLabel": "Deposit towards purchase of securities"
       }
      }
     },
     "localname": "PaymentsToAcquireAvailableForSaleSecuritiesDebt",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://nymtrust.com/role/CommitmentsAndContingenciesCommitmentsDetails",
      "http://nymtrust.com/role/CondensedConsolidatedStatementsOfCashFlows"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_PaymentsToAcquireEquityMethodInvestments": {
     "auth_ref": [
      "r71"
     ],
     "calculation": {
      "http://nymtrust.com/role/CondensedConsolidatedStatementsOfCashFlows": {
       "order": 4.0,
       "parentTag": "us-gaap_NetCashProvidedByUsedInInvestingActivities",
       "weight": -1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-US": {
       "role": {
        "documentation": "The cash outflow associated with the purchase of or advances to an equity method investments, which are investments in joint ventures and entities in which the entity has an equity ownership interest normally of 20 to 50 percent and exercises significant influence.",
        "label": "Payments to Acquire Equity Method Investments",
        "negatedLabel": "Funding of preferred equity, equity and mezzanine loan investments"
       }
      }
     },
     "localname": "PaymentsToAcquireEquityMethodInvestments",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://nymtrust.com/role/CondensedConsolidatedStatementsOfCashFlows"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_PaymentsToAcquireInvestments": {
     "auth_ref": [
      "r73"
     ],
     "calculation": {
      "http://nymtrust.com/role/CondensedConsolidatedStatementsOfCashFlows": {
       "order": 14.0,
       "parentTag": "us-gaap_NetCashProvidedByUsedInInvestingActivities",
       "weight": -1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-US": {
       "role": {
        "documentation": "The cash outflow associated with the purchase of all investments (debt, security, other) during the period.",
        "label": "Payments to Acquire Investments",
        "negatedLabel": "Purchases of residential mortgage loans and distressed residential mortgage loans"
       }
      }
     },
     "localname": "PaymentsToAcquireInvestments",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://nymtrust.com/role/CondensedConsolidatedStatementsOfCashFlows"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_PaymentsToAcquireOtherInvestments": {
     "auth_ref": [
      "r73"
     ],
     "calculation": {
      "http://nymtrust.com/role/CondensedConsolidatedStatementsOfCashFlows": {
       "order": 3.0,
       "parentTag": "us-gaap_NetCashProvidedByUsedInInvestingActivities",
       "weight": -1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Amount of cash outflow to acquire investments classified as other.",
        "label": "Payments to Acquire Other Investments",
        "negatedLabel": "Purchases of other assets"
       }
      }
     },
     "localname": "PaymentsToAcquireOtherInvestments",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://nymtrust.com/role/CondensedConsolidatedStatementsOfCashFlows"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_PaymentsToAcquirePropertyPlantAndEquipment": {
     "auth_ref": [
      "r72"
     ],
     "calculation": {
      "http://nymtrust.com/role/CondensedConsolidatedStatementsOfCashFlows": {
       "order": 9.0,
       "parentTag": "us-gaap_NetCashProvidedByUsedInInvestingActivities",
       "weight": -1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-US": {
       "role": {
        "documentation": "The cash outflow associated with the acquisition of long-lived, physical assets that are used in the normal conduct of business to produce goods and services and not intended for resale; includes cash outflows to pay for construction of self-constructed assets.",
        "label": "Payments to Acquire Property, Plant, and Equipment",
        "negatedTerseLabel": "Capital expenditures on real estate held for sale in consolidated variable interest entities"
       }
      }
     },
     "localname": "PaymentsToAcquirePropertyPlantAndEquipment",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://nymtrust.com/role/CondensedConsolidatedStatementsOfCashFlows"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_PerformanceSharesMember": {
     "auth_ref": [],
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Share-based payment arrangement awarded for meeting performance target.",
        "label": "Performance Shares [Member]",
        "terseLabel": "Performance Share Awards"
       }
      }
     },
     "localname": "PerformanceSharesMember",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://nymtrust.com/role/StockBasedCompensationNarrativeDetails",
      "http://nymtrust.com/role/StockBasedCompensationNonVestedRestrictedStockAndPsuAwardActivityDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_PlanNameAxis": {
     "auth_ref": [
      "r260",
      "r276"
     ],
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Information by plan name for share-based payment arrangement.",
        "label": "Plan Name [Axis]",
        "terseLabel": "Plan Name [Axis]"
       }
      }
     },
     "localname": "PlanNameAxis",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://nymtrust.com/role/StockBasedCompensationNarrativeDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_PlanNameDomain": {
     "auth_ref": [],
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Plan name for share-based payment arrangement.",
        "label": "Plan Name [Domain]",
        "terseLabel": "Plan Name [Domain]"
       }
      }
     },
     "localname": "PlanNameDomain",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://nymtrust.com/role/StockBasedCompensationNarrativeDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_PreferredStockDividendRatePercentage": {
     "auth_ref": [],
     "lang": {
      "en-US": {
       "role": {
        "documentation": "The percentage rate used to calculate dividend payments on preferred stock.",
        "label": "Preferred Stock, Dividend Rate, Percentage",
        "terseLabel": "Preferred stock, cumulative redeemable dividend rate",
        "verboseLabel": "Preferred stock, cumulative redeemable dividend rate"
       }
      }
     },
     "localname": "PreferredStockDividendRatePercentage",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://nymtrust.com/role/CondensedConsolidatedBalanceSheetsParenthetical",
      "http://nymtrust.com/role/StockholdersEquityNarrativeDetails",
      "http://nymtrust.com/role/SubsequentEventsDetails"
     ],
     "xbrltype": "percentItemType"
    },
    "us-gaap_PreferredStockDividendsIncomeStatementImpact": {
     "auth_ref": [],
     "calculation": {
      "http://nymtrust.com/role/CondensedConsolidatedStatementsOfOperations": {
       "order": 2.0,
       "parentTag": "us-gaap_NetIncomeLossAvailableToCommonStockholdersBasic",
       "weight": -1.0
      },
      "http://nymtrust.com/role/EarningsPerShareDetails": {
       "order": 2.0,
       "parentTag": "us-gaap_NetIncomeLossAvailableToCommonStockholdersDiluted",
       "weight": -1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-US": {
       "role": {
        "documentation": "The amount of preferred stock dividends that is an adjustment to net income apportioned to common stockholders.",
        "label": "Preferred Stock Dividends, Income Statement Impact",
        "negatedLabel": "Preferred stock dividends",
        "negatedTerseLabel": "Less: Preferred stock dividends"
       }
      }
     },
     "localname": "PreferredStockDividendsIncomeStatementImpact",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://nymtrust.com/role/CondensedConsolidatedStatementsOfOperations",
      "http://nymtrust.com/role/EarningsPerShareDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_PreferredStockDividendsPerShareCashPaid": {
     "auth_ref": [],
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Aggregate dividends paid during the period for each share of preferred stock outstanding.",
        "label": "Preferred Stock, Dividends, Per Share, Cash Paid",
        "terseLabel": "Cash Dividend Per Share (in dollars per share)"
       }
      }
     },
     "localname": "PreferredStockDividendsPerShareCashPaid",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://nymtrust.com/role/StockholdersEquityCashDividendsDeclaredPreferredStockDetails"
     ],
     "xbrltype": "perShareItemType"
    },
    "us-gaap_PreferredStockLiquidationPreference": {
     "auth_ref": [
      "r12",
      "r97",
      "r102",
      "r242",
      "r243"
     ],
     "lang": {
      "en-US": {
       "role": {
        "documentation": "The per share liquidation preference (or restrictions) of nonredeemable preferred stock (or preferred stock redeemable solely at the option of the issuer) that has a preference in involuntary liquidation considerably in excess of the par or stated value of the shares. The liquidation preference is the difference between the preference in liquidation and the par or stated values of the share.",
        "label": "Preferred Stock, Liquidation Preference Per Share",
        "terseLabel": "Preferred stock, liquidation preference per share (in dollars per share)",
        "verboseLabel": "Preferred stock, liquidation preference per share (in dollars per share)"
       }
      }
     },
     "localname": "PreferredStockLiquidationPreference",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://nymtrust.com/role/CondensedConsolidatedBalanceSheetsParenthetical",
      "http://nymtrust.com/role/StockholdersEquityNarrativeDetails",
      "http://nymtrust.com/role/SubsequentEventsDetails"
     ],
     "xbrltype": "perShareItemType"
    },
    "us-gaap_PreferredStockMember": {
     "auth_ref": [],
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Preferred shares may provide a preferential dividend to the dividend on common stock and may take precedence over common stock in the event of a liquidation. Preferred shares typically represent an ownership interest in the company.",
        "label": "Preferred Stock [Member]",
        "terseLabel": "Preferred Stock"
       }
      }
     },
     "localname": "PreferredStockMember",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://nymtrust.com/role/CondensedConsolidatedStatementsOfCashFlows",
      "http://nymtrust.com/role/CondensedConsolidatedStatementsOfChangesInStockholdersEquity",
      "http://nymtrust.com/role/StockholdersEquityNarrativeDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_PreferredStockParOrStatedValuePerShare": {
     "auth_ref": [
      "r12"
     ],
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Face amount or stated value per share of preferred stock nonredeemable or redeemable solely at the option of the issuer.",
        "label": "Preferred Stock, Par or Stated Value Per Share",
        "terseLabel": "Preferred stock, par value (in dollars per share)",
        "verboseLabel": "Preferred stock, par value (in dollars per share)"
       }
      }
     },
     "localname": "PreferredStockParOrStatedValuePerShare",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://nymtrust.com/role/CondensedConsolidatedBalanceSheetsParenthetical",
      "http://nymtrust.com/role/StockholdersEquityNarrativeDetails",
      "http://nymtrust.com/role/SubsequentEventsDetails"
     ],
     "xbrltype": "perShareItemType"
    },
    "us-gaap_PreferredStockRedemptionPricePerShare": {
     "auth_ref": [
      "r240",
      "r242",
      "r244"
     ],
     "lang": {
      "en-US": {
       "role": {
        "documentation": "The price per share at which the preferred stock of an entity that has priority over common stock in the distribution of dividends and in the event of liquidation of the entity is redeemed or may be called at. The redemption features of this preferred stock are solely within the control of the issuer.",
        "label": "Preferred Stock, Redemption Price Per Share",
        "terseLabel": "Redemption price (in dollars per share)"
       }
      }
     },
     "localname": "PreferredStockRedemptionPricePerShare",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://nymtrust.com/role/StockholdersEquityNarrativeDetails",
      "http://nymtrust.com/role/SubsequentEventsDetails"
     ],
     "xbrltype": "perShareItemType"
    },
    "us-gaap_PreferredStockShareSubscriptions": {
     "auth_ref": [
      "r12"
     ],
     "lang": {
      "en-US": {
       "role": {
        "documentation": "The number of nonredeemable preferred stock (shares) (or preferred stock redeemable solely at the option of the issuer) allocated to investors to buy shares of a new issue of preferred stock before they are offered to the public. When stock is sold on a subscription basis, the issuer does not initially receive the total proceeds. In general, the issuer does not issue the shares to the investor until it receives the entire proceeds.",
        "label": "Preferred Stock, Shares Subscribed but Unissued",
        "terseLabel": "Preferred stock, shares authorized but unissued"
       }
      }
     },
     "localname": "PreferredStockShareSubscriptions",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://nymtrust.com/role/StockholdersEquityNarrativeDetails"
     ],
     "xbrltype": "sharesItemType"
    },
    "us-gaap_PreferredStockSharesAuthorized": {
     "auth_ref": [
      "r12"
     ],
     "lang": {
      "en-US": {
       "role": {
        "documentation": "The maximum number of nonredeemable preferred shares (or preferred stock redeemable solely at the option of the issuer) permitted to be issued by an entity's charter and bylaws.",
        "label": "Preferred Stock, Shares Authorized",
        "verboseLabel": "Preferred stock, shares authorized (in shares)"
       }
      }
     },
     "localname": "PreferredStockSharesAuthorized",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://nymtrust.com/role/CondensedConsolidatedBalanceSheetsParenthetical",
      "http://nymtrust.com/role/StockholdersEquityNarrativeDetails",
      "http://nymtrust.com/role/SubsequentEventsDetails"
     ],
     "xbrltype": "sharesItemType"
    },
    "us-gaap_PreferredStockSharesIssued": {
     "auth_ref": [
      "r12"
     ],
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Total number of nonredeemable preferred shares (or preferred stock redeemable solely at the option of the issuer) issued to shareholders (includes related preferred shares that were issued, repurchased, and remain in the treasury). May be all or portion of the number of preferred shares authorized. Excludes preferred shares that are classified as debt.",
        "label": "Preferred Stock, Shares Issued",
        "verboseLabel": "Preferred stock, shares issued (in shares)"
       }
      }
     },
     "localname": "PreferredStockSharesIssued",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://nymtrust.com/role/CondensedConsolidatedBalanceSheetsParenthetical",
      "http://nymtrust.com/role/StockholdersEquityNarrativeDetails"
     ],
     "xbrltype": "sharesItemType"
    },
    "us-gaap_PreferredStockSharesOutstanding": {
     "auth_ref": [
      "r12"
     ],
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Aggregate share number for all nonredeemable preferred stock (or preferred stock redeemable solely at the option of the issuer) held by stockholders. Does not include preferred shares that have been repurchased.",
        "label": "Preferred Stock, Shares Outstanding",
        "verboseLabel": "Preferred stock, shares outstanding (in shares)"
       }
      }
     },
     "localname": "PreferredStockSharesOutstanding",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://nymtrust.com/role/CondensedConsolidatedBalanceSheetsParenthetical",
      "http://nymtrust.com/role/StockholdersEquityNarrativeDetails"
     ],
     "xbrltype": "sharesItemType"
    },
    "us-gaap_PreferredStockSharesSubscribedButUnissuedValue": {
     "auth_ref": [
      "r12"
     ],
     "crdr": "credit",
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Amount of subscription received from investors who have been allocated nonredeemable preferred stock or preferred stock redeemable solely at the option of the issuer.",
        "label": "Preferred Stock, Value, Subscriptions",
        "terseLabel": "Equity agreement for preferred stock maximum aggregate sales price (up to)"
       }
      }
     },
     "localname": "PreferredStockSharesSubscribedButUnissuedValue",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://nymtrust.com/role/StockholdersEquityNarrativeDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_PreferredStockValue": {
     "auth_ref": [
      "r12"
     ],
     "calculation": {
      "http://nymtrust.com/role/CondensedConsolidatedBalanceSheets": {
       "order": 1.0,
       "parentTag": "us-gaap_StockholdersEquity",
       "weight": 1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Aggregate par or stated value of issued nonredeemable preferred stock (or preferred stock redeemable solely at the option of the issuer). This item includes treasury stock repurchased by the entity. Note: elements for number of nonredeemable preferred shares, par value and other disclosure concepts are in another section within stockholders' equity.",
        "label": "Preferred Stock, Value, Issued",
        "terseLabel": "Preferred stock"
       }
      }
     },
     "localname": "PreferredStockValue",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://nymtrust.com/role/CondensedConsolidatedBalanceSheets"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_PrincipalAmountOutstandingOnLoansSecuritized": {
     "auth_ref": [
      "r391"
     ],
     "crdr": "credit",
     "lang": {
      "en-US": {
       "role": {
        "documentation": "This is the principal amount outstanding for securitized loans only (across all types of loans).",
        "label": "Principal Amount Outstanding on Loans Securitized or Asset-backed Financing Arrangement",
        "terseLabel": "Principal amount"
       }
      }
     },
     "localname": "PrincipalAmountOutstandingOnLoansSecuritized",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://nymtrust.com/role/UseOfSpecialPurposeEntitiesSpeAndVariableInterestEntitiesVieNarrativeDetails",
      "http://nymtrust.com/role/UseOfSpecialPurposeEntitiesSpeAndVariableInterestEntitiesVieSecuritizedDebtDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_PriorPeriodReclassificationAdjustmentDescription": {
     "auth_ref": [
      "r0"
     ],
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Disclosure of accounting policy for reclassifications that affects the comparability of the financial statements.",
        "label": "Reclassification, Policy [Policy Text Block]",
        "terseLabel": "Reclassifications"
       }
      }
     },
     "localname": "PriorPeriodReclassificationAdjustmentDescription",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://nymtrust.com/role/SummaryOfSignificantAccountingPoliciesPolicies"
     ],
     "xbrltype": "textBlockItemType"
    },
    "us-gaap_ProceedsFromConvertibleDebt": {
     "auth_ref": [
      "r75"
     ],
     "crdr": "debit",
     "lang": {
      "en-US": {
       "role": {
        "documentation": "The cash inflow from the issuance of a long-term debt instrument which can be exchanged for a specified amount of another security, typically the entity's common stock, at the option of the issuer or the holder.",
        "label": "Proceeds from Convertible Debt",
        "terseLabel": "Proceeds from sale of Convertible Notes"
       }
      }
     },
     "localname": "ProceedsFromConvertibleDebt",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://nymtrust.com/role/DebtNarrativeDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_ProceedsFromDivestitureOfInterestInConsolidatedSubsidiaries": {
     "auth_ref": [
      "r67"
     ],
     "calculation": {
      "http://nymtrust.com/role/CondensedConsolidatedStatementsOfCashFlows": {
       "order": 11.0,
       "parentTag": "us-gaap_NetCashProvidedByUsedInInvestingActivities",
       "weight": 1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-US": {
       "role": {
        "documentation": "The cash inflow associated with the deconsolidation of a previously consolidated subsidiary or the sale of investment in consolidated subsidiaries (generally greater than 50 percent).",
        "label": "Proceeds from Divestiture of Interest in Consolidated Subsidiaries",
        "terseLabel": "Net proceeds from sale of real estate held for sale in consolidated variable interest entities"
       }
      }
     },
     "localname": "ProceedsFromDivestitureOfInterestInConsolidatedSubsidiaries",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://nymtrust.com/role/CondensedConsolidatedStatementsOfCashFlows"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_ProceedsFromEquityMethodInvestmentDividendsOrDistributionsReturnOfCapital": {
     "auth_ref": [
      "r67",
      "r80"
     ],
     "calculation": {
      "http://nymtrust.com/role/CondensedConsolidatedStatementsOfCashFlows": {
       "order": 5.0,
       "parentTag": "us-gaap_NetCashProvidedByUsedInInvestingActivities",
       "weight": 1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Amount of distribution received from equity method investee for return of investment, classified as investing activities. Excludes distribution for return on investment, classified as operating activities.",
        "label": "Proceeds from Equity Method Investment, Distribution, Return of Capital",
        "terseLabel": "Return of capital from unconsolidated entity investments"
       }
      }
     },
     "localname": "ProceedsFromEquityMethodInvestmentDividendsOrDistributionsReturnOfCapital",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://nymtrust.com/role/CondensedConsolidatedStatementsOfCashFlows"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_ProceedsFromIssuanceOfCommonStock": {
     "auth_ref": [
      "r74"
     ],
     "crdr": "debit",
     "lang": {
      "en-US": {
       "role": {
        "documentation": "The cash inflow from the additional capital contribution to the entity.",
        "label": "Proceeds from Issuance of Common Stock",
        "terseLabel": "Proceeds from issuance of common stock",
        "verboseLabel": "Net Proceeds"
       }
      }
     },
     "localname": "ProceedsFromIssuanceOfCommonStock",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://nymtrust.com/role/StockholdersEquityNarrativeDetails",
      "http://nymtrust.com/role/StockholdersEquityScheduleOfPublicOfferingOfCommonStockDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_ProceedsFromIssuanceOfPreferredStockAndPreferenceStock": {
     "auth_ref": [
      "r74"
     ],
     "calculation": {
      "http://nymtrust.com/role/CondensedConsolidatedStatementsOfCashFlows": {
       "order": 3.0,
       "parentTag": "us-gaap_NetCashProvidedByUsedInFinancingActivities",
       "weight": 1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Proceeds from issuance of capital stock which provides for a specific dividend that is paid to the shareholders before any dividends to common stockholders and which takes precedence over common stockholders in the event of liquidation.",
        "label": "Proceeds from Issuance of Preferred Stock and Preference Stock",
        "terseLabel": "Preferred stock issuance, net",
        "verboseLabel": "Proceeds from issuance of preferred stock"
       }
      }
     },
     "localname": "ProceedsFromIssuanceOfPreferredStockAndPreferenceStock",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://nymtrust.com/role/CondensedConsolidatedStatementsOfCashFlows",
      "http://nymtrust.com/role/StockholdersEquityNarrativeDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_ProceedsFromLoanAndLeaseOriginationsAndPrincipalCollections1": {
     "auth_ref": [
      "r69"
     ],
     "calculation": {
      "http://nymtrust.com/role/CondensedConsolidatedStatementsOfCashFlows": {
       "order": 15.0,
       "parentTag": "us-gaap_NetCashProvidedByUsedInInvestingActivities",
       "weight": 1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Cash inflow related to a loan origination (the process when securing a mortgage for a piece of real property), lease origination, and principal collections.",
        "label": "Proceeds from Loan and Lease Originations and Principal Collections",
        "terseLabel": "Principal repayments received on loans"
       }
      }
     },
     "localname": "ProceedsFromLoanAndLeaseOriginationsAndPrincipalCollections1",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://nymtrust.com/role/CondensedConsolidatedStatementsOfCashFlows"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_ProceedsFromNotesPayable": {
     "auth_ref": [
      "r75"
     ],
     "calculation": {
      "http://nymtrust.com/role/CondensedConsolidatedStatementsOfCashFlows": {
       "order": 6.0,
       "parentTag": "us-gaap_NetCashProvidedByUsedInFinancingActivities",
       "weight": 1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-US": {
       "role": {
        "documentation": "The cash inflow from a borrowing supported by a written promise to pay an obligation.",
        "label": "Proceeds from Notes Payable",
        "terseLabel": "Proceeds from mortgages and notes payable in consolidated variable interest entities"
       }
      }
     },
     "localname": "ProceedsFromNotesPayable",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://nymtrust.com/role/CondensedConsolidatedStatementsOfCashFlows"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_ProceedsFromPaymentsForInSecuritiesSoldUnderAgreementsToRepurchase": {
     "auth_ref": [
      "r89",
      "r90"
     ],
     "calculation": {
      "http://nymtrust.com/role/CondensedConsolidatedStatementsOfCashFlows": {
       "order": 1.0,
       "parentTag": "us-gaap_NetCashProvidedByUsedInFinancingActivities",
       "weight": 1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-US": {
       "role": {
        "documentation": "The cash flow from investments sold under the agreement to repurchase such investment.",
        "label": "Proceeds from (Payments for) in Securities Sold under Agreements to Repurchase",
        "terseLabel": "Net proceeds from (net payments made on) repurchase agreements"
       }
      }
     },
     "localname": "ProceedsFromPaymentsForInSecuritiesSoldUnderAgreementsToRepurchase",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://nymtrust.com/role/CondensedConsolidatedStatementsOfCashFlows"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_ProceedsFromPrincipalRepaymentsOnLoansAndLeasesHeldForInvestment": {
     "auth_ref": [
      "r66"
     ],
     "calculation": {
      "http://nymtrust.com/role/CondensedConsolidatedStatementsOfCashFlows": {
       "order": 12.0,
       "parentTag": "us-gaap_NetCashProvidedByUsedInInvestingActivities",
       "weight": 1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-US": {
       "role": {
        "documentation": "The cash inflow from repayments of the balance excluding interest (principal) on loans receivable and leases held for investment purposes.",
        "label": "Proceeds from Principal Repayments on Loans and Leases Held-for-investment",
        "terseLabel": "Proceeds from mortgage loans held for investment"
       }
      }
     },
     "localname": "ProceedsFromPrincipalRepaymentsOnLoansAndLeasesHeldForInvestment",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://nymtrust.com/role/CondensedConsolidatedStatementsOfCashFlows"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_ProceedsFromRepurchaseOfEquity": {
     "auth_ref": [
      "r112"
     ],
     "calculation": {
      "http://nymtrust.com/role/CondensedConsolidatedStatementsOfCashFlows": {
       "order": 2.0,
       "parentTag": "us-gaap_NetCashProvidedByUsedInFinancingActivities",
       "weight": 1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-US": {
       "role": {
        "documentation": "The net cash inflow or outflow resulting from the entity's share transaction.",
        "label": "Proceeds from (Repurchase of) Equity",
        "terseLabel": "Common stock issuance, net"
       }
      }
     },
     "localname": "ProceedsFromRepurchaseOfEquity",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://nymtrust.com/role/CondensedConsolidatedStatementsOfCashFlows"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_ProceedsFromSaleAndMaturityOfAvailableForSaleSecurities": {
     "auth_ref": [
      "r65",
      "r66",
      "r162"
     ],
     "calculation": {
      "http://nymtrust.com/role/CondensedConsolidatedStatementsOfCashFlows": {
       "order": 7.0,
       "parentTag": "us-gaap_NetCashProvidedByUsedInInvestingActivities",
       "weight": 1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Amount of cash inflow from sale, maturity, prepayment and call of investment in debt security measured at fair value with change in fair value recognized in other comprehensive income (available-for-sale).",
        "label": "Proceeds from Sale and Maturity of Debt Securities, Available-for-sale",
        "terseLabel": "Principal paydowns on investment securities - available for sale"
       }
      }
     },
     "localname": "ProceedsFromSaleAndMaturityOfAvailableForSaleSecurities",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://nymtrust.com/role/CondensedConsolidatedStatementsOfCashFlows"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_ProceedsFromSaleOfAvailableForSaleSecuritiesDebt": {
     "auth_ref": [
      "r65",
      "r66",
      "r162"
     ],
     "crdr": "debit",
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Amount of cash inflow from sale of investment in debt security measured at fair value with change in fair value recognized in other comprehensive income (available-for-sale).",
        "label": "Proceeds from Sale of Debt Securities, Available-for-sale",
        "terseLabel": "Proceeds from sales of investment securities"
       }
      }
     },
     "localname": "ProceedsFromSaleOfAvailableForSaleSecuritiesDebt",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://nymtrust.com/role/InvestmentSecuritiesAvailableForSaleNarrativeDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_ProceedsFromSaleOfEquityMethodInvestments": {
     "auth_ref": [
      "r67"
     ],
     "calculation": {
      "http://nymtrust.com/role/CondensedConsolidatedStatementsOfCashFlows": {
       "order": 10.0,
       "parentTag": "us-gaap_NetCashProvidedByUsedInInvestingActivities",
       "weight": 1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-US": {
       "role": {
        "documentation": "The cash inflow associated with the sale of equity method investments, which are investments in joint ventures and entities in which the entity has an equity ownership interest normally of 20 to 50 percent and exercises significant influence.",
        "label": "Proceeds from Sale of Equity Method Investments",
        "terseLabel": "Principal repayments received on preferred equity and mezzanine loan investments"
       }
      }
     },
     "localname": "ProceedsFromSaleOfEquityMethodInvestments",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://nymtrust.com/role/CondensedConsolidatedStatementsOfCashFlows"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_ProceedsFromSaleOfLongtermInvestments": {
     "auth_ref": [
      "r69"
     ],
     "calculation": {
      "http://nymtrust.com/role/CondensedConsolidatedStatementsOfCashFlows": {
       "order": 1.0,
       "parentTag": "us-gaap_NetCashProvidedByUsedInInvestingActivities",
       "weight": 1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-US": {
       "role": {
        "documentation": "The cash inflow from sales of all investments, including securities and other assets, having ready marketability and intended by management to be liquidated, if necessary, beyond the current operating cycle.",
        "label": "Proceeds from Sale of Long-term Investments",
        "terseLabel": "Proceeds from sales of investment securities"
       }
      }
     },
     "localname": "ProceedsFromSaleOfLongtermInvestments",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://nymtrust.com/role/CondensedConsolidatedStatementsOfCashFlows"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_ProceedsFromSaleOfRealEstateHeldforinvestment": {
     "auth_ref": [
      "r68"
     ],
     "calculation": {
      "http://nymtrust.com/role/CondensedConsolidatedStatementsOfCashFlows": {
       "order": 8.0,
       "parentTag": "us-gaap_NetCashProvidedByUsedInInvestingActivities",
       "weight": 1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Cash received from the sale of real estate that is held for investment, that is, it is part of an investing activity during the period.",
        "label": "Proceeds from Sale of Real Estate Held-for-investment",
        "terseLabel": "Proceeds from sale of real estate owned"
       }
      }
     },
     "localname": "ProceedsFromSaleOfRealEstateHeldforinvestment",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://nymtrust.com/role/CondensedConsolidatedStatementsOfCashFlows"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_ProfitLoss": {
     "auth_ref": [
      "r49",
      "r52",
      "r79",
      "r140",
      "r142",
      "r302",
      "r304",
      "r306",
      "r321",
      "r322"
     ],
     "calculation": {
      "http://nymtrust.com/role/CondensedConsolidatedStatementsOfCashFlows": {
       "order": 1.0,
       "parentTag": "us-gaap_NetCashProvidedByUsedInOperatingActivities",
       "weight": 1.0
      },
      "http://nymtrust.com/role/CondensedConsolidatedStatementsOfOperations": {
       "order": 1.0,
       "parentTag": "us-gaap_NetIncomeLoss",
       "weight": 1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-US": {
       "role": {
        "documentation": "The consolidated profit or loss for the period, net of income taxes, including the portion attributable to the noncontrolling interest.",
        "label": "Net Income (Loss), Including Portion Attributable to Noncontrolling Interest",
        "terseLabel": "Net income",
        "totalLabel": "NET INCOME",
        "verboseLabel": "Net income"
       }
      }
     },
     "localname": "ProfitLoss",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://nymtrust.com/role/CondensedConsolidatedStatementsOfCashFlows",
      "http://nymtrust.com/role/CondensedConsolidatedStatementsOfChangesInStockholdersEquity",
      "http://nymtrust.com/role/CondensedConsolidatedStatementsOfOperations"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_ProfitLossFromRealEstateOperations": {
     "auth_ref": [
      "r426"
     ],
     "calculation": {
      "http://nymtrust.com/role/CondensedConsolidatedStatementsOfOperations": {
       "order": 3.0,
       "parentTag": "us-gaap_NoninterestIncome",
       "weight": 1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-US": {
       "role": {
        "documentation": "The net cost of operation of other real estate (including provisions for real estate losses, rental income, and gains and losses on sales of real estate).",
        "label": "Profit (Loss) from Real Estate Operations",
        "terseLabel": "Income from real estate held for sale in consolidated variable interest entities"
       }
      }
     },
     "localname": "ProfitLossFromRealEstateOperations",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://nymtrust.com/role/CondensedConsolidatedStatementsOfOperations"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_ProvisionForLoanLeaseAndOtherLosses": {
     "auth_ref": [
      "r85",
      "r147",
      "r424"
     ],
     "crdr": "debit",
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Amount of expense related loan transactions, lease transactions, credit loss from transactions other than loan and lease transactions, and other loss based on assessment of uncollectability from the counterparty to reduce the account to their net realizable value.",
        "label": "Provision for Loan, Lease, and Other Losses",
        "terseLabel": "Provision for (recovery of) loan losses"
       }
      }
     },
     "localname": "ProvisionForLoanLeaseAndOtherLosses",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://nymtrust.com/role/DistressedAndOtherResidentialMortgageLoansNetAllowanceForLoanLossesOnResidentialMortgageLoansHeldInSecuritizationTrustsDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_RealEstateAbstract": {
     "auth_ref": [],
     "lang": {
      "en-US": {
       "role": {
        "label": "Real Estate [Abstract]"
       }
      }
     },
     "localname": "RealEstateAbstract",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "xbrltype": "stringItemType"
    },
    "us-gaap_RealEstateDisclosureTextBlock": {
     "auth_ref": [
      "r483",
      "r484",
      "r485",
      "r486",
      "r487"
     ],
     "lang": {
      "en-US": {
       "role": {
        "documentation": "The entire disclosure for certain real estate investment financial statements, real estate investment trust operating support agreements, real estate owned, retail land sales, time share transactions, as well as other real estate related disclosures.",
        "label": "Real Estate Disclosure [Text Block]",
        "terseLabel": "Real Estate Held for Sale in Consolidated VIEs"
       }
      }
     },
     "localname": "RealEstateDisclosureTextBlock",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://nymtrust.com/role/RealEstateHeldForSaleInConsolidatedVies"
     ],
     "xbrltype": "textBlockItemType"
    },
    "us-gaap_RealEstateHeldforsale": {
     "auth_ref": [
      "r452"
     ],
     "calculation": {
      "http://nymtrust.com/role/CondensedConsolidatedBalanceSheets": {
       "order": 8.0,
       "parentTag": "us-gaap_Assets",
       "weight": 1.0
      },
      "http://nymtrust.com/role/RealEstateHeldForSaleInConsolidatedViesDetails": {
       "order": 1.0,
       "parentTag": "us-gaap_RealEstateInvestmentPropertyNet",
       "weight": 1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Carrying amount as of the balance sheet date of investments in land and buildings held for sale, excluding real estate considered to be inventory of the entity.",
        "label": "Real Estate Held-for-sale",
        "terseLabel": "Real estate held for sale in consolidated variable interest entities",
        "totalLabel": "Real estate held for sale before accumulated depreciation and amortization"
       }
      }
     },
     "localname": "RealEstateHeldforsale",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://nymtrust.com/role/CondensedConsolidatedBalanceSheets",
      "http://nymtrust.com/role/RealEstateHeldForSaleInConsolidatedViesDetails",
      "http://nymtrust.com/role/UseOfSpecialPurposeEntitiesSpeAndVariableInterestEntitiesVieAssetsAndLiabilitiesOfConsolidatedViesDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_RealEstateInvestmentPropertyAccumulatedDepreciation": {
     "auth_ref": [
      "r449"
     ],
     "calculation": {
      "http://nymtrust.com/role/RealEstateHeldForSaleInConsolidatedViesDetails": {
       "order": 2.0,
       "parentTag": "us-gaap_RealEstateInvestmentPropertyNet",
       "weight": -1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-US": {
       "role": {
        "documentation": "The cumulative amount of depreciation for real estate property held for investment purposes.",
        "label": "Real Estate Investment Property, Accumulated Depreciation",
        "negatedLabel": "Accumulated depreciation"
       }
      }
     },
     "localname": "RealEstateInvestmentPropertyAccumulatedDepreciation",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://nymtrust.com/role/RealEstateHeldForSaleInConsolidatedViesDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_RealEstateInvestmentPropertyNet": {
     "auth_ref": [
      "r451"
     ],
     "calculation": {
      "http://nymtrust.com/role/RealEstateHeldForSaleInConsolidatedViesDetails": {
       "order": null,
       "parentTag": null,
       "root": true,
       "weight": null
      }
     },
     "crdr": "debit",
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Amount of real estate investment property, net of accumulated depreciation, which may include the following: (1) land available-for-sale; (2) land available-for-development; (3) investments in building and building improvements; (4) tenant allowances; (5) developments in-process; (6) rental properties; and (7) other real estate investments.",
        "label": "Real Estate Investment Property, Net",
        "totalLabel": "Real estate held for sale in consolidated variable interest entities"
       }
      }
     },
     "localname": "RealEstateInvestmentPropertyNet",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://nymtrust.com/role/RealEstateHeldForSaleInConsolidatedViesDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_RealizedInvestmentGainsLosses": {
     "auth_ref": [
      "r459"
     ],
     "calculation": {
      "http://nymtrust.com/role/CondensedConsolidatedStatementsOfCashFlows": {
       "order": 3.0,
       "parentTag": "us-gaap_NetCashProvidedByUsedInOperatingActivities",
       "weight": -1.0
      },
      "http://nymtrust.com/role/CondensedConsolidatedStatementsOfOperations": {
       "order": 1.0,
       "parentTag": "us-gaap_NoninterestIncome",
       "weight": 1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-US": {
       "role": {
        "documentation": "The net realized gains or losses on investments during the period, not including gains or losses on securities separately or otherwise categorized as trading, available-for-sale, or held-to-maturity.",
        "label": "Realized Investment Gains (Losses)",
        "negatedLabel": "Realized (gains) losses, net",
        "terseLabel": "Realized gains (losses), net"
       }
      }
     },
     "localname": "RealizedInvestmentGainsLosses",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://nymtrust.com/role/CondensedConsolidatedStatementsOfCashFlows",
      "http://nymtrust.com/role/CondensedConsolidatedStatementsOfOperations"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_ReceivableTypeDomain": {
     "auth_ref": [
      "r33"
     ],
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Financing arrangement representing a contractual right to receive money either on demand or on fixed and determinable dates.",
        "label": "Receivable [Domain]",
        "terseLabel": "Receivable [Domain]"
       }
      }
     },
     "localname": "ReceivableTypeDomain",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://nymtrust.com/role/CondensedConsolidatedBalanceSheets",
      "http://nymtrust.com/role/CondensedConsolidatedStatementsOfOperations",
      "http://nymtrust.com/role/DebtNarrativeDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_ReceivablesNetCurrent": {
     "auth_ref": [
      "r14",
      "r20",
      "r447",
      "r469"
     ],
     "calculation": {
      "http://nymtrust.com/role/ConsolidatedKSeriesCondensedBalanceSheetOfConsolidatedKSeriesDetails": {
       "order": 2.0,
       "parentTag": "us-gaap_Assets",
       "weight": 1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-US": {
       "role": {
        "documentation": "The total amount due to the entity within one year of the balance sheet date (or one operating cycle, if longer) from outside sources, including trade accounts receivable, notes and loans receivable, as well as any other types of receivables, net of allowances established for the purpose of reducing such receivables to an amount that approximates their net realizable value.",
        "label": "Receivables, Net, Current",
        "terseLabel": "Receivables"
       }
      }
     },
     "localname": "ReceivablesNetCurrent",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://nymtrust.com/role/ConsolidatedKSeriesCondensedBalanceSheetOfConsolidatedKSeriesDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_RepaymentsOfNotesPayable": {
     "auth_ref": [
      "r77"
     ],
     "calculation": {
      "http://nymtrust.com/role/CondensedConsolidatedStatementsOfCashFlows": {
       "order": 5.0,
       "parentTag": "us-gaap_NetCashProvidedByUsedInFinancingActivities",
       "weight": -1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-US": {
       "role": {
        "documentation": "The cash outflow for a borrowing supported by a written promise to pay an obligation.",
        "label": "Repayments of Notes Payable",
        "negatedTerseLabel": "Payments made on mortgages and notes payable in consolidated variable interest entities"
       }
      }
     },
     "localname": "RepaymentsOfNotesPayable",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://nymtrust.com/role/CondensedConsolidatedStatementsOfCashFlows"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_RepaymentsOfSecuredDebt": {
     "auth_ref": [
      "r77"
     ],
     "calculation": {
      "http://nymtrust.com/role/CondensedConsolidatedStatementsOfCashFlows": {
       "order": 9.0,
       "parentTag": "us-gaap_NetCashProvidedByUsedInFinancingActivities",
       "weight": -1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-US": {
       "role": {
        "documentation": "The cash outflow to repay long-term debt that is wholly or partially secured by collateral. Excludes repayments of tax exempt secured debt.",
        "label": "Repayments of Secured Debt",
        "negatedLabel": "Extinguishment of and payments made on securitized debt"
       }
      }
     },
     "localname": "RepaymentsOfSecuredDebt",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://nymtrust.com/role/CondensedConsolidatedStatementsOfCashFlows"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_RepurchaseAgreementCounterpartyWeightedAverageMaturityOfAgreements1": {
     "auth_ref": [
      "r109"
     ],
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Weighted average maturity (weighted by amount of the agreement) of repurchase agreements with the counterparty, in 'PnYnMnDTnHnMnS' format, for example, 'P1Y5M13D' represents the reported fact of one year, five months, and thirteen days.",
        "label": "Repurchase Agreement Counterparty, Weighted Average Maturity of Agreements",
        "terseLabel": "Average days to maturity",
        "verboseLabel": "Weighted Average Months to Maturity"
       }
      }
     },
     "localname": "RepurchaseAgreementCounterpartyWeightedAverageMaturityOfAgreements1",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://nymtrust.com/role/RepurchaseAgreementsBorrowingsUnderFinancingArrangementsAndAssociatedAssetsPledgedAsCollateralDetails",
      "http://nymtrust.com/role/RepurchaseAgreementsNarrativeDetails"
     ],
     "xbrltype": "durationItemType"
    },
    "us-gaap_RepurchaseAgreementsMember": {
     "auth_ref": [],
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Investments represented by an agreement between the entity and another party for the sale and repurchase of identical or substantially the same securities at a date certain for a specified price. Such agreements are generally short-term in nature.",
        "label": "Repurchase Agreements [Member]",
        "terseLabel": "Repurchase agreements"
       }
      }
     },
     "localname": "RepurchaseAgreementsMember",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://nymtrust.com/role/CondensedConsolidatedBalanceSheets"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_RepurchaseAgreementsResaleAgreementsSecuritiesBorrowedAndSecuritiesLoanedDisclosureTextBlock": {
     "auth_ref": [
      "r400"
     ],
     "lang": {
      "en-US": {
       "role": {
        "documentation": "The entire disclosure for repurchase agreements (also known as repos), resale agreements (also known as reverse repurchase agreements or reverse repos), securities borrowed transactions, and securities loaned transactions.",
        "label": "Repurchase Agreements, Resale Agreements, Securities Borrowed, and Securities Loaned Disclosure [Text Block]",
        "terseLabel": "Repurchase Agreements"
       }
      }
     },
     "localname": "RepurchaseAgreementsResaleAgreementsSecuritiesBorrowedAndSecuritiesLoanedDisclosureTextBlock",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://nymtrust.com/role/RepurchaseAgreements"
     ],
     "xbrltype": "textBlockItemType"
    },
    "us-gaap_ResidentialMortgageBackedSecuritiesMember": {
     "auth_ref": [
      "r164",
      "r255"
     ],
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Securities collateralized by residential real estate mortgage loans.",
        "label": "Residential Mortgage Backed Securities [Member]",
        "terseLabel": "Residential Mortgage Backed Securities"
       }
      }
     },
     "localname": "ResidentialMortgageBackedSecuritiesMember",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://nymtrust.com/role/RepurchaseAgreementsNarrativeDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_ResidentialMortgageMember": {
     "auth_ref": [
      "r201"
     ],
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Loan to purchase or refinance residential real estate for example, but not limited to, a home, in which the real estate itself serves as collateral for the loan.",
        "label": "Residential Mortgage [Member]",
        "terseLabel": "Residential Mortgage"
       }
      }
     },
     "localname": "ResidentialMortgageMember",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://nymtrust.com/role/DistressedAndOtherResidentialMortgageLoansNetNarrativeDetails",
      "http://nymtrust.com/role/RepurchaseAgreementsBorrowingsUnderFinancingArrangementsAndAssociatedAssetsPledgedAsCollateralDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_RestrictedCashAndCashEquivalents": {
     "auth_ref": [
      "r4",
      "r88",
      "r95",
      "r404",
      "r443"
     ],
     "calculation": {
      "http://nymtrust.com/role/CondensedConsolidatedStatementsOfCashFlows": {
       "order": 2.0,
       "parentTag": "us-gaap_CashCashEquivalentsRestrictedCashAndRestrictedCashEquivalents",
       "weight": 1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Amount of cash and cash equivalents restricted as to withdrawal or usage. Cash includes, but is not limited to, currency on hand, demand deposits with banks or financial institutions, and other accounts with general characteristics of demand deposits. Cash equivalents include, but are not limited to, short-term, highly liquid investments that are both readily convertible to known amounts of cash and so near their maturity that they present insignificant risk of changes in value because of changes in interest rates.",
        "label": "Restricted Cash and Cash Equivalents",
        "terseLabel": "Restricted cash included in receivables and other assets"
       }
      }
     },
     "localname": "RestrictedCashAndCashEquivalents",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://nymtrust.com/role/CondensedConsolidatedStatementsOfCashFlows"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_RestrictedStockMember": {
     "auth_ref": [
      "r127"
     ],
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Stock including a provision that prohibits sale or substantive sale of an equity instrument for a specified period of time or until specified performance conditions are met.",
        "label": "Restricted Stock [Member]",
        "terseLabel": "Restricted Stock"
       }
      }
     },
     "localname": "RestrictedStockMember",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://nymtrust.com/role/StockBasedCompensationNarrativeDetails",
      "http://nymtrust.com/role/StockBasedCompensationNonVestedRestrictedStockAndPsuAwardActivityDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_RetainedEarningsAccumulatedDeficit": {
     "auth_ref": [
      "r16",
      "r250",
      "r444"
     ],
     "calculation": {
      "http://nymtrust.com/role/CondensedConsolidatedBalanceSheets": {
       "order": 5.0,
       "parentTag": "us-gaap_StockholdersEquity",
       "weight": 1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-US": {
       "role": {
        "documentation": "The cumulative amount of the reporting entity's undistributed earnings or deficit.",
        "label": "Retained Earnings (Accumulated Deficit)",
        "terseLabel": "Accumulated deficit"
       }
      }
     },
     "localname": "RetainedEarningsAccumulatedDeficit",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://nymtrust.com/role/CondensedConsolidatedBalanceSheets"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_RetainedEarningsMember": {
     "auth_ref": [],
     "lang": {
      "en-US": {
       "role": {
        "documentation": "The cumulative amount of the reporting entity's undistributed earnings or deficit.",
        "label": "Retained Earnings [Member]",
        "terseLabel": "Retained Earnings (Accumulated Deficit)"
       }
      }
     },
     "localname": "RetainedEarningsMember",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://nymtrust.com/role/CondensedConsolidatedStatementsOfChangesInStockholdersEquity"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_SaleOfStockConsiderationReceivedOnTransaction": {
     "auth_ref": [],
     "crdr": "debit",
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Cash received on stock transaction after deduction of issuance costs.",
        "label": "Sale of Stock, Consideration Received on Transaction",
        "terseLabel": "Proceeds from issuance of shares"
       }
      }
     },
     "localname": "SaleOfStockConsiderationReceivedOnTransaction",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://nymtrust.com/role/SubsequentEventsDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_SaleOfStockNameOfTransactionDomain": {
     "auth_ref": [],
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Sale of the entity's stock, including, but not limited to, initial public offering (IPO) and private placement.",
        "label": "Sale of Stock [Domain]",
        "terseLabel": "Sale of Stock [Domain]"
       }
      }
     },
     "localname": "SaleOfStockNameOfTransactionDomain",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://nymtrust.com/role/StockholdersEquityNarrativeDetails",
      "http://nymtrust.com/role/StockholdersEquityScheduleOfPublicOfferingOfCommonStockDetails",
      "http://nymtrust.com/role/SubsequentEventsDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_SaleOfStockNumberOfSharesIssuedInTransaction": {
     "auth_ref": [],
     "lang": {
      "en-US": {
       "role": {
        "documentation": "The number of shares issued or sold by the subsidiary or equity method investee per stock transaction.",
        "label": "Sale of Stock, Number of Shares Issued in Transaction",
        "terseLabel": "Shares issued (in shares)"
       }
      }
     },
     "localname": "SaleOfStockNumberOfSharesIssuedInTransaction",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://nymtrust.com/role/SubsequentEventsDetails"
     ],
     "xbrltype": "sharesItemType"
    },
    "us-gaap_SaleOfStockPricePerShare": {
     "auth_ref": [],
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Per share amount received by subsidiary or equity investee for each share of common stock issued or sold in the stock transaction.",
        "label": "Sale of Stock, Price Per Share",
        "terseLabel": "Sale of stock, price per share (in dollars per share)"
       }
      }
     },
     "localname": "SaleOfStockPricePerShare",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://nymtrust.com/role/StockholdersEquityNarrativeDetails"
     ],
     "xbrltype": "perShareItemType"
    },
    "us-gaap_ScheduleOfAccountsNotesLoansAndFinancingReceivableTextBlock": {
     "auth_ref": [
      "r33"
     ],
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Tabular disclosure of the various types of trade accounts and notes receivable and for each the gross carrying value, allowance, and net carrying value as of the balance sheet date. Presentation is categorized by current, noncurrent and unclassified receivables.",
        "label": "Schedule of Accounts, Notes, Loans and Financing Receivable [Table Text Block]",
        "terseLabel": "Schedule of Residential Mortgage Loans Held in Securitization Trusts (Net)"
       }
      }
     },
     "localname": "ScheduleOfAccountsNotesLoansAndFinancingReceivableTextBlock",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://nymtrust.com/role/DistressedAndOtherResidentialMortgageLoansNetTables"
     ],
     "xbrltype": "textBlockItemType"
    },
    "us-gaap_ScheduleOfAssetsSoldUnderAgreementsToRepurchaseTable": {
     "auth_ref": [
      "r108"
     ],
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Schedule, as of the most recent balance sheet date, of securities or other assets sold under repurchase agreements when this amount exceeds 10 percent of total assets. Disclosure may include the following: the type of securities or assets sold under agreements to repurchase, the carrying amount, market value (including accrued interest plus any cash or other assets on deposit. The information is segregated into securities maturing (1) overnight; (2) term up to 30 days; (3) term of 30 to 90 days; (4) term over 90 days; (5) demand.",
        "label": "Schedule of Assets Sold under Agreements to Repurchase [Table]",
        "terseLabel": "Schedule of Assets Sold under Agreements to Repurchase [Table]"
       }
      }
     },
     "localname": "ScheduleOfAssetsSoldUnderAgreementsToRepurchaseTable",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://nymtrust.com/role/RepurchaseAgreementsOutstandingRepurchaseAgreementBorrowingsByContractualMaturityDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_ScheduleOfAvailableForSaleSecuritiesLineItems": {
     "auth_ref": [],
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Line items represent financial concepts included in a table. These concepts are used to disclose reportable information associated with domain members defined in one or many axes to the table.",
        "label": "Debt Securities, Available-for-sale [Line Items]",
        "terseLabel": "Debt Securities, Available-for-sale [Line Items]"
       }
      }
     },
     "localname": "ScheduleOfAvailableForSaleSecuritiesLineItems",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://nymtrust.com/role/InvestmentSecuritiesAvailableForSaleScheduleOfAvailableForSaleSecuritiesDetails",
      "http://nymtrust.com/role/InvestmentSecuritiesAvailableForSaleScheduleOfInvestmentSecuritiesAvailableForSaleInUnrealizedLossPositionDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_ScheduleOfAvailableForSaleSecuritiesReconciliationTableTextBlock": {
     "auth_ref": [],
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Tabular disclosure of the reconciliation of available-for-sale securities from cost basis to fair value.",
        "label": "Schedule of Available-for-sale Securities Reconciliation [Table Text Block]",
        "terseLabel": "Schedule of Available for Sale Securities"
       }
      }
     },
     "localname": "ScheduleOfAvailableForSaleSecuritiesReconciliationTableTextBlock",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://nymtrust.com/role/InvestmentSecuritiesAvailableForSaleTables"
     ],
     "xbrltype": "textBlockItemType"
    },
    "us-gaap_ScheduleOfComponentsOfIncomeTaxExpenseBenefitTableTextBlock": {
     "auth_ref": [
      "r292"
     ],
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Tabular disclosure of the components of income tax expense attributable to continuing operations for each year presented including, but not limited to: current tax expense (benefit), deferred tax expense (benefit), investment tax credits, government grants, the benefits of operating loss carryforwards, tax expense that results from allocating certain tax benefits either directly to contributed capital or to reduce goodwill or other noncurrent intangible assets of an acquired entity, adjustments of a deferred tax liability or asset for enacted changes in tax laws or rates or a change in the tax status of the entity, and adjustments of the beginning-of-the-year balances of a valuation allowance because of a change in circumstances that causes a change in judgment about the realizability of the related deferred tax asset in future years.",
        "label": "Schedule of Components of Income Tax Expense (Benefit) [Table Text Block]",
        "terseLabel": "Schedule of Components of Income Tax Provision"
       }
      }
     },
     "localname": "ScheduleOfComponentsOfIncomeTaxExpenseBenefitTableTextBlock",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://nymtrust.com/role/IncomeTaxesTables"
     ],
     "xbrltype": "textBlockItemType"
    },
    "us-gaap_ScheduleOfDebtInstrumentsTextBlock": {
     "auth_ref": [
      "r29",
      "r104",
      "r242",
      "r247",
      "r248",
      "r249",
      "r376",
      "r377",
      "r379",
      "r436"
     ],
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Tabular disclosure of long-debt instruments or arrangements, including identification, terms, features, collateral requirements and other information necessary to a fair presentation. These are debt arrangements that originally required repayment more than twelve months after issuance or greater than the normal operating cycle of the entity, if longer.",
        "label": "Schedule of Long-term Debt Instruments [Table Text Block]",
        "terseLabel": "Schedule of Long-term Debt Instruments"
       }
      }
     },
     "localname": "ScheduleOfDebtInstrumentsTextBlock",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://nymtrust.com/role/DebtTables"
     ],
     "xbrltype": "textBlockItemType"
    },
    "us-gaap_ScheduleOfDeferredTaxAssetsAndLiabilitiesTableTextBlock": {
     "auth_ref": [
      "r285"
     ],
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Tabular disclosure of the components of net deferred tax asset or liability recognized in an entity's statement of financial position, including the following: the total of all deferred tax liabilities, the total of all deferred tax assets, the total valuation allowance recognized for deferred tax assets.",
        "label": "Schedule of Deferred Tax Assets and Liabilities [Table Text Block]",
        "terseLabel": "Schedule of Deferred Tax Assets and Liabilities"
       }
      }
     },
     "localname": "ScheduleOfDeferredTaxAssetsAndLiabilitiesTableTextBlock",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://nymtrust.com/role/IncomeTaxesTables"
     ],
     "xbrltype": "textBlockItemType"
    },
    "us-gaap_ScheduleOfDerivativeInstrumentsTextBlock": {
     "auth_ref": [
      "r110",
      "r325",
      "r327",
      "r328",
      "r331",
      "r332",
      "r339",
      "r341",
      "r346",
      "r347"
     ],
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Tabular disclosure of pertinent information about a derivative or group of derivatives on a disaggregated basis, such as for individual instruments, or small groups of similar instruments. May include a combination of the type of instrument, risks being hedged, notional amount, hedge designation, related hedged item, inception date, maturity date, or other relevant item.",
        "label": "Schedule of Derivative Instruments [Table Text Block]",
        "terseLabel": "Schedule of Fair Value of Derivative Instruments Not Designated"
       }
      }
     },
     "localname": "ScheduleOfDerivativeInstrumentsTextBlock",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://nymtrust.com/role/DerivativeInstrumentsAndHedgingActivitiesTables"
     ],
     "xbrltype": "textBlockItemType"
    },
    "us-gaap_ScheduleOfDividendsPayableTextBlock": {
     "auth_ref": [
      "r92"
     ],
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Tabular disclosure of all or some of the information related to dividends declared, but not paid, as of the financial reporting date.",
        "label": "Schedule of Dividends Payable [Table Text Block]",
        "terseLabel": "Schedule of Dividends Declared"
       }
      }
     },
     "localname": "ScheduleOfDividendsPayableTextBlock",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://nymtrust.com/role/StockholdersEquityTables"
     ],
     "xbrltype": "textBlockItemType"
    },
    "us-gaap_ScheduleOfEarningsPerShareBasicAndDilutedTableTextBlock": {
     "auth_ref": [
      "r128"
     ],
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Tabular disclosure of an entity's basic and diluted earnings per share calculations, including a reconciliation of numerators and denominators of the basic and diluted per-share computations for income from continuing operations.",
        "label": "Schedule of Earnings Per Share, Basic and Diluted [Table Text Block]",
        "terseLabel": "Schedule of Computation of Basic and Dilutive Net Income Per Share"
       }
      }
     },
     "localname": "ScheduleOfEarningsPerShareBasicAndDilutedTableTextBlock",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://nymtrust.com/role/EarningsPerShareTables"
     ],
     "xbrltype": "textBlockItemType"
    },
    "us-gaap_ScheduleOfEquityMethodInvestmentsLineItems": {
     "auth_ref": [],
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Line items represent financial concepts included in a table. These concepts are used to disclose reportable information associated with domain members defined in one or many axes to the table.",
        "label": "Schedule of Equity Method Investments [Line Items]",
        "terseLabel": "Schedule of Equity Method Investments [Line Items]"
       }
      }
     },
     "localname": "ScheduleOfEquityMethodInvestmentsLineItems",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://nymtrust.com/role/InvestmentsInUnconsolidatedEntitiesDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_ScheduleOfEquityMethodInvestmentsTable": {
     "auth_ref": [
      "r186"
     ],
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Summarization of information required and determined to be disclosed concerning equity method investments in common stock. The summarized information includes: (a) the name of each investee or group of investees for which combined disclosure is appropriate, (2) the percentage ownership of common stock, (3) the difference, if any, between the carrying amount of an investment and the value of the underlying equity in the net assets and the accounting treatment of difference, if any, and (4) the aggregate value of each identified investment based on its quoted market price, if available.",
        "label": "Schedule of Equity Method Investments [Table]",
        "terseLabel": "Schedule of Equity Method Investments [Table]"
       }
      }
     },
     "localname": "ScheduleOfEquityMethodInvestmentsTable",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://nymtrust.com/role/InvestmentsInUnconsolidatedEntitiesDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_ScheduleOfFairValueAssetsAndLiabilitiesMeasuredOnRecurringBasisTableTextBlock": {
     "auth_ref": [
      "r350",
      "r351"
     ],
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Tabular disclosure of assets and liabilities, including [financial] instruments measured at fair value that are classified in stockholders' equity, if any, that are measured at fair value on a recurring basis. The disclosures contemplated herein include the fair value measurements at the reporting date by the level within the fair value hierarchy in which the fair value measurements in their entirety fall, segregating fair value measurements using quoted prices in active markets for identical assets (Level 1), significant other observable inputs (Level 2), and significant unobservable inputs (Level 3).",
        "label": "Schedule of Fair Value, Assets and Liabilities Measured on Recurring Basis [Table Text Block]",
        "terseLabel": "Schedule of Financial Instruments Measured at Fair Value on a Recurring Basis"
       }
      }
     },
     "localname": "ScheduleOfFairValueAssetsAndLiabilitiesMeasuredOnRecurringBasisTableTextBlock",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://nymtrust.com/role/FairValueOfFinancialInstrumentsTables"
     ],
     "xbrltype": "textBlockItemType"
    },
    "us-gaap_ScheduleOfFinancialInstrumentsOwnedAndPledgedAsCollateralTextBlock": {
     "auth_ref": [
      "r394",
      "r396"
     ],
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Tabular disclosure of financial instruments held by the entity for its own account for trading or investment purposes that are carried at fair value and pledged to counterparties as collateral for financing transactions. Description may include equity, fixed income, debt or other securities.",
        "label": "Schedule of Financial Instruments Owned and Pledged as Collateral [Table Text Block]",
        "terseLabel": "Schedule of Borrowings Under Financing Arrangements and Assets Pledged as Collateral"
       }
      }
     },
     "localname": "ScheduleOfFinancialInstrumentsOwnedAndPledgedAsCollateralTextBlock",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://nymtrust.com/role/RepurchaseAgreementsTables"
     ],
     "xbrltype": "textBlockItemType"
    },
    "us-gaap_ScheduleOfFinancingReceivablesPastDueTable": {
     "auth_ref": [
      "r196",
      "r202"
     ],
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Disclosure of information about aging analysis for financing receivable.",
        "label": "Financing Receivable, Past Due [Table]",
        "terseLabel": "Financing Receivable, Past Due [Table]"
       }
      }
     },
     "localname": "ScheduleOfFinancingReceivablesPastDueTable",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://nymtrust.com/role/DistressedAndOtherResidentialMortgageLoansNetDelinquenciesInPortfolioOfResidentialMortgageLoansHeldInSecuritizationTrustsDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_ScheduleOfInvestmentsLineItems": {
     "auth_ref": [],
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Line items represent financial concepts included in a table. These concepts are used to disclose reportable information associated with domain members defined in one or many axes to the table.",
        "label": "Schedule of Investments [Line Items]",
        "terseLabel": "Schedule of Investments [Line Items]"
       }
      }
     },
     "localname": "ScheduleOfInvestmentsLineItems",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://nymtrust.com/role/InvestmentSecuritiesAvailableForSaleNarrativeDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_ScheduleOfInvestmentsTable": {
     "auth_ref": [
      "r471"
     ],
     "lang": {
      "en-US": {
       "role": {
        "documentation": "A container table for all schedule of investment items. It ties in the \"Legal Entity [Axis]\" to all of its contained line items.",
        "label": "Schedule of Investments [Table]",
        "terseLabel": "Schedule of Investments [Table]"
       }
      }
     },
     "localname": "ScheduleOfInvestmentsTable",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://nymtrust.com/role/InvestmentSecuritiesAvailableForSaleNarrativeDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_ScheduleOfMaturitiesOfLongTermDebtTableTextBlock": {
     "auth_ref": [
      "r226"
     ],
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Tabular disclosure of the combined aggregate amount of maturities and sinking fund requirements for all long-term borrowings for each of the five years following the date of the latest balance sheet date presented.",
        "label": "Schedule of Maturities of Long-term Debt [Table Text Block]",
        "terseLabel": "Schedule of Contractual Maturities of Financing VIE's",
        "verboseLabel": "Schedule of Maturities of Long-term Debt"
       }
      }
     },
     "localname": "ScheduleOfMaturitiesOfLongTermDebtTableTextBlock",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://nymtrust.com/role/DebtTables",
      "http://nymtrust.com/role/UseOfSpecialPurposeEntitiesSpeAndVariableInterestEntitiesVieTables"
     ],
     "xbrltype": "textBlockItemType"
    },
    "us-gaap_ScheduleOfNonvestedPerformanceBasedUnitsActivityTableTextBlock": {
     "auth_ref": [
      "r266"
     ],
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Tabular disclosure of the changes in outstanding nonvested performance-based units.",
        "label": "Schedule of Nonvested Performance-based Units Activity [Table Text Block]",
        "terseLabel": "Schedule of PSU Award Activity"
       }
      }
     },
     "localname": "ScheduleOfNonvestedPerformanceBasedUnitsActivityTableTextBlock",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://nymtrust.com/role/StockBasedCompensationTables"
     ],
     "xbrltype": "textBlockItemType"
    },
    "us-gaap_ScheduleOfNotionalAmountsOfOutstandingDerivativePositionsTableTextBlock": {
     "auth_ref": [
      "r326"
     ],
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Tabular disclosure of the notional amounts of outstanding derivative positions.",
        "label": "Schedule of Notional Amounts of Outstanding Derivative Positions [Table Text Block]",
        "terseLabel": "Schedule of Interest Rate Swaps, Variable and Fixed Interest Rates"
       }
      }
     },
     "localname": "ScheduleOfNotionalAmountsOfOutstandingDerivativePositionsTableTextBlock",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://nymtrust.com/role/DerivativeInstrumentsAndHedgingActivitiesTables"
     ],
     "xbrltype": "textBlockItemType"
    },
    "us-gaap_ScheduleOfOtherDerivativesNotDesignatedAsHedgingInstrumentsStatementsOfFinancialPerformanceAndFinancialPositionLocationTableTextBlock": {
     "auth_ref": [
      "r340",
      "r342"
     ],
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Tabular disclosure of derivative instrument not designated or qualifying as hedging instrument.",
        "label": "Derivatives Not Designated as Hedging Instruments [Table Text Block]",
        "terseLabel": "Schedule Of Derivative Instruments Volume Activity"
       }
      }
     },
     "localname": "ScheduleOfOtherDerivativesNotDesignatedAsHedgingInstrumentsStatementsOfFinancialPerformanceAndFinancialPositionLocationTableTextBlock",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://nymtrust.com/role/DerivativeInstrumentsAndHedgingActivitiesTables"
     ],
     "xbrltype": "textBlockItemType"
    },
    "us-gaap_ScheduleOfRealEstatePropertiesTableTextBlock": {
     "auth_ref": [],
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Tabular disclosure of real estate properties and units in those properties that are included in the discussion of the nature of an entity's operations.",
        "label": "Schedule of Real Estate Properties [Table Text Block]",
        "terseLabel": "Schedule of Provisional Summary Real Estate Held for Sale"
       }
      }
     },
     "localname": "ScheduleOfRealEstatePropertiesTableTextBlock",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://nymtrust.com/role/RealEstateHeldForSaleInConsolidatedViesTables"
     ],
     "xbrltype": "textBlockItemType"
    },
    "us-gaap_ScheduleOfShareBasedCompensationArrangementsByShareBasedPaymentAwardTable": {
     "auth_ref": [
      "r260",
      "r276"
     ],
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Disclosure of information about share-based payment arrangement.",
        "label": "Schedule of Share-based Compensation Arrangements by Share-based Payment Award [Table]",
        "terseLabel": "Schedule of Share-based Compensation Arrangements by Share-based Payment Award [Table]"
       }
      }
     },
     "localname": "ScheduleOfShareBasedCompensationArrangementsByShareBasedPaymentAwardTable",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://nymtrust.com/role/StockBasedCompensationNarrativeDetails",
      "http://nymtrust.com/role/StockBasedCompensationNonVestedRestrictedStockAndPsuAwardActivityDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_ScheduleOfStockByClassTable": {
     "auth_ref": [
      "r31",
      "r103",
      "r236",
      "r238",
      "r239",
      "r242",
      "r243",
      "r245",
      "r247",
      "r248",
      "r249",
      "r250"
     ],
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Schedule detailing information related to equity by class of stock. Class of stock includes common, convertible, and preferred stocks which are not redeemable or redeemable solely at the option of the issuer. It also includes preferred stock with redemption features that are solely within the control of the issuer and mandatorily redeemable stock if redemption is required to occur only upon liquidation or termination of the reporting entity.",
        "label": "Schedule of Stock by Class [Table]",
        "terseLabel": "Schedule of Stock by Class [Table]"
       }
      }
     },
     "localname": "ScheduleOfStockByClassTable",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://nymtrust.com/role/StockholdersEquityNarrativeDetails",
      "http://nymtrust.com/role/StockholdersEquityScheduleOfPublicOfferingOfCommonStockDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_ScheduleOfStockByClassTextBlock": {
     "auth_ref": [
      "r11",
      "r12",
      "r13",
      "r98",
      "r237",
      "r238",
      "r239",
      "r242",
      "r243",
      "r245",
      "r247",
      "r248",
      "r249",
      "r250"
     ],
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Tabular disclosure of an entity's stock, including par or stated value per share, number and dollar amount of share subscriptions, shares authorized, shares issued, shares outstanding, number and dollar amount of shares held in an employee trust, dividend per share, total dividends, share conversion features, par value plus additional paid in capital, the value of treasury stock and other information necessary to a fair presentation, and EPS information.  Stock by class includes common, convertible, and preferred stocks which are not redeemable or redeemable solely at the option of the issuer. Includes preferred stock with redemption features that are solely within the control of the issuer and mandatorily redeemable stock if redemption is required to occur only upon liquidation or termination of the reporting entity. If more than one issue is outstanding, state the title of each issue and the corresponding dollar amount; dollar amount of any shares subscribed but unissued and the deduction of subscriptions receivable there from; number of shares authorized, issued, and outstanding.",
        "label": "Schedule of Stock by Class [Table Text Block]",
        "terseLabel": "Schedule of Public Offerings of Common Stock"
       }
      }
     },
     "localname": "ScheduleOfStockByClassTextBlock",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://nymtrust.com/role/StockholdersEquityTables"
     ],
     "xbrltype": "textBlockItemType"
    },
    "us-gaap_ScheduleOfSubordinatedBorrowingTextBlock": {
     "auth_ref": [
      "r435"
     ],
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Tabular disclosure of borrowings under subordinated debt agreements that qualify as available in computing net capital under SEC uniform net capital rules for broker-dealers, including restrictive covenants, collateral, interest rates and due dates, amounts due by date and amount owed in total.",
        "label": "Schedule of Subordinated Borrowing [Table Text Block]",
        "terseLabel": "Schedule of Subordinated Borrowing"
       }
      }
     },
     "localname": "ScheduleOfSubordinatedBorrowingTextBlock",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://nymtrust.com/role/DebtTables"
     ],
     "xbrltype": "textBlockItemType"
    },
    "us-gaap_ScheduleOfVariableInterestEntitiesTable": {
     "auth_ref": [
      "r311",
      "r314",
      "r317",
      "r318",
      "r319"
     ],
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Tabular disclosure of qualitative and quantitative information related to variable interests the entity holds, whether or not such variable interest entity (VIE) is included in the reporting entity's consolidated financial statements. Includes, but is not limited to, description of the significant judgments and assumptions made in determining whether a variable interest (as defined) held by the entity requires the variable interest entity (VIE) (as defined) to be consolidated and (or) disclose information about its involvement with the VIE, individually or in aggregate (as applicable); the nature of restrictions, if any, on the consolidated VIE's assets and on the settlement of its liabilities reported by an entity in its statement of financial position, including the carrying amounts of such assets and liabilities; the nature of, and changes in, the risks associated with involvement in the VIE; how involvement with the VIE affects the entity's financial position, financial performance, and cash flows; the lack of recourse if creditors (or beneficial interest holders) of the consolidated VIE have no recourse to the general credit of the primary beneficiary (if applicable); the terms of arrangements, giving consideration to both explicit arrangements and implicit variable interests, if any, that could require the entity to provide financial support to the VIE, including events or circumstances that could expose the entity to a loss; the methodology used by the entity for determining whether or not it is the primary beneficiary of the variable interest entity; the significant factors considered and judgments made in determining that the power to direct the activities of a VIE that most significantly impact the VIE's economic performance are shared (as defined); the carrying amounts and classification of assets and liabilities of the VIE included in the statement of financial position; the entity's maximum exposure to loss, if any, as a result of its involvement with the VIE, including how the maximum exposure is determined and significant sources of the entity's exposure to the VIE; a tabular comparison of the carrying amounts of the assets and liabilities and the entity's maximum exposure to loss; information about any liquidity arrangements, guarantees, and (or) other commitments by third parties that may affect the fair value or risk of the entity's variable interest in the VIE; whether or not the entity has provided financial support or other support (explicitly or implicitly) to the VIE that it was not previously contractually required to provide or whether the entity intends to provide that support, including the type and amount of the support and the primary reasons for providing the support; and supplemental information the entity determines necessary to provide.",
        "label": "Schedule of Variable Interest Entities [Table]",
        "terseLabel": "Schedule of Variable Interest Entities [Table]"
       }
      }
     },
     "localname": "ScheduleOfVariableInterestEntitiesTable",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://nymtrust.com/role/PreferredEquityAndMezzanineLoanInvestmentsDetails",
      "http://nymtrust.com/role/UseOfSpecialPurposeEntitiesSpeAndVariableInterestEntitiesVieClassificationAndCarryingValueOfUnconsolidatedViesDetails",
      "http://nymtrust.com/role/UseOfSpecialPurposeEntitiesSpeAndVariableInterestEntitiesVieFinancingViesSecuritizedDebtByContractualMaturityDetails",
      "http://nymtrust.com/role/UseOfSpecialPurposeEntitiesSpeAndVariableInterestEntitiesVieNarrativeDetails",
      "http://nymtrust.com/role/UseOfSpecialPurposeEntitiesSpeAndVariableInterestEntitiesVieSecuritizedDebtDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_ScheduleOfVariableInterestEntitiesTextBlock": {
     "auth_ref": [
      "r311",
      "r314",
      "r317",
      "r318",
      "r319"
     ],
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Tabular disclosure of the significant judgments and assumptions made in determining whether a variable interest (as defined) held by the entity requires the variable interest entity (VIE) (as defined) to be consolidated and (or) disclose information about its involvement with the VIE, individually or in aggregate (as applicable); the nature of restrictions, if any, on the consolidated VIE's assets and on the settlement of its liabilities reported by an entity in its statement of financial position, including the carrying amounts of such assets and liabilities; the nature of, and changes in, the risks associated with involvement in the VIE; how involvement with the VIE affects the entity's financial position, financial performance, and cash flows; the lack of recourse if creditors (or beneficial interest holders) of the consolidated VIE have no recourse to the general credit of the primary beneficiary (if applicable); the terms of arrangements, giving consideration to both explicit arrangements and implicit variable interests, if any, that could require the entity to provide financial support to the VIE, including events or circumstances that could expose the entity to a loss; the methodology used by the entity for determining whether or not it is the primary beneficiary of the variable interest entity; the significant factors considered and judgments made in determining that the power to direct the activities of a VIE that most significantly impact the VIE's economic performance are shared (as defined); the carrying amounts and classification of assets and liabilities of the VIE included in the statement of financial position; the entity's maximum exposure to loss, if any, as a result of its involvement with the VIE, including how the maximum exposure is determined and significant sources of the entity's exposure to the VIE; a comparison of the carrying amounts of the assets and liabilities and the entity's maximum exposure to loss; information about any liquidity arrangements, guarantees, and (or) other commitments by third parties that may affect the fair value or risk of the entity's variable interest in the VIE; whether or not the entity has provided financial support or other support (explicitly or implicitly) to the VIE that it was not previously contractually required to provide or whether the entity intends to provide that support, including the type and amount of the support and the primary reasons for providing the support; and supplemental information the entity determines necessary to provide.",
        "label": "Schedule of Variable Interest Entities [Table Text Block]",
        "terseLabel": "Schedule of Securitized Debt Collateralized",
        "verboseLabel": "Schedule of Preferred Equity and Mezzanine Loan Investments"
       }
      }
     },
     "localname": "ScheduleOfVariableInterestEntitiesTextBlock",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://nymtrust.com/role/PreferredEquityAndMezzanineLoanInvestmentsTables",
      "http://nymtrust.com/role/UseOfSpecialPurposeEntitiesSpeAndVariableInterestEntitiesVieTables"
     ],
     "xbrltype": "textBlockItemType"
    },
    "us-gaap_SchedulesOfConcentrationOfRiskByRiskFactorTextBlock": {
     "auth_ref": [
      "r131",
      "r134",
      "r135",
      "r136",
      "r369",
      "r371"
     ],
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Tabular disclosure of the nature of a concentration, a benchmark to which it is compared, and the percentage that the risk is to the benchmark.",
        "label": "Schedules of Concentration of Risk, by Risk Factor [Table Text Block]",
        "terseLabel": "Schedule of Geographic Concentration of Credit Risk Exceeding 5% of Balances",
        "verboseLabel": "Schedule of Geographic Concentration of Credit Risk"
       }
      }
     },
     "localname": "SchedulesOfConcentrationOfRiskByRiskFactorTextBlock",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://nymtrust.com/role/ConsolidatedKSeriesTables",
      "http://nymtrust.com/role/DistressedAndOtherResidentialMortgageLoansAtFairValueTables",
      "http://nymtrust.com/role/DistressedAndOtherResidentialMortgageLoansNetTables"
     ],
     "xbrltype": "textBlockItemType"
    },
    "us-gaap_SecuredDebt": {
     "auth_ref": [
      "r7",
      "r409",
      "r442"
     ],
     "calculation": {
      "http://nymtrust.com/role/CondensedConsolidatedBalanceSheets": {
       "order": 7.0,
       "parentTag": "us-gaap_Liabilities",
       "weight": 1.0
      },
      "http://nymtrust.com/role/ConsolidatedKSeriesCondensedBalanceSheetOfConsolidatedKSeriesDetails": {
       "order": 1.0,
       "parentTag": "us-gaap_Liabilities",
       "weight": 1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Carrying value as of the balance sheet date, including the current and noncurrent portions, of collateralized debt obligations (with maturities initially due after one year or beyond the operating cycle, if longer). Such obligations include mortgage loans, chattel loans, and any other borrowings secured by assets of the borrower.",
        "label": "Secured Debt",
        "netLabel": "Collateralized debt obligations",
        "terseLabel": "Secured debt, carrying value",
        "verboseLabel": "Multi-family CDOs, at fair value"
       }
      }
     },
     "localname": "SecuredDebt",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://nymtrust.com/role/CondensedConsolidatedBalanceSheets",
      "http://nymtrust.com/role/ConsolidatedKSeriesCondensedBalanceSheetOfConsolidatedKSeriesDetails",
      "http://nymtrust.com/role/DebtNarrativeDetails",
      "http://nymtrust.com/role/FairValueOfFinancialInstrumentsCarryingValueAndEstimatedFairValueOfCompanysFinancialAssetsDetails",
      "http://nymtrust.com/role/UseOfSpecialPurposeEntitiesSpeAndVariableInterestEntitiesVieAssetsAndLiabilitiesOfConsolidatedViesDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_SecuritiesSoldUnderAgreementsToRepurchase": {
     "auth_ref": [
      "r35",
      "r37",
      "r38",
      "r105",
      "r414"
     ],
     "calculation": {
      "http://nymtrust.com/role/CondensedConsolidatedBalanceSheets": {
       "order": 6.0,
       "parentTag": "us-gaap_Liabilities",
       "weight": 1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Amount, after the effects of master netting arrangements, of funds outstanding borrowed in the form of a security repurchase agreement between the entity and another party for the sale and repurchase of identical or substantially the same securities at a date certain for a specified price. Includes liabilities not subject to a master netting arrangement and not elected to be offset.",
        "label": "Securities Sold under Agreements to Repurchase",
        "netLabel": "Outstanding repurchase agreements",
        "terseLabel": "Repurchase agreements",
        "verboseLabel": "Outstanding Repurchase Agreements"
       }
      }
     },
     "localname": "SecuritiesSoldUnderAgreementsToRepurchase",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://nymtrust.com/role/CondensedConsolidatedBalanceSheets",
      "http://nymtrust.com/role/FairValueOfFinancialInstrumentsCarryingValueAndEstimatedFairValueOfCompanysFinancialAssetsDetails",
      "http://nymtrust.com/role/RepurchaseAgreementsAssetsPledgedAsCollateralDetails",
      "http://nymtrust.com/role/RepurchaseAgreementsOutstandingRepurchaseAgreementBorrowingsByContractualMaturityDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_SecurityOwnedAndPledgedAsCollateralFairValue": {
     "auth_ref": [
      "r394",
      "r395"
     ],
     "crdr": "debit",
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Fair value of financial instrument held by the entity for its own account (proprietary securities) for trading or investment purposes that are carried at fair value and pledged to counterparties as collateral for financing transactions.",
        "label": "Security Owned and Pledged as Collateral, Fair Value",
        "verboseLabel": "Fair Value of Collateral Pledged"
       }
      }
     },
     "localname": "SecurityOwnedAndPledgedAsCollateralFairValue",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://nymtrust.com/role/RepurchaseAgreementsAssetsPledgedAsCollateralDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_SeriesBPreferredStockMember": {
     "auth_ref": [],
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Outstanding nonredeemable series B preferred stock or outstanding series B preferred stock. Classified within stockholders' equity if nonredeemable or redeemable solely at the option of the issuer. Classified within temporary equity if redemption is outside the control of the issuer.",
        "label": "Series B Preferred Stock [Member]",
        "terseLabel": "Series B Preferred Stock"
       }
      }
     },
     "localname": "SeriesBPreferredStockMember",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://nymtrust.com/role/CondensedConsolidatedBalanceSheets",
      "http://nymtrust.com/role/CondensedConsolidatedBalanceSheetsParenthetical",
      "http://nymtrust.com/role/StockholdersEquityCashDividendsDeclaredPreferredStockDetails",
      "http://nymtrust.com/role/StockholdersEquityNarrativeDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_SeriesCPreferredStockMember": {
     "auth_ref": [],
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Outstanding nonredeemable series C preferred stock or outstanding series C preferred stock. Classified within stockholders' equity if nonredeemable or redeemable solely at the option of the issuer. Classified within temporary equity if redemption is outside the control of the issuer.",
        "label": "Series C Preferred Stock [Member]",
        "terseLabel": "Series C Preferred Stock"
       }
      }
     },
     "localname": "SeriesCPreferredStockMember",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://nymtrust.com/role/CondensedConsolidatedBalanceSheets",
      "http://nymtrust.com/role/CondensedConsolidatedBalanceSheetsParenthetical",
      "http://nymtrust.com/role/StockholdersEquityCashDividendsDeclaredPreferredStockDetails",
      "http://nymtrust.com/role/StockholdersEquityNarrativeDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_SeriesDPreferredStockMember": {
     "auth_ref": [],
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Outstanding nonredeemable series D preferred stock or outstanding series D preferred stock. Classified within stockholders' equity if nonredeemable or redeemable solely at the option of the issuer. Classified within temporary equity if redemption is outside the control of the issuer.",
        "label": "Series D Preferred Stock [Member]",
        "terseLabel": "Series D Preferred Stock"
       }
      }
     },
     "localname": "SeriesDPreferredStockMember",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://nymtrust.com/role/CondensedConsolidatedBalanceSheets",
      "http://nymtrust.com/role/CondensedConsolidatedBalanceSheetsParenthetical",
      "http://nymtrust.com/role/StockholdersEquityCashDividendsDeclaredPreferredStockDetails",
      "http://nymtrust.com/role/StockholdersEquityNarrativeDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_SeriesEPreferredStockMember": {
     "auth_ref": [],
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Outstanding nonredeemable series E preferred stock or outstanding series E preferred stock. Classified within stockholders' equity if nonredeemable or redeemable solely at the option of the issuer. Classified within temporary equity if redemption is outside the control of the issuer.",
        "label": "Series E Preferred Stock [Member]",
        "terseLabel": "Series E Preferred Stock"
       }
      }
     },
     "localname": "SeriesEPreferredStockMember",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://nymtrust.com/role/SubsequentEventsDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_ShareBasedCompensation": {
     "auth_ref": [
      "r85"
     ],
     "calculation": {
      "http://nymtrust.com/role/CondensedConsolidatedStatementsOfCashFlows": {
       "order": 11.0,
       "parentTag": "us-gaap_NetCashProvidedByUsedInOperatingActivities",
       "weight": 1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Amount of noncash expense for share-based payment arrangement.",
        "label": "Share-based Payment Arrangement, Noncash Expense",
        "terseLabel": "Amortization of stock based compensation, net"
       }
      }
     },
     "localname": "ShareBasedCompensation",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://nymtrust.com/role/CondensedConsolidatedStatementsOfCashFlows"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardAwardRequisiteServicePeriod1": {
     "auth_ref": [
      "r261"
     ],
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Estimated period over which an employee is required to provide service in exchange for the equity-based payment award, in 'PnYnMnDTnHnMnS' format, for example, 'P1Y5M13D' represents the reported fact of one year, five months, and thirteen days.",
        "label": "Share-based Compensation Arrangement by Share-based Payment Award, Award Requisite Service Period",
        "terseLabel": "Requisite service period"
       }
      }
     },
     "localname": "ShareBasedCompensationArrangementByShareBasedPaymentAwardAwardRequisiteServicePeriod1",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://nymtrust.com/role/StockBasedCompensationNarrativeDetails"
     ],
     "xbrltype": "durationItemType"
    },
    "us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardAwardVestingPeriod1": {
     "auth_ref": [
      "r261"
     ],
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Period over which grantee's right to exercise award under share-based payment arrangement is no longer contingent on satisfaction of service or performance condition, in 'PnYnMnDTnHnMnS' format, for example, 'P1Y5M13D' represents reported fact of one year, five months, and thirteen days. Includes, but is not limited to, combination of market, performance or service condition.",
        "label": "Share-based Compensation Arrangement by Share-based Payment Award, Award Vesting Period",
        "terseLabel": "Award vesting period"
       }
      }
     },
     "localname": "ShareBasedCompensationArrangementByShareBasedPaymentAwardAwardVestingPeriod1",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://nymtrust.com/role/StockBasedCompensationNarrativeDetails"
     ],
     "xbrltype": "durationItemType"
    },
    "us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsForfeitedInPeriod": {
     "auth_ref": [
      "r265"
     ],
     "lang": {
      "en-US": {
       "role": {
        "documentation": "The number of equity-based payment instruments, excluding stock (or unit) options, that were forfeited during the reporting period.",
        "label": "Share-based Compensation Arrangement by Share-based Payment Award, Equity Instruments Other than Options, Forfeited in Period",
        "negatedLabel": "Forfeited (in shares)",
        "terseLabel": "Forfeited (in shares)"
       }
      }
     },
     "localname": "ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsForfeitedInPeriod",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://nymtrust.com/role/StockBasedCompensationNarrativeDetails",
      "http://nymtrust.com/role/StockBasedCompensationNonVestedRestrictedStockAndPsuAwardActivityDetails"
     ],
     "xbrltype": "sharesItemType"
    },
    "us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsForfeituresWeightedAverageGrantDateFairValue": {
     "auth_ref": [
      "r270"
     ],
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Weighted average fair value as of the grant date of equity-based award plans other than stock (unit) option plans that were not exercised or put into effect as a result of the occurrence of a terminating event.",
        "label": "Share-based Compensation Arrangement by Share-based Payment Award, Equity Instruments Other than Options, Forfeitures, Weighted Average Grant Date Fair Value",
        "terseLabel": "Forfeited (in dollars per share)"
       }
      }
     },
     "localname": "ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsForfeituresWeightedAverageGrantDateFairValue",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://nymtrust.com/role/StockBasedCompensationNonVestedRestrictedStockAndPsuAwardActivityDetails"
     ],
     "xbrltype": "perShareItemType"
    },
    "us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsGrantsInPeriod": {
     "auth_ref": [
      "r268"
     ],
     "lang": {
      "en-US": {
       "role": {
        "documentation": "The number of grants made during the period on other than stock (or unit) option plans (for example, phantom stock or unit plan, stock or unit appreciation rights plan, performance target plan).",
        "label": "Share-based Compensation Arrangement by Share-based Payment Award, Equity Instruments Other than Options, Grants in Period",
        "terseLabel": "Granted (in shares)"
       }
      }
     },
     "localname": "ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsGrantsInPeriod",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://nymtrust.com/role/StockBasedCompensationNonVestedRestrictedStockAndPsuAwardActivityDetails"
     ],
     "xbrltype": "sharesItemType"
    },
    "us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsGrantsInPeriodWeightedAverageGrantDateFairValue": {
     "auth_ref": [
      "r268"
     ],
     "lang": {
      "en-US": {
       "role": {
        "documentation": "The weighted average fair value at grant date for nonvested equity-based awards issued during the period on other than stock (or unit) option plans (for example, phantom stock or unit plan, stock or unit appreciation rights plan, performance target plan).",
        "label": "Share-based Compensation Arrangement by Share-based Payment Award, Equity Instruments Other than Options, Grants in Period, Weighted Average Grant Date Fair Value",
        "terseLabel": "Granted (in dollars per share)"
       }
      }
     },
     "localname": "ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsGrantsInPeriodWeightedAverageGrantDateFairValue",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://nymtrust.com/role/StockBasedCompensationNonVestedRestrictedStockAndPsuAwardActivityDetails"
     ],
     "xbrltype": "perShareItemType"
    },
    "us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsNonvestedNumber": {
     "auth_ref": [
      "r267"
     ],
     "lang": {
      "en-US": {
       "role": {
        "documentation": "The number of non-vested equity-based payment instruments, excluding stock (or unit) options, that validly exist and are outstanding as of the balance sheet date.",
        "label": "Share-based Compensation Arrangement by Share-based Payment Award, Equity Instruments Other than Options, Nonvested, Number",
        "periodEndLabel": "Non-vested shares at end of period (in shares)",
        "periodStartLabel": "Non-vested shares at beginning of period (in shares)",
        "terseLabel": "Non-vested shares (in shares)"
       }
      }
     },
     "localname": "ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsNonvestedNumber",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://nymtrust.com/role/StockBasedCompensationNarrativeDetails",
      "http://nymtrust.com/role/StockBasedCompensationNonVestedRestrictedStockAndPsuAwardActivityDetails"
     ],
     "xbrltype": "sharesItemType"
    },
    "us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsNonvestedRollForward": {
     "auth_ref": [],
     "lang": {
      "en-US": {
       "role": {
        "documentation": "A roll forward is a reconciliation of a concept from the beginning of a period to the end of a period.",
        "label": "Share-based Compensation Arrangement by Share-based Payment Award, Equity Instruments Other than Options, Nonvested, Number of Shares [Roll Forward]",
        "terseLabel": "Number of Non-vested Restricted Shares"
       }
      }
     },
     "localname": "ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsNonvestedRollForward",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://nymtrust.com/role/StockBasedCompensationNonVestedRestrictedStockAndPsuAwardActivityDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsNonvestedWeightedAverageGrantDateFairValue": {
     "auth_ref": [
      "r267"
     ],
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Per share or unit weighted-average fair value of nonvested award under share-based payment arrangement. Excludes share and unit options.",
        "label": "Share-based Compensation Arrangement by Share-based Payment Award, Equity Instruments Other than Options, Nonvested, Weighted Average Grant Date Fair Value",
        "periodEndLabel": "Non-vested shares at end of period (in dollars per share)",
        "periodStartLabel": "Non-vested shares at beginning of period (in dollars per share)"
       }
      }
     },
     "localname": "ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsNonvestedWeightedAverageGrantDateFairValue",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://nymtrust.com/role/StockBasedCompensationNonVestedRestrictedStockAndPsuAwardActivityDetails"
     ],
     "xbrltype": "perShareItemType"
    },
    "us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsNonvestedWeightedAverageGrantDateFairValueRollForward": {
     "auth_ref": [],
     "lang": {
      "en-US": {
       "role": {
        "documentation": "A roll forward is a reconciliation of a concept from the beginning of a period to the end of a period.",
        "label": "Share-based Compensation Arrangement by Share-based Payment Award, Equity Instruments Other than Options, Nonvested, Weighted Average Grant Date Fair Value [Abstract]",
        "terseLabel": "Weighted Average Per Share Grant Date Fair Value"
       }
      }
     },
     "localname": "ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsNonvestedWeightedAverageGrantDateFairValueRollForward",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://nymtrust.com/role/StockBasedCompensationNonVestedRestrictedStockAndPsuAwardActivityDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsVestedInPeriod": {
     "auth_ref": [
      "r269"
     ],
     "lang": {
      "en-US": {
       "role": {
        "documentation": "The number of equity-based payment instruments, excluding stock (or unit) options, that vested during the reporting period.",
        "label": "Share-based Compensation Arrangement by Share-based Payment Award, Equity Instruments Other than Options, Vested in Period",
        "negatedLabel": "Vested (in shares)"
       }
      }
     },
     "localname": "ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsVestedInPeriod",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://nymtrust.com/role/StockBasedCompensationNonVestedRestrictedStockAndPsuAwardActivityDetails"
     ],
     "xbrltype": "sharesItemType"
    },
    "us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsVestedInPeriodTotalFairValue": {
     "auth_ref": [
      "r271"
     ],
     "crdr": "debit",
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Fair value of share-based awards for which the grantee gained the right by satisfying service and performance requirements, to receive or retain shares or units, other instruments, or cash.",
        "label": "Share-based Compensation Arrangement by Share-based Payment Award, Equity Instruments Other than Options, Vested in Period, Fair Value",
        "terseLabel": "Fair value of vested shares"
       }
      }
     },
     "localname": "ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsVestedInPeriodTotalFairValue",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://nymtrust.com/role/StockBasedCompensationNarrativeDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsVestedInPeriodWeightedAverageGrantDateFairValue": {
     "auth_ref": [
      "r269"
     ],
     "lang": {
      "en-US": {
       "role": {
        "documentation": "The weighted average fair value as of grant date pertaining to an equity-based award plan other than a stock (or unit) option plan for which the grantee gained the right during the reporting period, by satisfying service and performance requirements, to receive or retain shares or units, other instruments, or cash in accordance with the terms of the arrangement.",
        "label": "Share-based Compensation Arrangement by Share-based Payment Award, Equity Instruments Other than Options, Vested in Period, Weighted Average Grant Date Fair Value",
        "terseLabel": "Vested (in dollars per share)"
       }
      }
     },
     "localname": "ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsVestedInPeriodWeightedAverageGrantDateFairValue",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://nymtrust.com/role/StockBasedCompensationNonVestedRestrictedStockAndPsuAwardActivityDetails"
     ],
     "xbrltype": "perShareItemType"
    },
    "us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems": {
     "auth_ref": [],
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Line items represent financial concepts included in a table. These concepts are used to disclose reportable information associated with domain members defined in one or many axes to the table.",
        "label": "Share-based Compensation Arrangement by Share-based Payment Award [Line Items]",
        "terseLabel": "Share-based Compensation Arrangement by Share-based Payment Award [Line Items]"
       }
      }
     },
     "localname": "ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://nymtrust.com/role/StockBasedCompensationNarrativeDetails",
      "http://nymtrust.com/role/StockBasedCompensationNonVestedRestrictedStockAndPsuAwardActivityDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardNumberOfAdditionalSharesAuthorized": {
     "auth_ref": [],
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Number of additional shares authorized for issuance under share-based payment arrangement.",
        "label": "Share-based Compensation Arrangement by Share-based Payment Award, Number of Additional Shares Authorized",
        "terseLabel": "Increase the shares reserved"
       }
      }
     },
     "localname": "ShareBasedCompensationArrangementByShareBasedPaymentAwardNumberOfAdditionalSharesAuthorized",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://nymtrust.com/role/StockBasedCompensationNarrativeDetails"
     ],
     "xbrltype": "sharesItemType"
    },
    "us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardNumberOfSharesAuthorized": {
     "auth_ref": [
      "r262"
     ],
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Number of shares authorized for issuance under share-based payment arrangement.",
        "label": "Share-based Compensation Arrangement by Share-based Payment Award, Number of Shares Authorized",
        "terseLabel": "Maximum number of shares that may be issued (in shares)"
       }
      }
     },
     "localname": "ShareBasedCompensationArrangementByShareBasedPaymentAwardNumberOfSharesAuthorized",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://nymtrust.com/role/StockBasedCompensationNarrativeDetails"
     ],
     "xbrltype": "sharesItemType"
    },
    "us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardNumberOfSharesAvailableForGrant": {
     "auth_ref": [
      "r276"
     ],
     "lang": {
      "en-US": {
       "role": {
        "documentation": "The difference between the maximum number of shares (or other type of equity) authorized for issuance under the plan (including the effects of amendments and adjustments), and the sum of: 1) the number of shares (or other type of equity) already issued upon exercise of options or other equity-based awards under the plan; and 2) shares (or other type of equity) reserved for issuance on granting of outstanding awards, net of cancellations and forfeitures, if applicable.",
        "label": "Share-based Compensation Arrangement by Share-based Payment Award, Number of Shares Available for Grant",
        "terseLabel": "Shares available for grant (in shares)"
       }
      }
     },
     "localname": "ShareBasedCompensationArrangementByShareBasedPaymentAwardNumberOfSharesAvailableForGrant",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://nymtrust.com/role/StockBasedCompensationNarrativeDetails"
     ],
     "xbrltype": "sharesItemType"
    },
    "us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain": {
     "auth_ref": [
      "r258",
      "r263"
     ],
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Award under share-based payment arrangement.",
        "label": "Award Type [Domain]",
        "terseLabel": "Award Type [Domain]"
       }
      }
     },
     "localname": "ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://nymtrust.com/role/StockBasedCompensationNarrativeDetails",
      "http://nymtrust.com/role/StockBasedCompensationNonVestedRestrictedStockAndPsuAwardActivityDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_SharebasedCompensationArrangementBySharebasedPaymentAwardAwardVestingRightsPercentage": {
     "auth_ref": [
      "r261"
     ],
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Percentage of vesting of award under share-based payment arrangement.",
        "label": "Share-based Compensation Arrangement by Share-based Payment Award, Award Vesting Rights, Percentage",
        "terseLabel": "Award vesting rights, percentage"
       }
      }
     },
     "localname": "SharebasedCompensationArrangementBySharebasedPaymentAwardAwardVestingRightsPercentage",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://nymtrust.com/role/StockBasedCompensationNarrativeDetails"
     ],
     "xbrltype": "percentItemType"
    },
    "us-gaap_SharebasedCompensationArrangementBySharebasedPaymentAwardFairValueAssumptionsExpectedTerm1": {
     "auth_ref": [
      "r272",
      "r277"
     ],
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Expected term of award under share-based payment arrangement, in 'PnYnMnDTnHnMnS' format, for example, 'P1Y5M13D' represents reported fact of one year, five months, and thirteen days.",
        "label": "Share-based Compensation Arrangement by Share-based Payment Award, Fair Value Assumptions, Expected Term",
        "terseLabel": "Fair value, expected term"
       }
      }
     },
     "localname": "SharebasedCompensationArrangementBySharebasedPaymentAwardFairValueAssumptionsExpectedTerm1",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://nymtrust.com/role/StockBasedCompensationNarrativeDetails",
      "http://nymtrust.com/role/StockBasedCompensationNonVestedRestrictedStockAndPsuAwardActivityDetails"
     ],
     "xbrltype": "durationItemType"
    },
    "us-gaap_SignificantAccountingPoliciesTextBlock": {
     "auth_ref": [
      "r114"
     ],
     "lang": {
      "en-US": {
       "role": {
        "documentation": "The entire disclosure for all significant accounting policies of the reporting entity.",
        "label": "Significant Accounting Policies [Text Block]",
        "terseLabel": "Summary of Significant Accounting Policies"
       }
      }
     },
     "localname": "SignificantAccountingPoliciesTextBlock",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://nymtrust.com/role/SummaryOfSignificantAccountingPolicies"
     ],
     "xbrltype": "textBlockItemType"
    },
    "us-gaap_StatementClassOfStockAxis": {
     "auth_ref": [
      "r11",
      "r12",
      "r13",
      "r241"
     ],
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Information by the different classes of stock of the entity.",
        "label": "Class of Stock [Axis]",
        "terseLabel": "Class of Stock [Axis]"
       }
      }
     },
     "localname": "StatementClassOfStockAxis",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://nymtrust.com/role/CondensedConsolidatedBalanceSheets",
      "http://nymtrust.com/role/CondensedConsolidatedBalanceSheetsParenthetical",
      "http://nymtrust.com/role/CondensedConsolidatedStatementsOfChangesInStockholdersEquity",
      "http://nymtrust.com/role/Cover",
      "http://nymtrust.com/role/StockholdersEquityCashDividendsDeclaredPreferredStockDetails",
      "http://nymtrust.com/role/StockholdersEquityNarrativeDetails",
      "http://nymtrust.com/role/SubsequentEventsDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_StatementEquityComponentsAxis": {
     "auth_ref": [
      "r32",
      "r241"
     ],
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Information by component of equity.",
        "label": "Equity Components [Axis]",
        "terseLabel": "Equity Components [Axis]"
       }
      }
     },
     "localname": "StatementEquityComponentsAxis",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://nymtrust.com/role/CondensedConsolidatedStatementsOfCashFlows",
      "http://nymtrust.com/role/CondensedConsolidatedStatementsOfChangesInStockholdersEquity",
      "http://nymtrust.com/role/StockholdersEquityNarrativeDetails",
      "http://nymtrust.com/role/StockholdersEquityScheduleOfPublicOfferingOfCommonStockDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_StatementLineItems": {
     "auth_ref": [],
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Line items represent financial concepts included in a table. These concepts are used to disclose reportable information associated with domain members defined in one or many axes to the table.",
        "label": "Statement [Line Items]",
        "terseLabel": "Statement [Line Items]"
       }
      }
     },
     "localname": "StatementLineItems",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://nymtrust.com/role/CondensedConsolidatedBalanceSheets",
      "http://nymtrust.com/role/CondensedConsolidatedBalanceSheetsParenthetical",
      "http://nymtrust.com/role/CondensedConsolidatedStatementsOfCashFlows",
      "http://nymtrust.com/role/CondensedConsolidatedStatementsOfChangesInStockholdersEquity",
      "http://nymtrust.com/role/CondensedConsolidatedStatementsOfOperations"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_StatementOfCashFlowsAbstract": {
     "auth_ref": [],
     "lang": {
      "en-US": {
       "role": {
        "label": "Statement of Cash Flows [Abstract]"
       }
      }
     },
     "localname": "StatementOfCashFlowsAbstract",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "xbrltype": "stringItemType"
    },
    "us-gaap_StatementOfFinancialPositionAbstract": {
     "auth_ref": [],
     "lang": {
      "en-US": {
       "role": {
        "label": "Statement of Financial Position [Abstract]"
       }
      }
     },
     "localname": "StatementOfFinancialPositionAbstract",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "xbrltype": "stringItemType"
    },
    "us-gaap_StatementOfStockholdersEquityAbstract": {
     "auth_ref": [],
     "lang": {
      "en-US": {
       "role": {
        "label": "Statement of Stockholders' Equity [Abstract]"
       }
      }
     },
     "localname": "StatementOfStockholdersEquityAbstract",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "xbrltype": "stringItemType"
    },
    "us-gaap_StatementTable": {
     "auth_ref": [],
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Schedule reflecting a Statement of Income, Statement of Cash Flows, Statement of Financial Position, Statement of Shareholders' Equity and Other Comprehensive Income, or other statement as needed.",
        "label": "Statement [Table]",
        "terseLabel": "Statement [Table]"
       }
      }
     },
     "localname": "StatementTable",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://nymtrust.com/role/CondensedConsolidatedBalanceSheets",
      "http://nymtrust.com/role/CondensedConsolidatedBalanceSheetsParenthetical",
      "http://nymtrust.com/role/CondensedConsolidatedStatementsOfCashFlows",
      "http://nymtrust.com/role/CondensedConsolidatedStatementsOfChangesInStockholdersEquity",
      "http://nymtrust.com/role/CondensedConsolidatedStatementsOfOperations"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_StockIssuedDuringPeriodSharesNewIssues": {
     "auth_ref": [
      "r12",
      "r13",
      "r241",
      "r250"
     ],
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Number of new stock issued during the period.",
        "label": "Stock Issued During Period, Shares, New Issues",
        "terseLabel": "Shares Issued",
        "verboseLabel": "Shares issued during period (in shares)"
       }
      }
     },
     "localname": "StockIssuedDuringPeriodSharesNewIssues",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://nymtrust.com/role/StockBasedCompensationNarrativeDetails",
      "http://nymtrust.com/role/StockholdersEquityNarrativeDetails",
      "http://nymtrust.com/role/StockholdersEquityScheduleOfPublicOfferingOfCommonStockDetails"
     ],
     "xbrltype": "sharesItemType"
    },
    "us-gaap_StockIssuedDuringPeriodValueNewIssues": {
     "auth_ref": [
      "r12",
      "r13",
      "r241",
      "r250"
     ],
     "crdr": "credit",
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Equity impact of the value of new stock issued during the period. Includes shares issued in an initial public offering or a secondary public offering.",
        "label": "Stock Issued During Period, Value, New Issues",
        "terseLabel": "Stock issuance, net"
       }
      }
     },
     "localname": "StockIssuedDuringPeriodValueNewIssues",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://nymtrust.com/role/CondensedConsolidatedStatementsOfChangesInStockholdersEquity"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_StockholdersEquity": {
     "auth_ref": [
      "r13",
      "r17",
      "r18",
      "r155"
     ],
     "calculation": {
      "http://nymtrust.com/role/CondensedConsolidatedBalanceSheets": {
       "order": 1.0,
       "parentTag": "us-gaap_StockholdersEquityIncludingPortionAttributableToNoncontrollingInterest",
       "weight": 1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Total of all stockholders' equity (deficit) items, net of receivables from officers, directors, owners, and affiliates of the entity which are attributable to the parent. The amount of the economic entity's stockholders' equity attributable to the parent excludes the amount of stockholders' equity which is allocable to that ownership interest in subsidiary equity which is not attributable to the parent (noncontrolling interest, minority interest). This excludes temporary equity and is sometimes called permanent equity.",
        "label": "Stockholders' Equity Attributable to Parent",
        "totalLabel": "Company's stockholders' equity"
       }
      }
     },
     "localname": "StockholdersEquity",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://nymtrust.com/role/CondensedConsolidatedBalanceSheets"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_StockholdersEquityAbstract": {
     "auth_ref": [],
     "lang": {
      "en-US": {
       "role": {
        "label": "Stockholders' Equity Attributable to Parent [Abstract]",
        "terseLabel": "Stockholders' Equity:"
       }
      }
     },
     "localname": "StockholdersEquityAbstract",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://nymtrust.com/role/CondensedConsolidatedBalanceSheets"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_StockholdersEquityIncludingPortionAttributableToNoncontrollingInterest": {
     "auth_ref": [
      "r300",
      "r301",
      "r320"
     ],
     "calculation": {
      "http://nymtrust.com/role/CondensedConsolidatedBalanceSheets": {
       "order": 3.0,
       "parentTag": "us-gaap_LiabilitiesAndStockholdersEquity",
       "weight": 1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Amount of stockholders' equity (deficit), net of receivables from officers, directors, owners, and affiliates of the entity, attributable to both the parent and noncontrolling interests. Amount excludes temporary equity. Alternate caption for the concept is permanent equity.",
        "label": "Stockholders' Equity, Including Portion Attributable to Noncontrolling Interest",
        "periodEndLabel": "Ending balance",
        "periodStartLabel": "Beginning balance",
        "terseLabel": "Equity",
        "totalLabel": "Total equity"
       }
      }
     },
     "localname": "StockholdersEquityIncludingPortionAttributableToNoncontrollingInterest",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://nymtrust.com/role/CondensedConsolidatedBalanceSheets",
      "http://nymtrust.com/role/CondensedConsolidatedStatementsOfChangesInStockholdersEquity",
      "http://nymtrust.com/role/ConsolidatedKSeriesCondensedBalanceSheetOfConsolidatedKSeriesDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_StockholdersEquityNoteAbstract": {
     "auth_ref": [],
     "lang": {
      "en-US": {
       "role": {
        "label": "Stockholders' Equity Note [Abstract]"
       }
      }
     },
     "localname": "StockholdersEquityNoteAbstract",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "xbrltype": "stringItemType"
    },
    "us-gaap_StockholdersEquityNoteDisclosureTextBlock": {
     "auth_ref": [
      "r252"
     ],
     "lang": {
      "en-US": {
       "role": {
        "documentation": "The entire disclosure for shareholders' equity comprised of portions attributable to the parent entity and noncontrolling interest, including other comprehensive income. Includes, but is not limited to, balances of common stock, preferred stock, additional paid-in capital, other capital and retained earnings, accumulated balance for each classification of other comprehensive income and amount of comprehensive income.",
        "label": "Stockholders' Equity Note Disclosure [Text Block]",
        "terseLabel": "Stockholders' Equity"
       }
      }
     },
     "localname": "StockholdersEquityNoteDisclosureTextBlock",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://nymtrust.com/role/StockholdersEquity"
     ],
     "xbrltype": "textBlockItemType"
    },
    "us-gaap_StockholdersEquityTotalMember": {
     "auth_ref": [],
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Carrying amount as of the balance sheet date of total stockholders' equity, when it serves as a benchmark in a concentration of risk calculation. Also called Net Assets.",
        "label": "Stockholders' Equity, Total [Member]",
        "terseLabel": "Stockholders' Equity"
       }
      }
     },
     "localname": "StockholdersEquityTotalMember",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://nymtrust.com/role/RepurchaseAgreementsNarrativeDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_SubordinatedBorrowingAxis": {
     "auth_ref": [
      "r435"
     ],
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Information by name of borrowing under subordinated debt agreement.",
        "label": "Subordinated Borrowing [Axis]",
        "terseLabel": "Subordinated Borrowing [Axis]"
       }
      }
     },
     "localname": "SubordinatedBorrowingAxis",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://nymtrust.com/role/DebtPreferredSecuritiesDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_SubordinatedBorrowingNameDomain": {
     "auth_ref": [],
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Name of the borrowing under subordinated debt agreements, including exchange memberships contributed for the use of the Company.",
        "label": "Subordinated Borrowing, Name [Domain]",
        "terseLabel": "Subordinated Borrowing, Name [Domain]"
       }
      }
     },
     "localname": "SubordinatedBorrowingNameDomain",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://nymtrust.com/role/DebtPreferredSecuritiesDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_SubordinatedDebt": {
     "auth_ref": [
      "r5",
      "r7",
      "r409",
      "r442"
     ],
     "calculation": {
      "http://nymtrust.com/role/CondensedConsolidatedBalanceSheets": {
       "order": 5.0,
       "parentTag": "us-gaap_Liabilities",
       "weight": 1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Including the current and noncurrent portions, carrying value as of the balance sheet date of subordinated debt (with initial maturities beyond one year or beyond the operating cycle if longer). Subordinated debt places a lender in a lien position behind debt having a higher priority of repayment in liquidation of the entity's assets.",
        "label": "Subordinated Debt",
        "terseLabel": "Subordinated debentures",
        "verboseLabel": "Subordinated debentures, carrying value"
       }
      }
     },
     "localname": "SubordinatedDebt",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://nymtrust.com/role/CondensedConsolidatedBalanceSheets",
      "http://nymtrust.com/role/FairValueOfFinancialInstrumentsCarryingValueAndEstimatedFairValueOfCompanysFinancialAssetsDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_SubordinatedDebtMember": {
     "auth_ref": [],
     "lang": {
      "en-US": {
       "role": {
        "documentation": "This element represents domestic or foreign subordinated debt. Subordinated debt has a lower priority of repayment in liquidation of the entity's assets.",
        "label": "Subordinated Debt [Member]",
        "terseLabel": "Subordinated debentures"
       }
      }
     },
     "localname": "SubordinatedDebtMember",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://nymtrust.com/role/CondensedConsolidatedStatementsOfOperations"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_SubsequentEventLineItems": {
     "auth_ref": [],
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Detail information of subsequent event by type. User is expected to use existing line items from elsewhere in the taxonomy as the primary line items for this disclosure, which is further associated with dimension and member elements pertaining to a subsequent event.",
        "label": "Subsequent Event [Line Items]",
        "terseLabel": "Subsequent Event [Line Items]"
       }
      }
     },
     "localname": "SubsequentEventLineItems",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://nymtrust.com/role/SubsequentEventsDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_SubsequentEventMember": {
     "auth_ref": [],
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Identifies event that occurred after the balance sheet date but before financial statements are issued or available to be issued.",
        "label": "Subsequent Event [Member]",
        "terseLabel": "Subsequent Event",
        "verboseLabel": "Subsequent Event"
       }
      }
     },
     "localname": "SubsequentEventMember",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://nymtrust.com/role/StockholdersEquityCashDividendsDeclaredPreferredStockDetails",
      "http://nymtrust.com/role/SubsequentEventsDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_SubsequentEventTable": {
     "auth_ref": [
      "r384"
     ],
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Discloses pertinent information about one or more significant events or transactions that occurred after the balance sheet date through the date the financial statements were issued or the date the financial statements were available to be issued.",
        "label": "Subsequent Event [Table]",
        "terseLabel": "Subsequent Event [Table]"
       }
      }
     },
     "localname": "SubsequentEventTable",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://nymtrust.com/role/SubsequentEventsDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_SubsequentEventTypeAxis": {
     "auth_ref": [
      "r384"
     ],
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Information by event that occurred after the balance sheet date but before financial statements are issued or available to be issued.",
        "label": "Subsequent Event Type [Axis]",
        "terseLabel": "Subsequent Event Type [Axis]"
       }
      }
     },
     "localname": "SubsequentEventTypeAxis",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://nymtrust.com/role/StockholdersEquityCashDividendsDeclaredPreferredStockDetails",
      "http://nymtrust.com/role/SubsequentEventsDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_SubsequentEventTypeDomain": {
     "auth_ref": [
      "r384"
     ],
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Event that occurred after the balance sheet date but before financial statements are issued or available to be issued.",
        "label": "Subsequent Event Type [Domain]",
        "terseLabel": "Subsequent Event Type [Domain]"
       }
      }
     },
     "localname": "SubsequentEventTypeDomain",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://nymtrust.com/role/StockholdersEquityCashDividendsDeclaredPreferredStockDetails",
      "http://nymtrust.com/role/SubsequentEventsDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_SubsequentEventsAbstract": {
     "auth_ref": [],
     "lang": {
      "en-US": {
       "role": {
        "label": "Subsequent Events [Abstract]"
       }
      }
     },
     "localname": "SubsequentEventsAbstract",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "xbrltype": "stringItemType"
    },
    "us-gaap_SubsequentEventsTextBlock": {
     "auth_ref": [
      "r385"
     ],
     "lang": {
      "en-US": {
       "role": {
        "documentation": "The entire disclosure for significant events or transactions that occurred after the balance sheet date through the date the financial statements were issued or the date the financial statements were available to be issued. Examples include: the sale of a capital stock issue, purchase of a business, settlement of litigation, catastrophic loss, significant foreign exchange rate changes, loans to insiders or affiliates, and transactions not in the ordinary course of business.",
        "label": "Subsequent Events [Text Block]",
        "terseLabel": "Subsequent Events"
       }
      }
     },
     "localname": "SubsequentEventsTextBlock",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://nymtrust.com/role/SubsequentEvents"
     ],
     "xbrltype": "textBlockItemType"
    },
    "us-gaap_SubsidiaryOrEquityMethodInvesteeCumulativePercentageOwnershipAfterAllTransactions": {
     "auth_ref": [],
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Percentage of subsidiary's or equity method investee's stock owned by parent immediately after all stock transactions.",
        "label": "Subsidiary or Equity Method Investee, Cumulative Percentage Ownership after All Transactions",
        "terseLabel": "Ownership percentage"
       }
      }
     },
     "localname": "SubsidiaryOrEquityMethodInvesteeCumulativePercentageOwnershipAfterAllTransactions",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://nymtrust.com/role/UseOfSpecialPurposeEntitiesSpeAndVariableInterestEntitiesVieNarrativeDetails"
     ],
     "xbrltype": "percentItemType"
    },
    "us-gaap_SubsidiarySaleOfStockAxis": {
     "auth_ref": [],
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Information by type of sale of the entity's stock.",
        "label": "Sale of Stock [Axis]",
        "terseLabel": "Sale of Stock [Axis]"
       }
      }
     },
     "localname": "SubsidiarySaleOfStockAxis",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://nymtrust.com/role/StockholdersEquityNarrativeDetails",
      "http://nymtrust.com/role/StockholdersEquityScheduleOfPublicOfferingOfCommonStockDetails",
      "http://nymtrust.com/role/SubsequentEventsDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_SupplementalCashFlowInformationAbstract": {
     "auth_ref": [],
     "lang": {
      "en-US": {
       "role": {
        "label": "Supplemental Cash Flow Information [Abstract]",
        "terseLabel": "Supplemental Disclosure:"
       }
      }
     },
     "localname": "SupplementalCashFlowInformationAbstract",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://nymtrust.com/role/CondensedConsolidatedStatementsOfCashFlows"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_TransferMortgagePayable": {
     "auth_ref": [
      "r92",
      "r93",
      "r94"
     ],
     "crdr": "debit",
     "lang": {
      "en-US": {
       "role": {
        "documentation": "The fair value of transfer of mortgage payable in noncash investing or financing activities.",
        "label": "Transfer Mortgage Payable",
        "terseLabel": "Mortgages and notes payable assumed by purchaser of real estate held for sale in consolidated variable entities"
       }
      }
     },
     "localname": "TransferMortgagePayable",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://nymtrust.com/role/CondensedConsolidatedStatementsOfCashFlows"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_TransferOfCertainFinancialAssetsAccountedForAsSecuredBorrowingsLineItems": {
     "auth_ref": [],
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Line items represent financial concepts included in a table. These concepts are used to disclose reportable information associated with domain members defined in one or many axes to the table.",
        "label": "Transfer of Certain Financial Assets Accounted for as Secured Borrowings [Line Items]",
        "terseLabel": "Transfer of Certain Financial Assets Accounted for as Secured Borrowings [Line Items]"
       }
      }
     },
     "localname": "TransferOfCertainFinancialAssetsAccountedForAsSecuredBorrowingsLineItems",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://nymtrust.com/role/RepurchaseAgreementsBorrowingsUnderFinancingArrangementsAndAssociatedAssetsPledgedAsCollateralDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_TransferOfCertainFinancialAssetsAccountedForAsSecuredBorrowingsTable": {
     "auth_ref": [
      "r398"
     ],
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Disclosure of information about the nature and risks of short-term collateralized financing obtained through repurchase agreements, securities lending transactions and repurchase-to-maturity transactions, accounted for as secured borrowings.",
        "label": "Transfer of Certain Financial Assets Accounted for as Secured Borrowings [Table]",
        "terseLabel": "Transfer of Certain Financial Assets Accounted for as Secured Borrowings [Table]"
       }
      }
     },
     "localname": "TransferOfCertainFinancialAssetsAccountedForAsSecuredBorrowingsTable",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://nymtrust.com/role/RepurchaseAgreementsBorrowingsUnderFinancingArrangementsAndAssociatedAssetsPledgedAsCollateralDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_TransferToOtherRealEstate": {
     "auth_ref": [
      "r92",
      "r93",
      "r94"
     ],
     "crdr": "debit",
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Value transferred from mortgage loans to real estate owned (REO) in noncash transactions.",
        "label": "Real Estate Owned, Transfer to Real Estate Owned",
        "terseLabel": "Transfer from residential loans to real estate owned"
       }
      }
     },
     "localname": "TransferToOtherRealEstate",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://nymtrust.com/role/CondensedConsolidatedStatementsOfCashFlows"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_TransfersAndServicingOfFinancialInstrumentsTypesOfFinancialInstrumentsDomain": {
     "auth_ref": [
      "r399"
     ],
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Instrument or contract that imposes a contractual obligation to deliver cash or another financial instrument or to exchange other financial instruments on potentially unfavorable terms and conveys a contractual right to receive cash or another financial instrument or to exchange other financial instruments on potentially favorable terms.",
        "label": "Financial Instruments [Domain]",
        "terseLabel": "Financial Instruments [Domain]"
       }
      }
     },
     "localname": "TransfersAndServicingOfFinancialInstrumentsTypesOfFinancialInstrumentsDomain",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://nymtrust.com/role/CommitmentsAndContingenciesCommitmentsDetails",
      "http://nymtrust.com/role/DistressedAndOtherResidentialMortgageLoansNetNarrativeDetails",
      "http://nymtrust.com/role/FairValueOfFinancialInstrumentsAssetsAndLiabilitiesMeasuredAtFairValueOnRecurringBasisDetails",
      "http://nymtrust.com/role/FairValueOfFinancialInstrumentsChangesInUnrealizedGainsLossesIncludedInEarningsForLevel3AssetsAndLiabilitiesDetails",
      "http://nymtrust.com/role/FairValueOfFinancialInstrumentsNarrativeDetails",
      "http://nymtrust.com/role/FairValueOfFinancialInstrumentsValuationForLevel3AssetsDetails",
      "http://nymtrust.com/role/FairValueOfFinancialInstrumentsValuationForLevel3LiabilitiesDetails",
      "http://nymtrust.com/role/InvestmentSecuritiesAvailableForSaleScheduleOfAvailableForSaleSecuritiesDetails",
      "http://nymtrust.com/role/InvestmentsInUnconsolidatedEntitiesDetails",
      "http://nymtrust.com/role/RepurchaseAgreementsAssetsPledgedAsCollateralDetails",
      "http://nymtrust.com/role/RepurchaseAgreementsBorrowingsUnderFinancingArrangementsAndAssociatedAssetsPledgedAsCollateralDetails",
      "http://nymtrust.com/role/RepurchaseAgreementsNarrativeDetails",
      "http://nymtrust.com/role/UseOfSpecialPurposeEntitiesSpeAndVariableInterestEntitiesVieAssetsAndLiabilitiesOfConsolidatedViesDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_TransfersOfFinancialAssetsAccountedForAsSaleInitialFairValueOfAssetsObtainedAsProceeds": {
     "auth_ref": [
      "r386"
     ],
     "crdr": "debit",
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Represents the initial fair value recorded for assets received on transfer of financial assets in a securitization, asset-backed financing arrangement, or a similar transfer which transaction is recognized as a sale of the transferred financial assets.",
        "label": "Transfers of Financial Assets Accounted for as Sale, Initial Fair Value of Assets Obtained as Proceeds",
        "verboseLabel": "Proceeds from issuance of secured debt"
       }
      }
     },
     "localname": "TransfersOfFinancialAssetsAccountedForAsSaleInitialFairValueOfAssetsObtainedAsProceeds",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://nymtrust.com/role/UseOfSpecialPurposeEntitiesSpeAndVariableInterestEntitiesVieAssetsAndLiabilitiesOfConsolidatedViesDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_TypeOfAdoptionMember": {
     "auth_ref": [],
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Adoption and early adoption of sources of change to generally accepted accounting principles (GAAP) in the United States. The FASB released the FASB Accounting Standards Codification as the authoritative source of literature effective for interim and annual periods ending after September 15, 2009. As part of the Codification process, the FASB issues Accounting Standards Updates to amend the Codification but otherwise the Accounting Standards Updates are not authoritative in their own right. All previous accounting standards (such as FASB Statements of Financial Accounting Standards, FASB Interpretations, FASB Staff Positions, Emerging Issues Task Force Consensuses, other pronouncements of the FASB or other designated bodies, or other forms of GAAP are considered accounting pronouncements) were superseded upon the adoption of the Codification. For an interim period, references to the superseded standards are included to help users transition from the previous accounting hierarchy and will be removed from future versions of this taxonomy.",
        "label": "Type of Adoption [Domain]",
        "terseLabel": "Type of Adoption [Domain]"
       }
      }
     },
     "localname": "TypeOfAdoptionMember",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://nymtrust.com/role/SummaryOfSignificantAccountingPoliciesAdoptionOfAccountingStandardsCodificationTopic842LeasesDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_TypeOfArrangementAxis": {
     "auth_ref": [
      "r298"
     ],
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Information by collaborative arrangement and arrangement other than collaborative applicable to revenue-generating activity or operations.",
        "label": "Collaborative Arrangement and Arrangement Other than Collaborative [Axis]",
        "terseLabel": "Collaborative Arrangement and Arrangement Other than Collaborative [Axis]"
       }
      }
     },
     "localname": "TypeOfArrangementAxis",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://nymtrust.com/role/RepurchaseAgreementsNarrativeDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_UnrealizedGainLossOnDerivatives": {
     "auth_ref": [
      "r86"
     ],
     "crdr": "credit",
     "lang": {
      "en-US": {
       "role": {
        "documentation": "The net change in the difference between the fair value and the carrying value, or in the comparative fair values, of derivative instruments, including options, swaps, futures, and forward contracts, held at each balance sheet date, that was included in earnings for the period.",
        "label": "Unrealized Gain (Loss) on Derivatives",
        "terseLabel": "Unrealized gains (losses) on derivatives"
       }
      }
     },
     "localname": "UnrealizedGainLossOnDerivatives",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://nymtrust.com/role/DerivativeInstrumentsAndHedgingActivitiesComponentsOfInvestmentFairValueChangesDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_UnrealizedGainLossOnInvestments": {
     "auth_ref": [
      "r86"
     ],
     "calculation": {
      "http://nymtrust.com/role/CondensedConsolidatedStatementsOfCashFlows": {
       "order": 4.0,
       "parentTag": "us-gaap_NetCashProvidedByUsedInOperatingActivities",
       "weight": -1.0
      },
      "http://nymtrust.com/role/CondensedConsolidatedStatementsOfOperations": {
       "order": 2.0,
       "parentTag": "us-gaap_NoninterestIncome",
       "weight": 1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-US": {
       "role": {
        "documentation": "The net change in the difference between the fair value and the carrying value, or in the comparative fair values, of investments, not including unrealized gains or losses on securities separately or otherwise categorized as trading, available-for-sale, or held-to-maturity, held at each balance sheet date and included in earnings for the period.",
        "label": "Unrealized Gain (Loss) on Investments",
        "negatedLabel": "Unrealized (gains) losses, net",
        "terseLabel": "Unrealized gains (losses), net",
        "verboseLabel": "Unrealized gains, net"
       }
      }
     },
     "localname": "UnrealizedGainLossOnInvestments",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://nymtrust.com/role/CondensedConsolidatedStatementsOfCashFlows",
      "http://nymtrust.com/role/CondensedConsolidatedStatementsOfOperations",
      "http://nymtrust.com/role/ConsolidatedKSeriesCondensedStatementOfOperationsOfConsolidatedKSeriesDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_VariableInterestEntitiesByClassificationOfEntityAxis": {
     "auth_ref": [
      "r311",
      "r314",
      "r318"
     ],
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Information by category of Variable Interest Entity (VIE).",
        "label": "Variable Interest Entities [Axis]",
        "terseLabel": "Variable Interest Entities [Axis]"
       }
      }
     },
     "localname": "VariableInterestEntitiesByClassificationOfEntityAxis",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://nymtrust.com/role/ConsolidatedKSeriesCondensedBalanceSheetOfConsolidatedKSeriesDetails",
      "http://nymtrust.com/role/ConsolidatedKSeriesCondensedStatementOfOperationsOfConsolidatedKSeriesDetails",
      "http://nymtrust.com/role/ConsolidatedKSeriesNarrativeDetails",
      "http://nymtrust.com/role/DebtNarrativeDetails",
      "http://nymtrust.com/role/DebtScheduleOfVieDebtDetails",
      "http://nymtrust.com/role/FairValueOfFinancialInstrumentsValuationForLevel3AssetsDetails",
      "http://nymtrust.com/role/FairValueOfFinancialInstrumentsValuationForLevel3LiabilitiesDetails",
      "http://nymtrust.com/role/RealEstateHeldForSaleInConsolidatedViesDetails",
      "http://nymtrust.com/role/RepurchaseAgreementsAssetsPledgedAsCollateralDetails",
      "http://nymtrust.com/role/UseOfSpecialPurposeEntitiesSpeAndVariableInterestEntitiesVieAssetsAndLiabilitiesOfConsolidatedViesDetails",
      "http://nymtrust.com/role/UseOfSpecialPurposeEntitiesSpeAndVariableInterestEntitiesVieClassificationAndCarryingValueOfUnconsolidatedViesDetails",
      "http://nymtrust.com/role/UseOfSpecialPurposeEntitiesSpeAndVariableInterestEntitiesVieFinancingViesSecuritizedDebtByContractualMaturityDetails",
      "http://nymtrust.com/role/UseOfSpecialPurposeEntitiesSpeAndVariableInterestEntitiesVieNarrativeDetails",
      "http://nymtrust.com/role/UseOfSpecialPurposeEntitiesSpeAndVariableInterestEntitiesVieSecuritizedDebtDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_VariableInterestEntityConsolidatedCarryingAmountAssets": {
     "auth_ref": [
      "r310"
     ],
     "crdr": "debit",
     "lang": {
      "en-US": {
       "role": {
        "documentation": "The carrying amount of the consolidated Variable Interest Entity's assets included in the reporting entity's statement of financial position.",
        "label": "Variable Interest Entity, Consolidated, Carrying Amount, Assets",
        "verboseLabel": "Assets of consolidated VIEs"
       }
      }
     },
     "localname": "VariableInterestEntityConsolidatedCarryingAmountAssets",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://nymtrust.com/role/CondensedConsolidatedBalanceSheetsParenthetical",
      "http://nymtrust.com/role/FairValueOfFinancialInstrumentsValuationForLevel3AssetsDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_VariableInterestEntityConsolidatedCarryingAmountAssetsAndLiabilitiesAbstract": {
     "auth_ref": [],
     "lang": {
      "en-US": {
       "role": {
        "label": "Variable Interest Entity, Consolidated, Carrying Amount, Assets and Liabilities, Net [Abstract]"
       }
      }
     },
     "localname": "VariableInterestEntityConsolidatedCarryingAmountAssetsAndLiabilitiesAbstract",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "xbrltype": "stringItemType"
    },
    "us-gaap_VariableInterestEntityConsolidatedCarryingAmountLiabilities": {
     "auth_ref": [
      "r310"
     ],
     "crdr": "credit",
     "lang": {
      "en-US": {
       "role": {
        "documentation": "The carrying amount of the consolidated Variable Interest Entity's liabilities included in the reporting entity's statement of financial position.",
        "label": "Variable Interest Entity, Consolidated, Carrying Amount, Liabilities",
        "verboseLabel": "Liabilities of consolidated VIEs"
       }
      }
     },
     "localname": "VariableInterestEntityConsolidatedCarryingAmountLiabilities",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://nymtrust.com/role/CondensedConsolidatedBalanceSheetsParenthetical",
      "http://nymtrust.com/role/FairValueOfFinancialInstrumentsValuationForLevel3LiabilitiesDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_VariableInterestEntityDisclosureTextBlock": {
     "auth_ref": [
      "r324"
     ],
     "lang": {
      "en-US": {
       "role": {
        "documentation": "The entire disclosure for a variable interest entity (VIE), including but not limited to, judgments and assumptions in determining whether to consolidate and in identifying the primary beneficiary, gain (loss) recognized on the initial consolidation of the VIE, terms of arrangements, amounts and classification of the VIE's assets and liabilities, and the entity's maximum exposure to loss.",
        "label": "Variable Interest Entity Disclosure [Text Block]",
        "terseLabel": "Preferred Equity and Mezzanine Loan Investments"
       }
      }
     },
     "localname": "VariableInterestEntityDisclosureTextBlock",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://nymtrust.com/role/PreferredEquityAndMezzanineLoanInvestments"
     ],
     "xbrltype": "textBlockItemType"
    },
    "us-gaap_VariableInterestEntityLineItems": {
     "auth_ref": [],
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Line items represent financial concepts included in a table. These concepts are used to disclose reportable information associated with domain members defined in one or many axes to the table.",
        "label": "Variable Interest Entity [Line Items]",
        "terseLabel": "Variable Interest Entity [Line Items]"
       }
      }
     },
     "localname": "VariableInterestEntityLineItems",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://nymtrust.com/role/PreferredEquityAndMezzanineLoanInvestmentsDetails",
      "http://nymtrust.com/role/UseOfSpecialPurposeEntitiesSpeAndVariableInterestEntitiesVieClassificationAndCarryingValueOfUnconsolidatedViesDetails",
      "http://nymtrust.com/role/UseOfSpecialPurposeEntitiesSpeAndVariableInterestEntitiesVieFinancingViesSecuritizedDebtByContractualMaturityDetails",
      "http://nymtrust.com/role/UseOfSpecialPurposeEntitiesSpeAndVariableInterestEntitiesVieNarrativeDetails",
      "http://nymtrust.com/role/UseOfSpecialPurposeEntitiesSpeAndVariableInterestEntitiesVieSecuritizedDebtDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_VariableInterestEntityNonconsolidatedCarryingAmountAssets": {
     "auth_ref": [
      "r313"
     ],
     "calculation": {
      "http://nymtrust.com/role/PreferredEquityAndMezzanineLoanInvestmentsDetails": {
       "order": 1.0,
       "parentTag": "us-gaap_VariableInterestEntityNonconsolidatedCarryingAmountAssetsAndLiabilitiesNet",
       "weight": 1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Carrying amount of the assets in the reporting entity's statement of financial position that relate to the reporting entity's variable interest in the Variable Interest Entity (VIE), where the reporting entity is not the VIE's primary beneficiary.",
        "label": "Variable Interest Entity, Nonconsolidated, Carrying Amount, Assets",
        "terseLabel": "Total assets",
        "verboseLabel": "Investment amount"
       }
      }
     },
     "localname": "VariableInterestEntityNonconsolidatedCarryingAmountAssets",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://nymtrust.com/role/PreferredEquityAndMezzanineLoanInvestmentsDetails",
      "http://nymtrust.com/role/UseOfSpecialPurposeEntitiesSpeAndVariableInterestEntitiesVieClassificationAndCarryingValueOfUnconsolidatedViesDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_VariableInterestEntityNonconsolidatedCarryingAmountAssetsAndLiabilitiesAbstract": {
     "auth_ref": [],
     "lang": {
      "en-US": {
       "role": {
        "label": "Variable Interest Entity, Nonconsolidated, Carrying Amount, Assets and Liabilities, Net [Abstract]"
       }
      }
     },
     "localname": "VariableInterestEntityNonconsolidatedCarryingAmountAssetsAndLiabilitiesAbstract",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "xbrltype": "stringItemType"
    },
    "us-gaap_VariableInterestEntityNonconsolidatedCarryingAmountAssetsAndLiabilitiesNet": {
     "auth_ref": [],
     "calculation": {
      "http://nymtrust.com/role/CondensedConsolidatedBalanceSheets": {
       "order": 4.0,
       "parentTag": "us-gaap_Assets",
       "weight": 1.0
      },
      "http://nymtrust.com/role/PreferredEquityAndMezzanineLoanInvestmentsDetails": {
       "order": null,
       "parentTag": null,
       "root": true,
       "weight": null
      }
     },
     "crdr": "debit",
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Net carrying amount of the assets and liabilities in the reporting entity's statement of financial position that relate to the reporting entity's variable interest in the Variable Interest Entity (VIE), when the reporting entity is not the VIE's primary beneficiary.",
        "label": "Variable Interest Entity, Nonconsolidated, Carrying Amount, Assets and Liabilities, Net",
        "terseLabel": "Preferred equity and mezzanine loan investments",
        "totalLabel": "Total"
       }
      }
     },
     "localname": "VariableInterestEntityNonconsolidatedCarryingAmountAssetsAndLiabilitiesNet",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://nymtrust.com/role/CondensedConsolidatedBalanceSheets",
      "http://nymtrust.com/role/PreferredEquityAndMezzanineLoanInvestmentsDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_VariableInterestEntityNonconsolidatedCarryingAmountLiabilities": {
     "auth_ref": [
      "r313"
     ],
     "calculation": {
      "http://nymtrust.com/role/PreferredEquityAndMezzanineLoanInvestmentsDetails": {
       "order": 2.0,
       "parentTag": "us-gaap_VariableInterestEntityNonconsolidatedCarryingAmountAssetsAndLiabilitiesNet",
       "weight": -1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Carrying amount of the liabilities in the reporting entity's statement of financial position that relate to the reporting entity's variable interest in the Variable Interest Entity (VIE), where the reporting entity is not the VIE's primary beneficiary.",
        "label": "Variable Interest Entity, Nonconsolidated, Carrying Amount, Liabilities",
        "negatedTerseLabel": "Deferred loan fees, net"
       }
      }
     },
     "localname": "VariableInterestEntityNonconsolidatedCarryingAmountLiabilities",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://nymtrust.com/role/PreferredEquityAndMezzanineLoanInvestmentsDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_VariableInterestEntityNotPrimaryBeneficiaryMember": {
     "auth_ref": [],
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Variable Interest Entities (VIE) in which the entity does not have a controlling financial interest (as defined) and of which it is therefore not the primary beneficiary. VIEs of which the entity is not the primary beneficiary because it does not have the power to direct the activities of the VIE that most significantly impact the VIE's economic performance and for which it does not have the obligation to absorb losses of the VIE that could potentially be significant to the VIE or the right to receive benefits from the VIE that could potentially be significant to the VIE are not included in the consolidated financial statements of the entity.",
        "label": "Variable Interest Entity, Not Primary Beneficiary [Member]",
        "terseLabel": "Variable Interest Entity, Not Primary Beneficiary"
       }
      }
     },
     "localname": "VariableInterestEntityNotPrimaryBeneficiaryMember",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://nymtrust.com/role/UseOfSpecialPurposeEntitiesSpeAndVariableInterestEntitiesVieClassificationAndCarryingValueOfUnconsolidatedViesDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_VariableInterestEntityOwnershipPercentage": {
     "auth_ref": [
      "r316"
     ],
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Percentage of the Variable Interest Entity's (VIE) voting interest owned by (or beneficial interest in) the reporting entity (directly or indirectly).",
        "label": "Variable Interest Entity, Qualitative or Quantitative Information, Ownership Percentage",
        "terseLabel": "Noncontrolling interest, ownership by parent, percentage"
       }
      }
     },
     "localname": "VariableInterestEntityOwnershipPercentage",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://nymtrust.com/role/UseOfSpecialPurposeEntitiesSpeAndVariableInterestEntitiesVieNarrativeDetails"
     ],
     "xbrltype": "percentItemType"
    },
    "us-gaap_VariableInterestEntityPrimaryBeneficiaryMember": {
     "auth_ref": [
      "r311"
     ],
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Variable Interest Entities (VIE) in which the entity has a controlling financial interest (as defined) and of which it is therefore the primary beneficiary. A controlling financial interest is determined based on both: (a) the entity's power to direct activities of the VIE that most significantly impact the VIE's economic performance and (b) the entity's obligation to absorb losses of the VIE that could potentially be significant to the VIE or the right to receive benefits from the VIE that could potentially be significant to the VIE. VIEs of which the entity is the primary beneficiary are included in the consolidated financial statements of the entity.",
        "label": "Variable Interest Entity, Primary Beneficiary [Member]",
        "netLabel": "Investments in unconsolidated entities",
        "terseLabel": "VIE, Primary Beneficiary"
       }
      }
     },
     "localname": "VariableInterestEntityPrimaryBeneficiaryMember",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://nymtrust.com/role/DebtNarrativeDetails",
      "http://nymtrust.com/role/DebtScheduleOfVieDebtDetails",
      "http://nymtrust.com/role/FairValueOfFinancialInstrumentsValuationForLevel3AssetsDetails",
      "http://nymtrust.com/role/RealEstateHeldForSaleInConsolidatedViesDetails",
      "http://nymtrust.com/role/UseOfSpecialPurposeEntitiesSpeAndVariableInterestEntitiesVieNarrativeDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_VariableRateAxis": {
     "auth_ref": [],
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Information by type of variable rate.",
        "label": "Variable Rate [Axis]",
        "terseLabel": "Variable Rate [Axis]"
       }
      }
     },
     "localname": "VariableRateAxis",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://nymtrust.com/role/DebtPreferredSecuritiesDetails",
      "http://nymtrust.com/role/StockholdersEquityNarrativeDetails",
      "http://nymtrust.com/role/SubsequentEventsDetails",
      "http://nymtrust.com/role/UseOfSpecialPurposeEntitiesSpeAndVariableInterestEntitiesVieSecuritizedDebtDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_VariableRateDomain": {
     "auth_ref": [],
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Interest rate that fluctuates over time as a result of an underlying benchmark interest rate or index.",
        "label": "Variable Rate [Domain]",
        "terseLabel": "Variable Rate [Domain]"
       }
      }
     },
     "localname": "VariableRateDomain",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://nymtrust.com/role/DebtPreferredSecuritiesDetails",
      "http://nymtrust.com/role/StockholdersEquityNarrativeDetails",
      "http://nymtrust.com/role/SubsequentEventsDetails",
      "http://nymtrust.com/role/UseOfSpecialPurposeEntitiesSpeAndVariableInterestEntitiesVieSecuritizedDebtDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_VestingAxis": {
     "auth_ref": [
      "r276"
     ],
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Information by vesting schedule of award under share-based payment arrangement.",
        "label": "Vesting [Axis]",
        "terseLabel": "Vesting [Axis]"
       }
      }
     },
     "localname": "VestingAxis",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://nymtrust.com/role/StockBasedCompensationNarrativeDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_VestingDomain": {
     "auth_ref": [
      "r276"
     ],
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Vesting schedule of award under share-based payment arrangement.",
        "label": "Vesting [Domain]",
        "terseLabel": "Vesting [Domain]"
       }
      }
     },
     "localname": "VestingDomain",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://nymtrust.com/role/StockBasedCompensationNarrativeDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_WeightedAverageNumberOfDilutedSharesOutstanding": {
     "auth_ref": [
      "r120",
      "r126"
     ],
     "calculation": {
      "http://nymtrust.com/role/EarningsPerShareDetails": {
       "order": null,
       "parentTag": null,
       "root": true,
       "weight": null
      }
     },
     "lang": {
      "en-US": {
       "role": {
        "documentation": "The average number of shares or units issued and outstanding that are used in calculating diluted EPS or earnings per unit (EPU), determined based on the timing of issuance of shares or units in the period.",
        "label": "Weighted Average Number of Shares Outstanding, Diluted",
        "terseLabel": "Weighted average shares outstanding-diluted (in shares)",
        "totalLabel": "Diluted weighted average common shares outstanding (in shares)"
       }
      }
     },
     "localname": "WeightedAverageNumberOfDilutedSharesOutstanding",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://nymtrust.com/role/CondensedConsolidatedStatementsOfOperations",
      "http://nymtrust.com/role/EarningsPerShareDetails"
     ],
     "xbrltype": "sharesItemType"
    },
    "us-gaap_WeightedAverageNumberOfSharesOutstandingBasic": {
     "auth_ref": [
      "r118",
      "r126"
     ],
     "calculation": {
      "http://nymtrust.com/role/EarningsPerShareDetails": {
       "order": 1.0,
       "parentTag": "us-gaap_WeightedAverageNumberOfDilutedSharesOutstanding",
       "weight": 1.0
      }
     },
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Number of [basic] shares or units, after adjustment for contingently issuable shares or units and other shares or units not deemed outstanding, determined by relating the portion of time within a reporting period that common shares or units have been outstanding to the total time in that period.",
        "label": "Weighted Average Number of Shares Outstanding, Basic",
        "terseLabel": "Weighted average shares outstanding-basic (in shares)",
        "verboseLabel": "Weighted average common shares outstanding-basic (in shares)"
       }
      }
     },
     "localname": "WeightedAverageNumberOfSharesOutstandingBasic",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://nymtrust.com/role/CondensedConsolidatedStatementsOfOperations",
      "http://nymtrust.com/role/EarningsPerShareDetails"
     ],
     "xbrltype": "sharesItemType"
    }
   },
   "unitCount": 10
  }
 },
 "std_ref": {
  "r0": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "205",
   "URI": "http://asc.fasb.org/extlink&oid=6359566&loc=d3e326-107755"
  },
  "r1": {
   "Name": "Accounting Standards Codification",
   "Publisher": "FASB",
   "Topic": "205",
   "URI": "http://asc.fasb.org/topic&trid=2122149"
  },
  "r10": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.5-02(26)(b))",
   "Topic": "210",
   "URI": "http://asc.fasb.org/extlink&oid=6877327&loc=d3e13212-122682"
  },
  "r100": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.4-08(m)(1)(iii))",
   "Topic": "235",
   "URI": "http://asc.fasb.org/extlink&oid=26873400&loc=d3e23780-122690"
  },
  "r101": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.4-08.(b))",
   "Topic": "235",
   "URI": "http://asc.fasb.org/extlink&oid=26873400&loc=d3e23780-122690"
  },
  "r102": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.4-08.(d)(1))",
   "Topic": "235",
   "URI": "http://asc.fasb.org/extlink&oid=26873400&loc=d3e23780-122690"
  },
  "r103": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.4-08.(d),(e))",
   "Topic": "235",
   "URI": "http://asc.fasb.org/extlink&oid=26873400&loc=d3e23780-122690"
  },
  "r104": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.4-08.(e),(f))",
   "Topic": "235",
   "URI": "http://asc.fasb.org/extlink&oid=26873400&loc=d3e23780-122690"
  },
  "r105": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.4-08.(m)(1)(a)(i))",
   "Topic": "235",
   "URI": "http://asc.fasb.org/extlink&oid=26873400&loc=d3e23780-122690"
  },
  "r106": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.4-08.(m)(1)(i)(A)(i))",
   "Topic": "235",
   "URI": "http://asc.fasb.org/extlink&oid=26873400&loc=d3e23780-122690"
  },
  "r107": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.4-08.(m)(1)(i)(A)(ii))",
   "Topic": "235",
   "URI": "http://asc.fasb.org/extlink&oid=26873400&loc=d3e23780-122690"
  },
  "r108": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.4-08.(m)(1)(i)(A))",
   "Topic": "235",
   "URI": "http://asc.fasb.org/extlink&oid=26873400&loc=d3e23780-122690"
  },
  "r109": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.4-08.(m)(1)(i)(B)(iii))",
   "Topic": "235",
   "URI": "http://asc.fasb.org/extlink&oid=26873400&loc=d3e23780-122690"
  },
  "r11": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.5-02(27))",
   "Topic": "210",
   "URI": "http://asc.fasb.org/extlink&oid=6877327&loc=d3e13212-122682"
  },
  "r110": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.4-08.(n)(2))",
   "Topic": "235",
   "URI": "http://asc.fasb.org/extlink&oid=26873400&loc=d3e23780-122690"
  },
  "r111": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX210.4-08(b))",
   "Topic": "235",
   "URI": "http://asc.fasb.org/extlink&oid=26873400&loc=d3e23780-122690"
  },
  "r112": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "3",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.12-04(a))",
   "Topic": "235",
   "URI": "http://asc.fasb.org/extlink&oid=26873400&loc=d3e24072-122690"
  },
  "r113": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "3",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.12-04.(a))",
   "Topic": "235",
   "URI": "http://asc.fasb.org/extlink&oid=26873400&loc=d3e24072-122690"
  },
  "r114": {
   "Name": "Accounting Standards Codification",
   "Publisher": "FASB",
   "Topic": "235",
   "URI": "http://asc.fasb.org/topic&trid=2122369"
  },
  "r115": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "250",
   "URI": "http://asc.fasb.org/extlink&oid=109234566&loc=d3e22499-107794"
  },
  "r116": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "11",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "250",
   "URI": "http://asc.fasb.org/extlink&oid=109234566&loc=d3e22694-107794"
  },
  "r117": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "3",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "250",
   "URI": "http://asc.fasb.org/extlink&oid=109234566&loc=d3e22583-107794"
  },
  "r118": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "10",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "10",
   "Topic": "260",
   "URI": "http://asc.fasb.org/extlink&oid=117326831&loc=d3e1448-109256"
  },
  "r119": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "11",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "10",
   "Topic": "260",
   "URI": "http://asc.fasb.org/extlink&oid=117326831&loc=d3e1377-109256"
  },
  "r12": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.5-02(28))",
   "Topic": "210",
   "URI": "http://asc.fasb.org/extlink&oid=6877327&loc=d3e13212-122682"
  },
  "r120": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "16",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "10",
   "Topic": "260",
   "URI": "http://asc.fasb.org/extlink&oid=117326831&loc=d3e1505-109256"
  },
  "r121": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "10",
   "Topic": "260",
   "URI": "http://asc.fasb.org/extlink&oid=117326831&loc=d3e1252-109256"
  },
  "r122": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "22",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "10",
   "Topic": "260",
   "URI": "http://asc.fasb.org/extlink&oid=117326831&loc=d3e1707-109256"
  },
  "r123": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "40",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "10",
   "Subparagraph": "(c)",
   "Topic": "260",
   "URI": "http://asc.fasb.org/extlink&oid=117326831&loc=d3e1930-109256"
  },
  "r124": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "60B",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "10",
   "Subparagraph": "(d)",
   "Topic": "260",
   "URI": "http://asc.fasb.org/extlink&oid=117326831&loc=SL5780133-109256"
  },
  "r125": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "7",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "10",
   "Topic": "260",
   "URI": "http://asc.fasb.org/extlink&oid=117326831&loc=d3e1337-109256"
  },
  "r126": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(a)",
   "Topic": "260",
   "URI": "http://asc.fasb.org/extlink&oid=6371337&loc=d3e3550-109257"
  },
  "r127": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(c)",
   "Topic": "260",
   "URI": "http://asc.fasb.org/extlink&oid=6371337&loc=d3e3550-109257"
  },
  "r128": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "260",
   "URI": "http://asc.fasb.org/extlink&oid=6371337&loc=d3e3550-109257"
  },
  "r129": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "52",
   "Publisher": "FASB",
   "Section": "55",
   "SubTopic": "10",
   "Topic": "260",
   "URI": "http://asc.fasb.org/extlink&oid=117327953&loc=d3e4984-109258"
  },
  "r13": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.5-02(29))",
   "Topic": "210",
   "URI": "http://asc.fasb.org/extlink&oid=6877327&loc=d3e13212-122682"
  },
  "r130": {
   "Name": "Accounting Standards Codification",
   "Publisher": "FASB",
   "Topic": "260",
   "URI": "http://asc.fasb.org/topic&trid=2144383"
  },
  "r131": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "16",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "275",
   "URI": "http://asc.fasb.org/extlink&oid=99393423&loc=d3e6327-108592"
  },
  "r132": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "18",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(a)",
   "Topic": "275",
   "URI": "http://asc.fasb.org/extlink&oid=99393423&loc=d3e6351-108592"
  },
  "r133": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "18",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(d)",
   "Topic": "275",
   "URI": "http://asc.fasb.org/extlink&oid=99393423&loc=d3e6351-108592"
  },
  "r134": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "18",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "275",
   "URI": "http://asc.fasb.org/extlink&oid=99393423&loc=d3e6351-108592"
  },
  "r135": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "20",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "275",
   "URI": "http://asc.fasb.org/extlink&oid=99393423&loc=d3e6404-108592"
  },
  "r136": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "21",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "275",
   "URI": "http://asc.fasb.org/extlink&oid=99393423&loc=d3e6442-108592"
  },
  "r137": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "22",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(d)",
   "Topic": "280",
   "URI": "http://asc.fasb.org/extlink&oid=115929826&loc=d3e8736-108599"
  },
  "r138": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "22",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(g)",
   "Topic": "280",
   "URI": "http://asc.fasb.org/extlink&oid=115929826&loc=d3e8736-108599"
  },
  "r139": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "22",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(h)",
   "Topic": "280",
   "URI": "http://asc.fasb.org/extlink&oid=115929826&loc=d3e8736-108599"
  },
  "r14": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.5-02(3))",
   "Topic": "210",
   "URI": "http://asc.fasb.org/extlink&oid=6877327&loc=d3e13212-122682"
  },
  "r140": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "22",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "280",
   "URI": "http://asc.fasb.org/extlink&oid=115929826&loc=d3e8736-108599"
  },
  "r141": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "25",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(a)",
   "Topic": "280",
   "URI": "http://asc.fasb.org/extlink&oid=115929826&loc=d3e8813-108599"
  },
  "r142": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "32",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(c)",
   "Topic": "280",
   "URI": "http://asc.fasb.org/extlink&oid=115929826&loc=d3e8933-108599"
  },
  "r143": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "41",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "280",
   "URI": "http://asc.fasb.org/extlink&oid=115929826&loc=d3e9038-108599"
  },
  "r144": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "13",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "10",
   "Topic": "310",
   "URI": "http://asc.fasb.org/extlink&oid=118952595&loc=d3e4647-111522"
  },
  "r145": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "10",
   "Topic": "310",
   "URI": "http://asc.fasb.org/extlink&oid=118952595&loc=d3e4428-111522"
  },
  "r146": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "11B",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(c)(1)",
   "Topic": "310",
   "URI": "http://asc.fasb.org/extlink&oid=118936363&loc=SL6953423-111524"
  },
  "r147": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "11B",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(c)(2)",
   "Topic": "310",
   "URI": "http://asc.fasb.org/extlink&oid=118936363&loc=SL6953423-111524"
  },
  "r148": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "11B",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(c)(3)",
   "Topic": "310",
   "URI": "http://asc.fasb.org/extlink&oid=118936363&loc=SL6953423-111524"
  },
  "r149": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "11B",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(c)(4)",
   "Topic": "310",
   "URI": "http://asc.fasb.org/extlink&oid=118936363&loc=SL6953423-111524"
  },
  "r15": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.5-02(30)(a)(1))",
   "Topic": "210",
   "URI": "http://asc.fasb.org/extlink&oid=6877327&loc=d3e13212-122682"
  },
  "r150": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "11B",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(f)",
   "Topic": "310",
   "URI": "http://asc.fasb.org/extlink&oid=118936363&loc=SL6953423-111524"
  },
  "r151": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "11B",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "310",
   "URI": "http://asc.fasb.org/extlink&oid=118936363&loc=SL6953423-111524"
  },
  "r152": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "5",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "310",
   "URI": "http://asc.fasb.org/extlink&oid=118936363&loc=d3e5086-111524"
  },
  "r153": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "7",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "310",
   "URI": "http://asc.fasb.org/extlink&oid=118936363&loc=d3e5111-111524"
  },
  "r154": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "7A",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "310",
   "URI": "http://asc.fasb.org/extlink&oid=118936363&loc=SL6953401-111524"
  },
  "r155": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SAB Topic 4.E)",
   "Topic": "310",
   "URI": "http://asc.fasb.org/extlink&oid=27010918&loc=d3e74512-122707"
  },
  "r156": {
   "Name": "Accounting Standards Codification",
   "Publisher": "FASB",
   "SubTopic": "10",
   "Topic": "310",
   "URI": "http://asc.fasb.org/subtopic&trid=2196772"
  },
  "r157": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "15",
   "SubTopic": "30",
   "Topic": "310",
   "URI": "http://asc.fasb.org/extlink&oid=118938799&loc=d3e13503-111538"
  },
  "r158": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "30",
   "Subparagraph": "(a)(1)",
   "Topic": "310",
   "URI": "http://asc.fasb.org/extlink&oid=118939070&loc=d3e15032-111544"
  },
  "r159": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "30",
   "Subparagraph": "(a)(2)",
   "Topic": "310",
   "URI": "http://asc.fasb.org/extlink&oid=118939070&loc=d3e15032-111544"
  },
  "r16": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.5-02(30)(a)(3))",
   "Topic": "210",
   "URI": "http://asc.fasb.org/extlink&oid=6877327&loc=d3e13212-122682"
  },
  "r160": {
   "Name": "Accounting Standards Codification",
   "Publisher": "FASB",
   "SubTopic": "30",
   "Topic": "310",
   "URI": "http://asc.fasb.org/subtopic&trid=2196854"
  },
  "r161": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "10",
   "Subparagraph": "(b)",
   "Topic": "320",
   "URI": "http://asc.fasb.org/extlink&oid=118954083&loc=d3e26610-111562"
  },
  "r162": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "11",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "10",
   "Topic": "320",
   "URI": "http://asc.fasb.org/extlink&oid=118954083&loc=d3e26853-111562"
  },
  "r163": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "8A",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "10",
   "Topic": "320",
   "URI": "http://asc.fasb.org/extlink&oid=118954083&loc=SL6284422-111562"
  },
  "r164": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1B",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "320",
   "URI": "http://asc.fasb.org/extlink&oid=118939692&loc=SL6283291-111563"
  },
  "r165": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(a)",
   "Topic": "320",
   "URI": "http://asc.fasb.org/extlink&oid=118939692&loc=d3e27161-111563"
  },
  "r166": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(aa)",
   "Topic": "320",
   "URI": "http://asc.fasb.org/extlink&oid=118939692&loc=d3e27161-111563"
  },
  "r167": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(b)",
   "Topic": "320",
   "URI": "http://asc.fasb.org/extlink&oid=118939692&loc=d3e27161-111563"
  },
  "r168": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(c)",
   "Topic": "320",
   "URI": "http://asc.fasb.org/extlink&oid=118939692&loc=d3e27161-111563"
  },
  "r169": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(d)",
   "Topic": "320",
   "URI": "http://asc.fasb.org/extlink&oid=118939692&loc=d3e27161-111563"
  },
  "r17": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.5-02(30))",
   "Topic": "210",
   "URI": "http://asc.fasb.org/extlink&oid=6877327&loc=d3e13212-122682"
  },
  "r170": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "3",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(c)",
   "Topic": "320",
   "URI": "http://asc.fasb.org/extlink&oid=118939692&loc=d3e27198-111563"
  },
  "r171": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "3",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(d)",
   "Topic": "320",
   "URI": "http://asc.fasb.org/extlink&oid=118939692&loc=d3e27198-111563"
  },
  "r172": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "3",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "320",
   "URI": "http://asc.fasb.org/extlink&oid=118939692&loc=d3e27198-111563"
  },
  "r173": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "5",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "320",
   "URI": "http://asc.fasb.org/extlink&oid=118939692&loc=d3e27232-111563"
  },
  "r174": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "6",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(a)",
   "Topic": "320",
   "URI": "http://asc.fasb.org/extlink&oid=118939692&loc=d3e27290-111563"
  },
  "r175": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "6",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(a)(1)",
   "Topic": "320",
   "URI": "http://asc.fasb.org/extlink&oid=118939692&loc=d3e27290-111563"
  },
  "r176": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "6",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(a)(2)",
   "Topic": "320",
   "URI": "http://asc.fasb.org/extlink&oid=118939692&loc=d3e27290-111563"
  },
  "r177": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "7",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "320",
   "URI": "http://asc.fasb.org/extlink&oid=118939692&loc=d3e27337-111563"
  },
  "r178": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "8B",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "320",
   "URI": "http://asc.fasb.org/extlink&oid=118939692&loc=SL6284393-111563"
  },
  "r179": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "9",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(a)",
   "Topic": "320",
   "URI": "http://asc.fasb.org/extlink&oid=118939692&loc=d3e27357-111563"
  },
  "r18": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.5-02(31))",
   "Topic": "210",
   "URI": "http://asc.fasb.org/extlink&oid=6877327&loc=d3e13212-122682"
  },
  "r180": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "9",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(d)",
   "Topic": "320",
   "URI": "http://asc.fasb.org/extlink&oid=118939692&loc=d3e27357-111563"
  },
  "r181": {
   "Name": "Accounting Standards Codification",
   "Publisher": "FASB",
   "Topic": "320",
   "URI": "http://asc.fasb.org/topic&trid=2196928"
  },
  "r182": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "05",
   "SubTopic": "10",
   "Topic": "323",
   "URI": "http://asc.fasb.org/extlink&oid=75018788&loc=d3e30768-111565"
  },
  "r183": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "25",
   "SubTopic": "10",
   "Topic": "323",
   "URI": "http://asc.fasb.org/extlink&oid=117311354&loc=d3e32014-111567"
  },
  "r184": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "10",
   "Topic": "323",
   "URI": "http://asc.fasb.org/extlink&oid=109237563&loc=d3e33749-111570"
  },
  "r185": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "3",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(a)(1)",
   "Topic": "323",
   "URI": "http://asc.fasb.org/extlink&oid=114001798&loc=d3e33918-111571"
  },
  "r186": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "3",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(a)(b)",
   "Topic": "323",
   "URI": "http://asc.fasb.org/extlink&oid=114001798&loc=d3e33918-111571"
  },
  "r187": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "3",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "323",
   "URI": "http://asc.fasb.org/extlink&oid=114001798&loc=d3e33918-111571"
  },
  "r188": {
   "Name": "Accounting Standards Codification",
   "Publisher": "FASB",
   "Topic": "323",
   "URI": "http://asc.fasb.org/topic&trid=2196965"
  },
  "r189": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "20",
   "Topic": "326",
   "URI": "http://asc.fasb.org/extlink&oid=118955202&loc=SL82895884-210446"
  },
  "r19": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.5-02(32))",
   "Topic": "210",
   "URI": "http://asc.fasb.org/extlink&oid=6877327&loc=d3e13212-122682"
  },
  "r190": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "11",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Subparagraph": "(i)",
   "Topic": "326",
   "URI": "http://asc.fasb.org/extlink&oid=119407570&loc=SL82919244-210447"
  },
  "r191": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "11",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Topic": "326",
   "URI": "http://asc.fasb.org/extlink&oid=119407570&loc=SL82919244-210447"
  },
  "r192": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "13",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Subparagraph": "(a)",
   "Topic": "326",
   "URI": "http://asc.fasb.org/extlink&oid=119407570&loc=SL82919249-210447"
  },
  "r193": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "13",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Subparagraph": "(d)",
   "Topic": "326",
   "URI": "http://asc.fasb.org/extlink&oid=119407570&loc=SL82919249-210447"
  },
  "r194": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "13",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Subparagraph": "(f)",
   "Topic": "326",
   "URI": "http://asc.fasb.org/extlink&oid=119407570&loc=SL82919249-210447"
  },
  "r195": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "13",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Topic": "326",
   "URI": "http://asc.fasb.org/extlink&oid=119407570&loc=SL82919249-210447"
  },
  "r196": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "14",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Topic": "326",
   "URI": "http://asc.fasb.org/extlink&oid=119407570&loc=SL82919253-210447"
  },
  "r197": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "16",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Topic": "326",
   "URI": "http://asc.fasb.org/extlink&oid=119407570&loc=SL82919258-210447"
  },
  "r198": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "5",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Subparagraph": "(b)",
   "Topic": "326",
   "URI": "http://asc.fasb.org/extlink&oid=119407570&loc=SL82919230-210447"
  },
  "r199": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "5",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Topic": "326",
   "URI": "http://asc.fasb.org/extlink&oid=119407570&loc=SL82919230-210447"
  },
  "r2": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "10",
   "Subparagraph": "(a)",
   "Topic": "210",
   "URI": "http://asc.fasb.org/extlink&oid=118951113&loc=d3e6676-107765"
  },
  "r20": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.5-02(4))",
   "Topic": "210",
   "URI": "http://asc.fasb.org/extlink&oid=6877327&loc=d3e13212-122682"
  },
  "r200": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "12",
   "Publisher": "FASB",
   "Section": "55",
   "SubTopic": "20",
   "Subparagraph": "(d)",
   "Topic": "326",
   "URI": "http://asc.fasb.org/extlink&oid=118955255&loc=SL82921835-210448"
  },
  "r201": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "79",
   "Publisher": "FASB",
   "Section": "55",
   "SubTopic": "20",
   "Topic": "326",
   "URI": "http://asc.fasb.org/extlink&oid=118955255&loc=SL82922352-210448"
  },
  "r202": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "80",
   "Publisher": "FASB",
   "Section": "55",
   "SubTopic": "20",
   "Topic": "326",
   "URI": "http://asc.fasb.org/extlink&oid=118955255&loc=SL82922355-210448"
  },
  "r203": {
   "Name": "Accounting Standards Codification",
   "Publisher": "FASB",
   "SubTopic": "20",
   "Topic": "326",
   "URI": "http://asc.fasb.org/subtopic&trid=82887181"
  },
  "r204": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "30",
   "Topic": "326",
   "URI": "http://asc.fasb.org/extlink&oid=118942338&loc=SL82898722-210454"
  },
  "r205": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "4",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "30",
   "Subparagraph": "(a)(1)",
   "Topic": "326",
   "URI": "http://asc.fasb.org/extlink&oid=118955579&loc=SL82922888-210455"
  },
  "r206": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "4",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "30",
   "Subparagraph": "(a)(2)",
   "Topic": "326",
   "URI": "http://asc.fasb.org/extlink&oid=118955579&loc=SL82922888-210455"
  },
  "r207": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "4",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "30",
   "Topic": "326",
   "URI": "http://asc.fasb.org/extlink&oid=118955579&loc=SL82922888-210455"
  },
  "r208": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "5",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "30",
   "Topic": "326",
   "URI": "http://asc.fasb.org/extlink&oid=118955579&loc=SL82922890-210455"
  },
  "r209": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "7",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "30",
   "Topic": "326",
   "URI": "http://asc.fasb.org/extlink&oid=118955579&loc=SL82922895-210455"
  },
  "r21": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.5-02.1)",
   "Topic": "210",
   "URI": "http://asc.fasb.org/extlink&oid=6877327&loc=d3e13212-122682"
  },
  "r210": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "9",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "30",
   "Topic": "326",
   "URI": "http://asc.fasb.org/extlink&oid=118955579&loc=SL82922900-210455"
  },
  "r211": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "8",
   "Publisher": "FASB",
   "Section": "55",
   "SubTopic": "30",
   "Topic": "326",
   "URI": "http://asc.fasb.org/extlink&oid=118942371&loc=SL82922954-210456"
  },
  "r212": {
   "Name": "Accounting Standards Codification",
   "Publisher": "FASB",
   "SubTopic": "30",
   "Topic": "326",
   "URI": "http://asc.fasb.org/subtopic&trid=82887182"
  },
  "r213": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "20",
   "Topic": "350",
   "URI": "http://asc.fasb.org/extlink&oid=99380562&loc=d3e13770-109266"
  },
  "r214": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "5",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "20",
   "Topic": "350",
   "URI": "http://asc.fasb.org/extlink&oid=77989000&loc=SL49117168-202975"
  },
  "r215": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "30",
   "Subparagraph": "(a)(1)",
   "Topic": "350",
   "URI": "http://asc.fasb.org/extlink&oid=66006027&loc=d3e16323-109275"
  },
  "r216": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "30",
   "Subparagraph": "(a)(2)",
   "Topic": "350",
   "URI": "http://asc.fasb.org/extlink&oid=66006027&loc=d3e16323-109275"
  },
  "r217": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "5",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "10",
   "Topic": "360",
   "URI": "http://asc.fasb.org/extlink&oid=109226348&loc=d3e2443-110228"
  },
  "r218": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(a)",
   "Topic": "360",
   "URI": "http://asc.fasb.org/extlink&oid=6391035&loc=d3e2868-110229"
  },
  "r219": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(b)",
   "Topic": "360",
   "URI": "http://asc.fasb.org/extlink&oid=109226691&loc=d3e2921-110230"
  },
  "r22": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.5-02.12)",
   "Topic": "210",
   "URI": "http://asc.fasb.org/extlink&oid=6877327&loc=d3e13212-122682"
  },
  "r220": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "3",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(c)",
   "Topic": "360",
   "URI": "http://asc.fasb.org/extlink&oid=109226691&loc=d3e2941-110230"
  },
  "r221": {
   "Name": "Accounting Standards Codification",
   "Publisher": "FASB",
   "Topic": "440",
   "URI": "http://asc.fasb.org/topic&trid=2144648"
  },
  "r222": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Topic": "450",
   "URI": "http://asc.fasb.org/extlink&oid=118942415&loc=d3e14326-108349"
  },
  "r223": {
   "Name": "Accounting Standards Codification",
   "Publisher": "FASB",
   "Topic": "450",
   "URI": "http://asc.fasb.org/topic&trid=2127136"
  },
  "r224": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "4",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(f)",
   "Topic": "460",
   "URI": "http://asc.fasb.org/extlink&oid=118943654&loc=d3e12069-110248"
  },
  "r225": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "19",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "10",
   "Topic": "470",
   "URI": "http://asc.fasb.org/extlink&oid=99376301&loc=d3e1398-112600"
  },
  "r226": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "470",
   "URI": "http://asc.fasb.org/extlink&oid=6802200&loc=d3e1835-112601"
  },
  "r227": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "5",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "470",
   "URI": "http://asc.fasb.org/extlink&oid=6802200&loc=SL6230698-112601"
  },
  "r228": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "10",
   "Publisher": "FASB",
   "Section": "25",
   "SubTopic": "20",
   "Topic": "470",
   "URI": "http://asc.fasb.org/extlink&oid=109126253&loc=d3e4852-112606"
  },
  "r229": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "4",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Subparagraph": "(b)(1)",
   "Topic": "470",
   "URI": "http://asc.fasb.org/extlink&oid=109500613&loc=SL6031897-161870"
  },
  "r23": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.5-02.13)",
   "Topic": "210",
   "URI": "http://asc.fasb.org/extlink&oid=6877327&loc=d3e13212-122682"
  },
  "r230": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "4",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Subparagraph": "(b)(2)",
   "Topic": "470",
   "URI": "http://asc.fasb.org/extlink&oid=109500613&loc=SL6031897-161870"
  },
  "r231": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "4",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Subparagraph": "(b)(3)",
   "Topic": "470",
   "URI": "http://asc.fasb.org/extlink&oid=109500613&loc=SL6031897-161870"
  },
  "r232": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "5",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Subparagraph": "(b)",
   "Topic": "470",
   "URI": "http://asc.fasb.org/extlink&oid=109500613&loc=SL6031898-161870"
  },
  "r233": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "40",
   "SubTopic": "50",
   "Topic": "470",
   "URI": "http://asc.fasb.org/extlink&oid=117329964&loc=d3e12317-112629"
  },
  "r234": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "4",
   "Publisher": "FASB",
   "Section": "40",
   "SubTopic": "50",
   "Topic": "470",
   "URI": "http://asc.fasb.org/extlink&oid=117329964&loc=d3e12355-112629"
  },
  "r235": {
   "Name": "Accounting Standards Codification",
   "Publisher": "FASB",
   "Topic": "470",
   "URI": "http://asc.fasb.org/topic&trid=2208564"
  },
  "r236": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(CFRR 211.02)",
   "Topic": "480",
   "URI": "http://asc.fasb.org/extlink&oid=65877616&loc=d3e177068-122764"
  },
  "r237": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Topic": "480",
   "URI": "http://asc.fasb.org/extlink&oid=65877616&loc=d3e177068-122764"
  },
  "r238": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "10",
   "Topic": "505",
   "URI": "http://asc.fasb.org/extlink&oid=65888546&loc=d3e21300-112643"
  },
  "r239": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "10",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "505",
   "URI": "http://asc.fasb.org/extlink&oid=109259400&loc=d3e21553-112644"
  },
  "r24": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.5-02.17)",
   "Topic": "210",
   "URI": "http://asc.fasb.org/extlink&oid=6877327&loc=d3e13212-122682"
  },
  "r240": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "11",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "505",
   "URI": "http://asc.fasb.org/extlink&oid=109259400&loc=d3e21564-112644"
  },
  "r241": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "505",
   "URI": "http://asc.fasb.org/extlink&oid=109259400&loc=d3e21463-112644"
  },
  "r242": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "3",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "505",
   "URI": "http://asc.fasb.org/extlink&oid=109259400&loc=d3e21475-112644"
  },
  "r243": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "4",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "505",
   "URI": "http://asc.fasb.org/extlink&oid=109259400&loc=d3e21484-112644"
  },
  "r244": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "5",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(a)",
   "Topic": "505",
   "URI": "http://asc.fasb.org/extlink&oid=109259400&loc=d3e21488-112644"
  },
  "r245": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "5",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "505",
   "URI": "http://asc.fasb.org/extlink&oid=109259400&loc=d3e21488-112644"
  },
  "r246": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "6",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(b)",
   "Topic": "505",
   "URI": "http://asc.fasb.org/extlink&oid=109259400&loc=d3e21506-112644"
  },
  "r247": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "6",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "505",
   "URI": "http://asc.fasb.org/extlink&oid=109259400&loc=d3e21506-112644"
  },
  "r248": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "7",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "505",
   "URI": "http://asc.fasb.org/extlink&oid=109259400&loc=d3e21521-112644"
  },
  "r249": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "8",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "505",
   "URI": "http://asc.fasb.org/extlink&oid=109259400&loc=d3e21538-112644"
  },
  "r25": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.5-02.19-26)",
   "Topic": "210",
   "URI": "http://asc.fasb.org/extlink&oid=6877327&loc=d3e13212-122682"
  },
  "r250": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.3-04)",
   "Topic": "505",
   "URI": "http://asc.fasb.org/extlink&oid=27012166&loc=d3e187085-122770"
  },
  "r251": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Topic": "505",
   "URI": "http://asc.fasb.org/extlink&oid=27012166&loc=d3e187085-122770"
  },
  "r252": {
   "Name": "Accounting Standards Codification",
   "Publisher": "FASB",
   "Topic": "505",
   "URI": "http://asc.fasb.org/topic&trid=2208762"
  },
  "r253": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "5",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "606",
   "URI": "http://asc.fasb.org/extlink&oid=118956577&loc=SL49130545-203045"
  },
  "r254": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "91",
   "Publisher": "FASB",
   "Section": "55",
   "SubTopic": "10",
   "Subparagraph": "(b)",
   "Topic": "606",
   "URI": "http://asc.fasb.org/extlink&oid=118944142&loc=SL49130690-203046-203046"
  },
  "r255": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Subparagraph": "(d)(ii)",
   "Topic": "715",
   "URI": "http://asc.fasb.org/extlink&oid=118255775&loc=d3e1928-114920"
  },
  "r256": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Subparagraph": "(d)(iv)(01)",
   "Topic": "715",
   "URI": "http://asc.fasb.org/extlink&oid=118255775&loc=d3e1928-114920"
  },
  "r257": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "17",
   "Publisher": "FASB",
   "Section": "55",
   "SubTopic": "20",
   "Topic": "715",
   "URI": "http://asc.fasb.org/extlink&oid=118257860&loc=d3e4179-114921"
  },
  "r258": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(a)",
   "Topic": "718",
   "URI": "http://asc.fasb.org/extlink&oid=116856206&loc=d3e5047-113901"
  },
  "r259": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(b)",
   "Topic": "718",
   "URI": "http://asc.fasb.org/extlink&oid=116856206&loc=d3e5047-113901"
  },
  "r26": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.5-02.22(a)(1))",
   "Topic": "210",
   "URI": "http://asc.fasb.org/extlink&oid=6877327&loc=d3e13212-122682"
  },
  "r260": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "718",
   "URI": "http://asc.fasb.org/extlink&oid=116856206&loc=d3e5047-113901"
  },
  "r261": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(a)(1)",
   "Topic": "718",
   "URI": "http://asc.fasb.org/extlink&oid=116856206&loc=d3e5070-113901"
  },
  "r262": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(a)(3)",
   "Topic": "718",
   "URI": "http://asc.fasb.org/extlink&oid=116856206&loc=d3e5070-113901"
  },
  "r263": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(a),(g)",
   "Topic": "718",
   "URI": "http://asc.fasb.org/extlink&oid=116856206&loc=d3e5070-113901"
  },
  "r264": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(c)",
   "Topic": "718",
   "URI": "http://asc.fasb.org/extlink&oid=116856206&loc=d3e5070-113901"
  },
  "r265": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(c)(1)(iv)(3)",
   "Topic": "718",
   "URI": "http://asc.fasb.org/extlink&oid=116856206&loc=d3e5070-113901"
  },
  "r266": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(c)(2)",
   "Topic": "718",
   "URI": "http://asc.fasb.org/extlink&oid=116856206&loc=d3e5070-113901"
  },
  "r267": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(c)(2)(i)-(ii)",
   "Topic": "718",
   "URI": "http://asc.fasb.org/extlink&oid=116856206&loc=d3e5070-113901"
  },
  "r268": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(c)(2)(iii)(1)",
   "Topic": "718",
   "URI": "http://asc.fasb.org/extlink&oid=116856206&loc=d3e5070-113901"
  },
  "r269": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(c)(2)(iii)(2)",
   "Topic": "718",
   "URI": "http://asc.fasb.org/extlink&oid=116856206&loc=d3e5070-113901"
  },
  "r27": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.5-02.22(a)(5))",
   "Topic": "210",
   "URI": "http://asc.fasb.org/extlink&oid=6877327&loc=d3e13212-122682"
  },
  "r270": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(c)(2)(iii)(3)",
   "Topic": "718",
   "URI": "http://asc.fasb.org/extlink&oid=116856206&loc=d3e5070-113901"
  },
  "r271": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(d)(2)",
   "Topic": "718",
   "URI": "http://asc.fasb.org/extlink&oid=116856206&loc=d3e5070-113901"
  },
  "r272": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(f)(2)(i)",
   "Topic": "718",
   "URI": "http://asc.fasb.org/extlink&oid=116856206&loc=d3e5070-113901"
  },
  "r273": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(g)",
   "Topic": "718",
   "URI": "http://asc.fasb.org/extlink&oid=116856206&loc=d3e5070-113901"
  },
  "r274": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(h)(1)(i)",
   "Topic": "718",
   "URI": "http://asc.fasb.org/extlink&oid=116856206&loc=d3e5070-113901"
  },
  "r275": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(i)",
   "Topic": "718",
   "URI": "http://asc.fasb.org/extlink&oid=116856206&loc=d3e5070-113901"
  },
  "r276": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "718",
   "URI": "http://asc.fasb.org/extlink&oid=116856206&loc=d3e5070-113901"
  },
  "r277": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SAB Topic 14.D.2)",
   "Topic": "718",
   "URI": "http://asc.fasb.org/extlink&oid=115993241&loc=d3e301413-122809"
  },
  "r278": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SAB Topic 14.F)",
   "Topic": "718",
   "URI": "http://asc.fasb.org/extlink&oid=115993241&loc=d3e301413-122809"
  },
  "r279": {
   "Name": "Accounting Standards Codification",
   "Publisher": "FASB",
   "Topic": "718",
   "URI": "http://asc.fasb.org/topic&trid=2228938"
  },
  "r28": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.5-02.22(b))",
   "Topic": "210",
   "URI": "http://asc.fasb.org/extlink&oid=6877327&loc=d3e13212-122682"
  },
  "r280": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "20",
   "Publisher": "FASB",
   "Section": "25",
   "SubTopic": "10",
   "Subparagraph": "(b)",
   "Topic": "740",
   "URI": "http://asc.fasb.org/extlink&oid=117330534&loc=d3e28680-109314"
  },
  "r281": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "20",
   "Publisher": "FASB",
   "Section": "25",
   "SubTopic": "10",
   "Topic": "740",
   "URI": "http://asc.fasb.org/extlink&oid=117330534&loc=d3e28680-109314"
  },
  "r282": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(a)",
   "Topic": "740",
   "URI": "http://asc.fasb.org/extlink&oid=84230637&loc=d3e32537-109319"
  },
  "r283": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(b)",
   "Topic": "740",
   "URI": "http://asc.fasb.org/extlink&oid=84230637&loc=d3e32537-109319"
  },
  "r284": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(c)",
   "Topic": "740",
   "URI": "http://asc.fasb.org/extlink&oid=84230637&loc=d3e32537-109319"
  },
  "r285": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "740",
   "URI": "http://asc.fasb.org/extlink&oid=84230637&loc=d3e32537-109319"
  },
  "r286": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "3",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(a)",
   "Topic": "740",
   "URI": "http://asc.fasb.org/extlink&oid=84230637&loc=d3e32559-109319"
  },
  "r287": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "3",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "740",
   "URI": "http://asc.fasb.org/extlink&oid=84230637&loc=d3e32559-109319"
  },
  "r288": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "6",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "740",
   "URI": "http://asc.fasb.org/extlink&oid=84230637&loc=d3e32621-109319"
  },
  "r289": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "8",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "740",
   "URI": "http://asc.fasb.org/extlink&oid=84230637&loc=d3e32632-109319"
  },
  "r29": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.5-02.22)",
   "Topic": "210",
   "URI": "http://asc.fasb.org/extlink&oid=6877327&loc=d3e13212-122682"
  },
  "r290": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "9",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(a)",
   "Topic": "740",
   "URI": "http://asc.fasb.org/extlink&oid=84230637&loc=d3e32639-109319"
  },
  "r291": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "9",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(b)",
   "Topic": "740",
   "URI": "http://asc.fasb.org/extlink&oid=84230637&loc=d3e32639-109319"
  },
  "r292": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "9",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "740",
   "URI": "http://asc.fasb.org/extlink&oid=84230637&loc=d3e32639-109319"
  },
  "r293": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SAB Topic 6.I.7)",
   "Topic": "740",
   "URI": "http://asc.fasb.org/extlink&oid=116825942&loc=d3e330036-122817"
  },
  "r294": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "20",
   "Subparagraph": "(a)",
   "Topic": "740",
   "URI": "http://asc.fasb.org/extlink&oid=109238882&loc=d3e38679-109324"
  },
  "r295": {
   "Name": "Accounting Standards Codification",
   "Publisher": "FASB",
   "Topic": "740",
   "URI": "http://asc.fasb.org/topic&trid=2144680"
  },
  "r296": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "805",
   "URI": "http://asc.fasb.org/extlink&oid=79982066&loc=d3e1392-128463"
  },
  "r297": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "3",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "805",
   "URI": "http://asc.fasb.org/extlink&oid=79982066&loc=d3e1486-128463"
  },
  "r298": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "808",
   "URI": "http://asc.fasb.org/extlink&oid=6931272&loc=SL5834143-161434"
  },
  "r299": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "11",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "10",
   "Topic": "810",
   "URI": "http://asc.fasb.org/extlink&oid=108774443&loc=d3e5283-111683"
  },
  "r3": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "4",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "10",
   "Subparagraph": "(e)",
   "Topic": "210",
   "URI": "http://asc.fasb.org/extlink&oid=118951113&loc=d3e6812-107765"
  },
  "r30": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.5-02.25)",
   "Topic": "210",
   "URI": "http://asc.fasb.org/extlink&oid=6877327&loc=d3e13212-122682"
  },
  "r300": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "15",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "10",
   "Topic": "810",
   "URI": "http://asc.fasb.org/extlink&oid=108774443&loc=SL4568447-111683"
  },
  "r301": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "16",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "10",
   "Topic": "810",
   "URI": "http://asc.fasb.org/extlink&oid=108774443&loc=SL4568740-111683"
  },
  "r302": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "19",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "10",
   "Topic": "810",
   "URI": "http://asc.fasb.org/extlink&oid=108774443&loc=SL4569616-111683"
  },
  "r303": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "23",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "10",
   "Topic": "810",
   "URI": "http://asc.fasb.org/extlink&oid=108774443&loc=SL4569655-111683"
  },
  "r304": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1A",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(a)(1)",
   "Topic": "810",
   "URI": "http://asc.fasb.org/extlink&oid=109239629&loc=SL4573702-111684"
  },
  "r305": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1A",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(a)(2)",
   "Topic": "810",
   "URI": "http://asc.fasb.org/extlink&oid=109239629&loc=SL4573702-111684"
  },
  "r306": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1A",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(c)(1)",
   "Topic": "810",
   "URI": "http://asc.fasb.org/extlink&oid=109239629&loc=SL4573702-111684"
  },
  "r307": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1A",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(c)(2)",
   "Topic": "810",
   "URI": "http://asc.fasb.org/extlink&oid=109239629&loc=SL4573702-111684"
  },
  "r308": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1A",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(c),(3)",
   "Topic": "810",
   "URI": "http://asc.fasb.org/extlink&oid=109239629&loc=SL4573702-111684"
  },
  "r309": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2AA",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "a",
   "Topic": "810",
   "URI": "http://asc.fasb.org/extlink&oid=118582676&loc=SL6759068-111685"
  },
  "r31": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.5-02.28,29)",
   "Topic": "210",
   "URI": "http://asc.fasb.org/extlink&oid=6877327&loc=d3e13212-122682"
  },
  "r310": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "3",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(bb)",
   "Topic": "810",
   "URI": "http://asc.fasb.org/extlink&oid=118582676&loc=d3e5710-111685"
  },
  "r311": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "3",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "810",
   "URI": "http://asc.fasb.org/extlink&oid=118582676&loc=d3e5710-111685"
  },
  "r312": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "4",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(e)",
   "Topic": "810",
   "URI": "http://asc.fasb.org/extlink&oid=118582676&loc=d3e5728-111685"
  },
  "r313": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "4",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "a",
   "Topic": "810",
   "URI": "http://asc.fasb.org/extlink&oid=118582676&loc=d3e5728-111685"
  },
  "r314": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "4",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "810",
   "URI": "http://asc.fasb.org/extlink&oid=118582676&loc=d3e5728-111685"
  },
  "r315": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "5A",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(a)",
   "Topic": "810",
   "URI": "http://asc.fasb.org/extlink&oid=118582676&loc=SL6759159-111685"
  },
  "r316": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "5A",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(d)",
   "Topic": "810",
   "URI": "http://asc.fasb.org/extlink&oid=118582676&loc=SL6759159-111685"
  },
  "r317": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "5A",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "810",
   "URI": "http://asc.fasb.org/extlink&oid=118582676&loc=SL6759159-111685"
  },
  "r318": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "6",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "810",
   "URI": "http://asc.fasb.org/extlink&oid=118582676&loc=d3e5747-111685"
  },
  "r319": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "9",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "810",
   "URI": "http://asc.fasb.org/extlink&oid=118582676&loc=SL6228884-111685"
  },
  "r32": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.5-02.29-31)",
   "Topic": "210",
   "URI": "http://asc.fasb.org/extlink&oid=6877327&loc=d3e13212-122682"
  },
  "r320": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "4I",
   "Publisher": "FASB",
   "Section": "55",
   "SubTopic": "10",
   "Topic": "810",
   "URI": "http://asc.fasb.org/extlink&oid=116874947&loc=SL4590271-111686"
  },
  "r321": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "4J",
   "Publisher": "FASB",
   "Section": "55",
   "SubTopic": "10",
   "Topic": "810",
   "URI": "http://asc.fasb.org/extlink&oid=116874947&loc=SL4591551-111686"
  },
  "r322": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "4K",
   "Publisher": "FASB",
   "Section": "55",
   "SubTopic": "10",
   "Topic": "810",
   "URI": "http://asc.fasb.org/extlink&oid=116874947&loc=SL4591552-111686"
  },
  "r323": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "4",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.3A-04)",
   "Topic": "810",
   "URI": "http://asc.fasb.org/extlink&oid=116822174&loc=d3e355119-122828"
  },
  "r324": {
   "Name": "Accounting Standards Codification",
   "Publisher": "FASB",
   "Topic": "810",
   "URI": "http://asc.fasb.org/topic&trid=2197479"
  },
  "r325": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "815",
   "URI": "http://asc.fasb.org/extlink&oid=109980867&loc=SL5579240-113959"
  },
  "r326": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1A",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(d)",
   "Topic": "815",
   "URI": "http://asc.fasb.org/extlink&oid=109980867&loc=SL5579245-113959"
  },
  "r327": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1A",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "815",
   "URI": "http://asc.fasb.org/extlink&oid=109980867&loc=SL5579245-113959"
  },
  "r328": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1B",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "815",
   "URI": "http://asc.fasb.org/extlink&oid=109980867&loc=SL5580258-113959"
  },
  "r329": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(a)(1)(ii)",
   "Topic": "815",
   "URI": "http://asc.fasb.org/extlink&oid=109980867&loc=d3e41620-113959"
  },
  "r33": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.5-02.3,4)",
   "Topic": "210",
   "URI": "http://asc.fasb.org/extlink&oid=6877327&loc=d3e13212-122682"
  },
  "r330": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(b)",
   "Topic": "815",
   "URI": "http://asc.fasb.org/extlink&oid=109980867&loc=d3e41620-113959"
  },
  "r331": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "815",
   "URI": "http://asc.fasb.org/extlink&oid=109980867&loc=d3e41620-113959"
  },
  "r332": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "4",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "815",
   "URI": "http://asc.fasb.org/extlink&oid=109980867&loc=d3e41638-113959"
  },
  "r333": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "4A",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(a)",
   "Topic": "815",
   "URI": "http://asc.fasb.org/extlink&oid=109980867&loc=SL5618551-113959"
  },
  "r334": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "4A",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(b)",
   "Topic": "815",
   "URI": "http://asc.fasb.org/extlink&oid=109980867&loc=SL5618551-113959"
  },
  "r335": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "4B",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(a),(c)",
   "Topic": "815",
   "URI": "http://asc.fasb.org/extlink&oid=109980867&loc=SL5624163-113959"
  },
  "r336": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "4B",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(c)(1)",
   "Topic": "815",
   "URI": "http://asc.fasb.org/extlink&oid=109980867&loc=SL5624163-113959"
  },
  "r337": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "4B",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(c)(2)",
   "Topic": "815",
   "URI": "http://asc.fasb.org/extlink&oid=109980867&loc=SL5624163-113959"
  },
  "r338": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "4B",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(d)",
   "Topic": "815",
   "URI": "http://asc.fasb.org/extlink&oid=109980867&loc=SL5624163-113959"
  },
  "r339": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "4B",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "815",
   "URI": "http://asc.fasb.org/extlink&oid=109980867&loc=SL5624163-113959"
  },
  "r34": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.5-02.31)",
   "Topic": "210",
   "URI": "http://asc.fasb.org/extlink&oid=6877327&loc=d3e13212-122682"
  },
  "r340": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "4C",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(e)",
   "Topic": "815",
   "URI": "http://asc.fasb.org/extlink&oid=109980867&loc=SL5624171-113959"
  },
  "r341": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "4C",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "815",
   "URI": "http://asc.fasb.org/extlink&oid=109980867&loc=SL5624171-113959"
  },
  "r342": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "4CC",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "815",
   "URI": "http://asc.fasb.org/extlink&oid=109980867&loc=SL109998890-113959"
  },
  "r343": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "4D",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(a)(1)",
   "Topic": "815",
   "URI": "http://asc.fasb.org/extlink&oid=109980867&loc=SL5624177-113959"
  },
  "r344": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "4D",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "815",
   "URI": "http://asc.fasb.org/extlink&oid=109980867&loc=SL5624177-113959"
  },
  "r345": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "4E",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "815",
   "URI": "http://asc.fasb.org/extlink&oid=109980867&loc=SL5624181-113959"
  },
  "r346": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "5",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "815",
   "URI": "http://asc.fasb.org/extlink&oid=109980867&loc=d3e41641-113959"
  },
  "r347": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "8",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "815",
   "URI": "http://asc.fasb.org/extlink&oid=109980867&loc=d3e41678-113959"
  },
  "r348": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "25",
   "Topic": "815",
   "URI": "http://asc.fasb.org/extlink&oid=109977999&loc=d3e76258-113986"
  },
  "r349": {
   "Name": "Accounting Standards Codification",
   "Publisher": "FASB",
   "Topic": "815",
   "URI": "http://asc.fasb.org/topic&trid=2229140"
  },
  "r35": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "11",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "20",
   "Topic": "210",
   "URI": "http://asc.fasb.org/extlink&oid=49176635&loc=d3e9760-107771"
  },
  "r350": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(a)",
   "Topic": "820",
   "URI": "http://asc.fasb.org/extlink&oid=117815213&loc=d3e19207-110258"
  },
  "r351": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(b)",
   "Topic": "820",
   "URI": "http://asc.fasb.org/extlink&oid=117815213&loc=d3e19207-110258"
  },
  "r352": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(bb)",
   "Topic": "820",
   "URI": "http://asc.fasb.org/extlink&oid=117815213&loc=d3e19207-110258"
  },
  "r353": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(bbb)",
   "Topic": "820",
   "URI": "http://asc.fasb.org/extlink&oid=117815213&loc=d3e19207-110258"
  },
  "r354": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(bbb)(1)",
   "Topic": "820",
   "URI": "http://asc.fasb.org/extlink&oid=117815213&loc=d3e19207-110258"
  },
  "r355": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(bbb)(2)",
   "Topic": "820",
   "URI": "http://asc.fasb.org/extlink&oid=117815213&loc=d3e19207-110258"
  },
  "r356": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(c)",
   "Topic": "820",
   "URI": "http://asc.fasb.org/extlink&oid=117815213&loc=d3e19207-110258"
  },
  "r357": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(c)(1)",
   "Topic": "820",
   "URI": "http://asc.fasb.org/extlink&oid=117815213&loc=d3e19207-110258"
  },
  "r358": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(c)(1a)",
   "Topic": "820",
   "URI": "http://asc.fasb.org/extlink&oid=117815213&loc=d3e19207-110258"
  },
  "r359": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(c)(2)",
   "Topic": "820",
   "URI": "http://asc.fasb.org/extlink&oid=117815213&loc=d3e19207-110258"
  },
  "r36": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "3",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Subparagraph": "(a)",
   "Topic": "210",
   "URI": "http://asc.fasb.org/extlink&oid=51824906&loc=SL20225862-175312"
  },
  "r360": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(c)(3)",
   "Topic": "820",
   "URI": "http://asc.fasb.org/extlink&oid=117815213&loc=d3e19207-110258"
  },
  "r361": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(d)",
   "Topic": "820",
   "URI": "http://asc.fasb.org/extlink&oid=117815213&loc=d3e19207-110258"
  },
  "r362": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(h)",
   "Topic": "820",
   "URI": "http://asc.fasb.org/extlink&oid=117815213&loc=d3e19207-110258"
  },
  "r363": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "820",
   "URI": "http://asc.fasb.org/extlink&oid=117815213&loc=d3e19207-110258"
  },
  "r364": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "3",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "820",
   "URI": "http://asc.fasb.org/extlink&oid=117815213&loc=d3e19279-110258"
  },
  "r365": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "6A",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "820",
   "URI": "http://asc.fasb.org/extlink&oid=117815213&loc=SL6742756-110258"
  },
  "r366": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "10",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "825",
   "URI": "http://asc.fasb.org/extlink&oid=118260190&loc=d3e13433-108611"
  },
  "r367": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "11",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "825",
   "URI": "http://asc.fasb.org/extlink&oid=118260190&loc=d3e13467-108611"
  },
  "r368": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "12",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "825",
   "URI": "http://asc.fasb.org/extlink&oid=118260190&loc=d3e13476-108611"
  },
  "r369": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "20",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "825",
   "URI": "http://asc.fasb.org/extlink&oid=118260190&loc=d3e13531-108611"
  },
  "r37": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "3",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Subparagraph": "(c)",
   "Topic": "210",
   "URI": "http://asc.fasb.org/extlink&oid=51824906&loc=SL20225862-175312"
  },
  "r370": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "21",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(a)",
   "Topic": "825",
   "URI": "http://asc.fasb.org/extlink&oid=118260190&loc=d3e13537-108611"
  },
  "r371": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "21",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "825",
   "URI": "http://asc.fasb.org/extlink&oid=118260190&loc=d3e13537-108611"
  },
  "r372": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "30",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(a)",
   "Topic": "825",
   "URI": "http://asc.fasb.org/extlink&oid=75031198&loc=d3e14172-108612"
  },
  "r373": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "30",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(c)(1)",
   "Topic": "825",
   "URI": "http://asc.fasb.org/extlink&oid=75031198&loc=d3e14172-108612"
  },
  "r374": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "230",
   "Topic": "830",
   "URI": "http://asc.fasb.org/extlink&oid=98513438&loc=d3e33268-110906"
  },
  "r375": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Subparagraph": "(a)",
   "Topic": "835",
   "URI": "http://asc.fasb.org/extlink&oid=6450988&loc=d3e26243-108391"
  },
  "r376": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1A",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "30",
   "Topic": "835",
   "URI": "http://asc.fasb.org/extlink&oid=114775744&loc=d3e28541-108399"
  },
  "r377": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "30",
   "Topic": "835",
   "URI": "http://asc.fasb.org/extlink&oid=114775744&loc=d3e28551-108399"
  },
  "r378": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "3",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "30",
   "Topic": "835",
   "URI": "http://asc.fasb.org/extlink&oid=114775744&loc=d3e28555-108399"
  },
  "r379": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "8",
   "Publisher": "FASB",
   "Section": "55",
   "SubTopic": "30",
   "Topic": "835",
   "URI": "http://asc.fasb.org/extlink&oid=114775985&loc=d3e28878-108400"
  },
  "r38": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "10",
   "Publisher": "FASB",
   "Section": "55",
   "SubTopic": "20",
   "Topic": "210",
   "URI": "http://asc.fasb.org/extlink&oid=99393222&loc=SL20226008-175313"
  },
  "r380": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "65",
   "SubTopic": "10",
   "Topic": "842",
   "URI": "http://asc.fasb.org/extlink&oid=119364159&loc=SL77916155-209984"
  },
  "r381": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "20",
   "Subparagraph": "(a)",
   "Topic": "842",
   "URI": "http://asc.fasb.org/extlink&oid=77888419&loc=SL77918627-209977"
  },
  "r382": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "20",
   "Subparagraph": "(b)",
   "Topic": "842",
   "URI": "http://asc.fasb.org/extlink&oid=77888419&loc=SL77918627-209977"
  },
  "r383": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "850",
   "URI": "http://asc.fasb.org/extlink&oid=6457730&loc=d3e39599-107864"
  },
  "r384": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "855",
   "URI": "http://asc.fasb.org/extlink&oid=6842918&loc=SL6314017-165662"
  },
  "r385": {
   "Name": "Accounting Standards Codification",
   "Publisher": "FASB",
   "Topic": "855",
   "URI": "http://asc.fasb.org/topic&trid=2122774"
  },
  "r386": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "3",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Subparagraph": "(b)(2)(i)",
   "Topic": "860",
   "URI": "http://asc.fasb.org/extlink&oid=118948506&loc=d3e107207-111719"
  },
  "r387": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "3",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Subparagraph": "(bb)",
   "Topic": "860",
   "URI": "http://asc.fasb.org/extlink&oid=118948506&loc=d3e107207-111719"
  },
  "r388": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "3",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Subparagraph": "(bb)(1)",
   "Topic": "860",
   "URI": "http://asc.fasb.org/extlink&oid=118948506&loc=d3e107207-111719"
  },
  "r389": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "3",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Subparagraph": "(bb)(2)",
   "Topic": "860",
   "URI": "http://asc.fasb.org/extlink&oid=118948506&loc=d3e107207-111719"
  },
  "r39": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "16",
   "Publisher": "FASB",
   "Section": "55",
   "SubTopic": "20",
   "Topic": "210",
   "URI": "http://asc.fasb.org/extlink&oid=99393222&loc=SL20226024-175313"
  },
  "r390": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "3",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Subparagraph": "(bb)(3)",
   "Topic": "860",
   "URI": "http://asc.fasb.org/extlink&oid=118948506&loc=d3e107207-111719"
  },
  "r391": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "4",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Subparagraph": "(a)",
   "Topic": "860",
   "URI": "http://asc.fasb.org/extlink&oid=118948506&loc=d3e107314-111719"
  },
  "r392": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "4D",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Subparagraph": "(c)(2)",
   "Topic": "860",
   "URI": "http://asc.fasb.org/extlink&oid=118948506&loc=SL51823488-111719"
  },
  "r393": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "8",
   "Publisher": "FASB",
   "Section": "25",
   "SubTopic": "30",
   "Topic": "860",
   "URI": "http://asc.fasb.org/extlink&oid=109249708&loc=d3e113275-111724"
  },
  "r394": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "30",
   "Topic": "860",
   "URI": "http://asc.fasb.org/extlink&oid=66007379&loc=d3e113888-111728"
  },
  "r395": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1A",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "30",
   "Subparagraph": "(b)(1)(i)",
   "Topic": "860",
   "URI": "http://asc.fasb.org/extlink&oid=109249958&loc=SL6224234-111729"
  },
  "r396": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1A",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "30",
   "Topic": "860",
   "URI": "http://asc.fasb.org/extlink&oid=109249958&loc=SL6224234-111729"
  },
  "r397": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "7",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "30",
   "Subparagraph": "(b)",
   "Topic": "860",
   "URI": "http://asc.fasb.org/extlink&oid=109249958&loc=SL34722452-111729"
  },
  "r398": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "7",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "30",
   "Topic": "860",
   "URI": "http://asc.fasb.org/extlink&oid=109249958&loc=SL34722452-111729"
  },
  "r399": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "3",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "50",
   "Topic": "860",
   "URI": "http://asc.fasb.org/extlink&oid=116651436&loc=d3e122625-111746"
  },
  "r4": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.5-02(1))",
   "Topic": "210",
   "URI": "http://asc.fasb.org/extlink&oid=6877327&loc=d3e13212-122682"
  },
  "r40": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "7",
   "Publisher": "FASB",
   "Section": "55",
   "SubTopic": "20",
   "Topic": "210",
   "URI": "http://asc.fasb.org/extlink&oid=99393222&loc=SL20226000-175313"
  },
  "r400": {
   "Name": "Accounting Standards Codification",
   "Publisher": "FASB",
   "Topic": "860",
   "URI": "http://asc.fasb.org/topic&trid=2197590"
  },
  "r401": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "340",
   "Topic": "928",
   "URI": "http://asc.fasb.org/extlink&oid=6473545&loc=d3e61844-108004"
  },
  "r402": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "320",
   "Topic": "940",
   "URI": "http://asc.fasb.org/extlink&oid=35711157&loc=d3e42546-110969"
  },
  "r403": {
   "Name": "Accounting Standards Codification",
   "Publisher": "FASB",
   "SubTopic": "320",
   "Topic": "940",
   "URI": "http://asc.fasb.org/subtopic&trid=2176304"
  },
  "r404": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "210",
   "Subparagraph": "(SX 210.9-03(1)(a))",
   "Topic": "942",
   "URI": "http://asc.fasb.org/extlink&oid=6876686&loc=d3e534808-122878"
  },
  "r405": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "210",
   "Subparagraph": "(SX 210.9-03(11))",
   "Topic": "942",
   "URI": "http://asc.fasb.org/extlink&oid=6876686&loc=d3e534808-122878"
  },
  "r406": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "210",
   "Subparagraph": "(SX 210.9-03(13))",
   "Topic": "942",
   "URI": "http://asc.fasb.org/extlink&oid=6876686&loc=d3e534808-122878"
  },
  "r407": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "210",
   "Subparagraph": "(SX 210.9-03(15)(2))",
   "Topic": "942",
   "URI": "http://asc.fasb.org/extlink&oid=6876686&loc=d3e534808-122878"
  },
  "r408": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "210",
   "Subparagraph": "(SX 210.9-03(15)(5))",
   "Topic": "942",
   "URI": "http://asc.fasb.org/extlink&oid=6876686&loc=d3e534808-122878"
  },
  "r409": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "210",
   "Subparagraph": "(SX 210.9-03(16))",
   "Topic": "942",
   "URI": "http://asc.fasb.org/extlink&oid=6876686&loc=d3e534808-122878"
  },
  "r41": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "10A",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "10",
   "Subparagraph": "(e)",
   "Topic": "220",
   "URI": "http://asc.fasb.org/extlink&oid=118930883&loc=SL7669646-108580"
  },
  "r410": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "210",
   "Subparagraph": "(SX 210.9-03(22))",
   "Topic": "942",
   "URI": "http://asc.fasb.org/extlink&oid=6876686&loc=d3e534808-122878"
  },
  "r411": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "210",
   "Subparagraph": "(SX 210.9-03(23))",
   "Topic": "942",
   "URI": "http://asc.fasb.org/extlink&oid=6876686&loc=d3e534808-122878"
  },
  "r412": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "210",
   "Subparagraph": "(SX 210.9-03(6))",
   "Topic": "942",
   "URI": "http://asc.fasb.org/extlink&oid=6876686&loc=d3e534808-122878"
  },
  "r413": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "210",
   "Subparagraph": "(SX 210.9-03(7)(d))",
   "Topic": "942",
   "URI": "http://asc.fasb.org/extlink&oid=6876686&loc=d3e534808-122878"
  },
  "r414": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "210",
   "Subparagraph": "(SX 210.9-03.13(1))",
   "Topic": "942",
   "URI": "http://asc.fasb.org/extlink&oid=6876686&loc=d3e534808-122878"
  },
  "r415": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "210",
   "Subparagraph": "(SX 210.9-03.15(1),(5))",
   "Topic": "942",
   "URI": "http://asc.fasb.org/extlink&oid=6876686&loc=d3e534808-122878"
  },
  "r416": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "210",
   "Subparagraph": "(SX 210.9-03.15(5))",
   "Topic": "942",
   "URI": "http://asc.fasb.org/extlink&oid=6876686&loc=d3e534808-122878"
  },
  "r417": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "210",
   "Subparagraph": "(SX 210.9-03.17)",
   "Topic": "942",
   "URI": "http://asc.fasb.org/extlink&oid=6876686&loc=d3e534808-122878"
  },
  "r418": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "220",
   "Subparagraph": "(SX 210.9-04(13)(f))",
   "Topic": "942",
   "URI": "http://asc.fasb.org/extlink&oid=116637391&loc=SL114874048-224260"
  },
  "r419": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "220",
   "Subparagraph": "(SX 210.9-04(14)(d))",
   "Topic": "942",
   "URI": "http://asc.fasb.org/extlink&oid=116637391&loc=SL114874048-224260"
  },
  "r42": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "10A",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "10",
   "Topic": "220",
   "URI": "http://asc.fasb.org/extlink&oid=118930883&loc=SL7669646-108580"
  },
  "r420": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "220",
   "Subparagraph": "(SX 210.9-04(22))",
   "Topic": "942",
   "URI": "http://asc.fasb.org/extlink&oid=116637391&loc=SL114874048-224260"
  },
  "r421": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "220",
   "Subparagraph": "(SX 210.9-04(23))",
   "Topic": "942",
   "URI": "http://asc.fasb.org/extlink&oid=116637391&loc=SL114874048-224260"
  },
  "r422": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "220",
   "Subparagraph": "(SX 210.9-04.1-5)",
   "Topic": "942",
   "URI": "http://asc.fasb.org/extlink&oid=116637391&loc=SL114874048-224260"
  },
  "r423": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "220",
   "Subparagraph": "(SX 210.9-04.10)",
   "Topic": "942",
   "URI": "http://asc.fasb.org/extlink&oid=116637391&loc=SL114874048-224260"
  },
  "r424": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "220",
   "Subparagraph": "(SX 210.9-04.11)",
   "Topic": "942",
   "URI": "http://asc.fasb.org/extlink&oid=116637391&loc=SL114874048-224260"
  },
  "r425": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "220",
   "Subparagraph": "(SX 210.9-04.13)",
   "Topic": "942",
   "URI": "http://asc.fasb.org/extlink&oid=116637391&loc=SL114874048-224260"
  },
  "r426": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "220",
   "Subparagraph": "(SX 210.9-04.14(d))",
   "Topic": "942",
   "URI": "http://asc.fasb.org/extlink&oid=116637391&loc=SL114874048-224260"
  },
  "r427": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "220",
   "Subparagraph": "(SX 210.9-04.2)",
   "Topic": "942",
   "URI": "http://asc.fasb.org/extlink&oid=116637391&loc=SL114874048-224260"
  },
  "r428": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "220",
   "Subparagraph": "(SX 210.9-04.7,8)",
   "Topic": "942",
   "URI": "http://asc.fasb.org/extlink&oid=116637391&loc=SL114874048-224260"
  },
  "r429": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "220",
   "Subparagraph": "(SX 210.9-04.8)",
   "Topic": "942",
   "URI": "http://asc.fasb.org/extlink&oid=116637391&loc=SL114874048-224260"
  },
  "r43": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "11",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "10",
   "Topic": "220",
   "URI": "http://asc.fasb.org/extlink&oid=118930883&loc=d3e637-108580"
  },
  "r430": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "220",
   "Subparagraph": "(SX 210.9-04.9)",
   "Topic": "942",
   "URI": "http://asc.fasb.org/extlink&oid=116637391&loc=SL114874048-224260"
  },
  "r431": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "3",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "320",
   "Subparagraph": "(c)",
   "Topic": "942",
   "URI": "http://asc.fasb.org/extlink&oid=75019621&loc=d3e62586-112803"
  },
  "r432": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "3",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "320",
   "Subparagraph": "(d)",
   "Topic": "942",
   "URI": "http://asc.fasb.org/extlink&oid=75019621&loc=d3e62586-112803"
  },
  "r433": {
   "Name": "Accounting Standards Codification",
   "Publisher": "FASB",
   "SubTopic": "320",
   "Topic": "942",
   "URI": "http://asc.fasb.org/subtopic&trid=2209399"
  },
  "r434": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "405",
   "Topic": "942",
   "URI": "http://asc.fasb.org/extlink&oid=6957935&loc=d3e64057-112817"
  },
  "r435": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "470",
   "Topic": "942",
   "URI": "http://asc.fasb.org/extlink&oid=6479118&loc=d3e64650-112822"
  },
  "r436": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "3",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "470",
   "Topic": "942",
   "URI": "http://asc.fasb.org/extlink&oid=75038535&loc=d3e64711-112823"
  },
  "r437": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "210",
   "Subparagraph": "(SX 210.7-03(15)(b)(2))",
   "Topic": "944",
   "URI": "http://asc.fasb.org/extlink&oid=119400593&loc=d3e572229-122910"
  },
  "r438": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "210",
   "Subparagraph": "(SX 210.7-03(16))",
   "Topic": "944",
   "URI": "http://asc.fasb.org/extlink&oid=119400593&loc=d3e572229-122910"
  },
  "r439": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "210",
   "Subparagraph": "(SX 210.7-03(a)(1))",
   "Topic": "944",
   "URI": "http://asc.fasb.org/extlink&oid=119400593&loc=d3e572229-122910"
  },
  "r44": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "14",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "10",
   "Topic": "220",
   "URI": "http://asc.fasb.org/extlink&oid=118930883&loc=d3e681-108580"
  },
  "r440": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "210",
   "Subparagraph": "(SX 210.7-03(a)(12))",
   "Topic": "944",
   "URI": "http://asc.fasb.org/extlink&oid=119400593&loc=d3e572229-122910"
  },
  "r441": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "210",
   "Subparagraph": "(SX 210.7-03(a)(15)(5))",
   "Topic": "944",
   "URI": "http://asc.fasb.org/extlink&oid=119400593&loc=d3e572229-122910"
  },
  "r442": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "210",
   "Subparagraph": "(SX 210.7-03(a)(16))",
   "Topic": "944",
   "URI": "http://asc.fasb.org/extlink&oid=119400593&loc=d3e572229-122910"
  },
  "r443": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "210",
   "Subparagraph": "(SX 210.7-03(a)(2))",
   "Topic": "944",
   "URI": "http://asc.fasb.org/extlink&oid=119400593&loc=d3e572229-122910"
  },
  "r444": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "210",
   "Subparagraph": "(SX 210.7-03(a)(23)(a)(4))",
   "Topic": "944",
   "URI": "http://asc.fasb.org/extlink&oid=119400593&loc=d3e572229-122910"
  },
  "r445": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "210",
   "Subparagraph": "(SX 210.7-03(a)(24))",
   "Topic": "944",
   "URI": "http://asc.fasb.org/extlink&oid=119400593&loc=d3e572229-122910"
  },
  "r446": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "210",
   "Subparagraph": "(SX 210.7-03(a)(25))",
   "Topic": "944",
   "URI": "http://asc.fasb.org/extlink&oid=119400593&loc=d3e572229-122910"
  },
  "r447": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "210",
   "Subparagraph": "(SX 210.7-03(a)(5))",
   "Topic": "944",
   "URI": "http://asc.fasb.org/extlink&oid=119400593&loc=d3e572229-122910"
  },
  "r448": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "210",
   "Subparagraph": "(SX 210.7-03.(a),19)",
   "Topic": "944",
   "URI": "http://asc.fasb.org/extlink&oid=119400593&loc=d3e572229-122910"
  },
  "r449": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "210",
   "Subparagraph": "(SX 210.7-03.1(3))",
   "Topic": "944",
   "URI": "http://asc.fasb.org/extlink&oid=119400593&loc=d3e572229-122910"
  },
  "r45": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "14A",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "10",
   "Topic": "220",
   "URI": "http://asc.fasb.org/extlink&oid=118930883&loc=SL7669686-108580"
  },
  "r450": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "210",
   "Subparagraph": "(SX 210.7-03.1(c))",
   "Topic": "944",
   "URI": "http://asc.fasb.org/extlink&oid=119400593&loc=d3e572229-122910"
  },
  "r451": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "210",
   "Subparagraph": "(SX 210.7-03.1(d))",
   "Topic": "944",
   "URI": "http://asc.fasb.org/extlink&oid=119400593&loc=d3e572229-122910"
  },
  "r452": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "210",
   "Subparagraph": "(SX 210.7-03.1(f))",
   "Topic": "944",
   "URI": "http://asc.fasb.org/extlink&oid=119400593&loc=d3e572229-122910"
  },
  "r453": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "210",
   "Subparagraph": "(SX 210.7-03.15(a))",
   "Topic": "944",
   "URI": "http://asc.fasb.org/extlink&oid=119400593&loc=d3e572229-122910"
  },
  "r454": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "210",
   "Subparagraph": "(SX 210.7-03.15)",
   "Topic": "944",
   "URI": "http://asc.fasb.org/extlink&oid=119400593&loc=d3e572229-122910"
  },
  "r455": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "220",
   "Subparagraph": "(SX 210.7-04(10))",
   "Topic": "944",
   "URI": "http://asc.fasb.org/extlink&oid=116637232&loc=SL114874131-224263"
  },
  "r456": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "220",
   "Subparagraph": "(SX 210.7-04(18))",
   "Topic": "944",
   "URI": "http://asc.fasb.org/extlink&oid=116637232&loc=SL114874131-224263"
  },
  "r457": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "220",
   "Subparagraph": "(SX 210.7-04(19))",
   "Topic": "944",
   "URI": "http://asc.fasb.org/extlink&oid=116637232&loc=SL114874131-224263"
  },
  "r458": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "220",
   "Subparagraph": "(SX 210.7-04(3)(a))",
   "Topic": "944",
   "URI": "http://asc.fasb.org/extlink&oid=116637232&loc=SL114874131-224263"
  },
  "r459": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "220",
   "Subparagraph": "(SX 210.7-04.3(a))",
   "Topic": "944",
   "URI": "http://asc.fasb.org/extlink&oid=116637232&loc=SL114874131-224263"
  },
  "r46": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "15",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "10",
   "Topic": "220",
   "URI": "http://asc.fasb.org/extlink&oid=118930883&loc=d3e689-108580"
  },
  "r460": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "4",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "310",
   "Topic": "944",
   "URI": "http://asc.fasb.org/extlink&oid=118959141&loc=d3e21338-158488"
  },
  "r461": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "3",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "360",
   "Topic": "944",
   "URI": "http://asc.fasb.org/extlink&oid=117337397&loc=d3e23415-158514"
  },
  "r462": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "4",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "360",
   "Topic": "944",
   "URI": "http://asc.fasb.org/extlink&oid=117337397&loc=d3e23439-158514"
  },
  "r463": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "360",
   "Topic": "944",
   "URI": "http://asc.fasb.org/extlink&oid=117337411&loc=d3e23528-158515"
  },
  "r464": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "13H",
   "Publisher": "FASB",
   "Section": "55",
   "SubTopic": "40",
   "Subparagraph": "(b)",
   "Topic": "944",
   "URI": "http://asc.fasb.org/extlink&oid=117419784&loc=SL117783719-158441"
  },
  "r465": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1B",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "825",
   "Topic": "944",
   "URI": "http://asc.fasb.org/extlink&oid=99380617&loc=SL75241803-196195"
  },
  "r466": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "3",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.6-03(f))",
   "Topic": "946",
   "URI": "http://asc.fasb.org/extlink&oid=6488002&loc=d3e600178-122990"
  },
  "r467": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "11",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Topic": "946",
   "URI": "http://asc.fasb.org/extlink&oid=66023616&loc=d3e9120-115832"
  },
  "r468": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "12",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Topic": "946",
   "URI": "http://asc.fasb.org/extlink&oid=66023616&loc=d3e9145-115832"
  },
  "r469": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "3",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "210",
   "Subparagraph": "(SX 210.6-06(3))",
   "Topic": "946",
   "URI": "http://asc.fasb.org/extlink&oid=6488278&loc=d3e604059-122996"
  },
  "r47": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "17A",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "10",
   "Topic": "220",
   "URI": "http://asc.fasb.org/extlink&oid=118930883&loc=SL34724391-108580"
  },
  "r470": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "320",
   "Subparagraph": "(SX 210.12-12(2)(i))",
   "Topic": "946",
   "URI": "http://asc.fasb.org/extlink&oid=50485924&loc=d3e611133-123010"
  },
  "r471": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "320",
   "Subparagraph": "(SX 210.12-12)",
   "Topic": "946",
   "URI": "http://asc.fasb.org/extlink&oid=50485924&loc=d3e611133-123010"
  },
  "r472": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "4",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "320",
   "Subparagraph": "(SX 210.12-12C(1)(a))",
   "Topic": "946",
   "URI": "http://asc.fasb.org/extlink&oid=50485924&loc=d3e611225-123010"
  },
  "r473": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "5",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "320",
   "Subparagraph": "(SX 210.12-13(1))",
   "Topic": "946",
   "URI": "http://asc.fasb.org/extlink&oid=50485924&loc=d3e611282-123010"
  },
  "r474": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "7",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "320",
   "Subparagraph": "(SX 210.12-15(Column A))",
   "Topic": "946",
   "URI": "http://asc.fasb.org/extlink&oid=50485924&loc=d3e611379-123010"
  },
  "r475": {
   "Name": "Accounting Standards Codification",
   "Publisher": "FASB",
   "SubTopic": "320",
   "Topic": "946",
   "URI": "http://asc.fasb.org/subtopic&trid=2324412"
  },
  "r476": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "310",
   "Subparagraph": "(SX 210.12-29(Column F))",
   "Topic": "948",
   "URI": "http://asc.fasb.org/extlink&oid=6589523&loc=d3e617274-123014"
  },
  "r477": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "310",
   "Subparagraph": "(SX 210.12-29(Column G))",
   "Topic": "948",
   "URI": "http://asc.fasb.org/extlink&oid=6589523&loc=d3e617274-123014"
  },
  "r478": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "310",
   "Subparagraph": "(SX 210.12-29(Column H))",
   "Topic": "948",
   "URI": "http://asc.fasb.org/extlink&oid=6589523&loc=d3e617274-123014"
  },
  "r479": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "310",
   "Subparagraph": "(SX 210.12-29(Footnote 3))",
   "Topic": "948",
   "URI": "http://asc.fasb.org/extlink&oid=6589523&loc=d3e617274-123014"
  },
  "r48": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "17B",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "10",
   "Topic": "220",
   "URI": "http://asc.fasb.org/extlink&oid=118930883&loc=SL34724394-108580"
  },
  "r480": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "310",
   "Subparagraph": "(SX 210.12-29(Footnote 4))",
   "Topic": "948",
   "URI": "http://asc.fasb.org/extlink&oid=6589523&loc=d3e617274-123014"
  },
  "r481": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "310",
   "Subparagraph": "(SX 210.12-29)",
   "Topic": "948",
   "URI": "http://asc.fasb.org/extlink&oid=6589523&loc=d3e617274-123014"
  },
  "r482": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "360",
   "Subparagraph": "(SX 210.12-28(Footnote 2))",
   "Topic": "970",
   "URI": "http://asc.fasb.org/extlink&oid=6590653&loc=d3e638233-123024"
  },
  "r483": {
   "Name": "Accounting Standards Codification",
   "Publisher": "FASB",
   "Topic": "970",
   "URI": "http://asc.fasb.org/topic&trid=2156125"
  },
  "r484": {
   "Name": "Accounting Standards Codification",
   "Publisher": "FASB",
   "Topic": "972",
   "URI": "http://asc.fasb.org/topic&trid=2134617"
  },
  "r485": {
   "Name": "Accounting Standards Codification",
   "Publisher": "FASB",
   "Topic": "974",
   "URI": "http://asc.fasb.org/topic&trid=2156429"
  },
  "r486": {
   "Name": "Accounting Standards Codification",
   "Publisher": "FASB",
   "Topic": "976",
   "URI": "http://asc.fasb.org/topic&trid=2134846"
  },
  "r487": {
   "Name": "Accounting Standards Codification",
   "Publisher": "FASB",
   "Topic": "978",
   "URI": "http://asc.fasb.org/topic&trid=2134977"
  },
  "r488": {
   "Name": "Exchange Act",
   "Number": "240",
   "Publisher": "SEC",
   "Section": "12",
   "Subsection": "b"
  },
  "r489": {
   "Name": "Exchange Act",
   "Number": "240",
   "Publisher": "SEC",
   "Section": "12",
   "Subsection": "d1-1"
  },
  "r49": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1A",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "10",
   "Subparagraph": "(a)",
   "Topic": "220",
   "URI": "http://asc.fasb.org/extlink&oid=118930883&loc=SL7669619-108580"
  },
  "r490": {
   "Name": "Form 10-Q",
   "Number": "240",
   "Publisher": "SEC",
   "Section": "13",
   "Subsection": "a-13"
  },
  "r491": {
   "Name": "Forms 10-K, 10-Q, 20-F",
   "Number": "240",
   "Publisher": "SEC",
   "Section": "13",
   "Subsection": "a-1-"
  },
  "r492": {
   "Name": "Regulation 12B",
   "Number": "240",
   "Publisher": "SEC",
   "Section": "12",
   "Subsection": "b-2"
  },
  "r493": {
   "Name": "Regulation S-T",
   "Number": "232",
   "Publisher": "SEC",
   "Section": "405"
  },
  "r494": {
   "Footnote": "2",
   "Name": "Regulation S-X (SX)",
   "Number": "210",
   "Publisher": "SEC",
   "Section": "12",
   "Subsection": "28"
  },
  "r495": {
   "Footnote": "3",
   "Name": "Regulation S-X (SX)",
   "Number": "210",
   "Publisher": "SEC",
   "Section": "12",
   "Subsection": "29"
  },
  "r496": {
   "Footnote": "4",
   "Name": "Regulation S-X (SX)",
   "Number": "210",
   "Publisher": "SEC",
   "Section": "12",
   "Subsection": "29"
  },
  "r497": {
   "Name": "Regulation S-X (SX)",
   "Number": "210",
   "Paragraph": "(a)",
   "Publisher": "SEC",
   "Section": "12",
   "Subsection": "04"
  },
  "r498": {
   "Name": "Regulation S-X (SX)",
   "Number": "210",
   "Paragraph": "Column F",
   "Publisher": "SEC",
   "Section": "12",
   "Subsection": "29"
  },
  "r499": {
   "Name": "Regulation S-X (SX)",
   "Number": "210",
   "Paragraph": "Column H",
   "Publisher": "SEC",
   "Section": "12",
   "Subsection": "29"
  },
  "r5": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.5-02(19))",
   "Topic": "210",
   "URI": "http://asc.fasb.org/extlink&oid=6877327&loc=d3e13212-122682"
  },
  "r50": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1A",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "10",
   "Subparagraph": "(b)",
   "Topic": "220",
   "URI": "http://asc.fasb.org/extlink&oid=118930883&loc=SL7669619-108580"
  },
  "r500": {
   "Name": "Regulation S-X (SX)",
   "Number": "210",
   "Paragraph": "a",
   "Publisher": "SEC",
   "Section": "12",
   "Subsection": "04"
  },
  "r501": {
   "Name": "Regulation S-X (SX)",
   "Number": "210",
   "Publisher": "SEC",
   "Section": "12",
   "Subsection": "29"
  },
  "r502": {
   "Name": "Regulation S-X (SX)",
   "Number": "210",
   "Paragraph": "i",
   "Publisher": "SEC",
   "Section": "3",
   "Subsection": "10"
  },
  "r503": {
   "Name": "Regulation S-X (SX)",
   "Number": "210",
   "Paragraph": "(m)",
   "Publisher": "SEC",
   "Section": "4",
   "Subparagraph": "(1)(iii)",
   "Subsection": "08"
  },
  "r51": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1A",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "10",
   "Subparagraph": "(c)",
   "Topic": "220",
   "URI": "http://asc.fasb.org/extlink&oid=118930883&loc=SL7669619-108580"
  },
  "r52": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1B",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "10",
   "Subparagraph": "(a)",
   "Topic": "220",
   "URI": "http://asc.fasb.org/extlink&oid=118930883&loc=SL7669625-108580"
  },
  "r53": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1B",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "10",
   "Subparagraph": "(b)",
   "Topic": "220",
   "URI": "http://asc.fasb.org/extlink&oid=118930883&loc=SL7669625-108580"
  },
  "r54": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "5",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "10",
   "Topic": "220",
   "URI": "http://asc.fasb.org/extlink&oid=118930883&loc=d3e557-108580"
  },
  "r55": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "15",
   "Publisher": "FASB",
   "Section": "55",
   "SubTopic": "10",
   "Topic": "220",
   "URI": "http://asc.fasb.org/extlink&oid=118951672&loc=d3e1436-108581"
  },
  "r56": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(210.5-03(11))",
   "Topic": "220",
   "URI": "http://asc.fasb.org/extlink&oid=116634182&loc=SL114868664-224227"
  },
  "r57": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.5-03(12))",
   "Topic": "220",
   "URI": "http://asc.fasb.org/extlink&oid=116634182&loc=SL114868664-224227"
  },
  "r58": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.5-03(20))",
   "Topic": "220",
   "URI": "http://asc.fasb.org/extlink&oid=116634182&loc=SL114868664-224227"
  },
  "r59": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.5-03(21))",
   "Topic": "220",
   "URI": "http://asc.fasb.org/extlink&oid=116634182&loc=SL114868664-224227"
  },
  "r6": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.5-02(20))",
   "Topic": "210",
   "URI": "http://asc.fasb.org/extlink&oid=6877327&loc=d3e13212-122682"
  },
  "r60": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.5-03(b)(7)(c))",
   "Topic": "220",
   "URI": "http://asc.fasb.org/extlink&oid=116634182&loc=SL114868664-224227"
  },
  "r61": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.5-03(b)(9)(a))",
   "Topic": "220",
   "URI": "http://asc.fasb.org/extlink&oid=116634182&loc=SL114868664-224227"
  },
  "r62": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.5-03.2)",
   "Topic": "220",
   "URI": "http://asc.fasb.org/extlink&oid=116634182&loc=SL114868664-224227"
  },
  "r63": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.5-03.3)",
   "Topic": "220",
   "URI": "http://asc.fasb.org/extlink&oid=116634182&loc=SL114868664-224227"
  },
  "r64": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.5-03.4)",
   "Topic": "220",
   "URI": "http://asc.fasb.org/extlink&oid=116634182&loc=SL114868664-224227"
  },
  "r65": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "11",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "10",
   "Topic": "230",
   "URI": "http://asc.fasb.org/extlink&oid=118932676&loc=d3e3151-108585"
  },
  "r66": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "12",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "10",
   "Subparagraph": "(a)",
   "Topic": "230",
   "URI": "http://asc.fasb.org/extlink&oid=118932676&loc=d3e3179-108585"
  },
  "r67": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "12",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "10",
   "Subparagraph": "(b)",
   "Topic": "230",
   "URI": "http://asc.fasb.org/extlink&oid=118932676&loc=d3e3179-108585"
  },
  "r68": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "12",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "10",
   "Subparagraph": "(c)",
   "Topic": "230",
   "URI": "http://asc.fasb.org/extlink&oid=118932676&loc=d3e3179-108585"
  },
  "r69": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "12",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "10",
   "Topic": "230",
   "URI": "http://asc.fasb.org/extlink&oid=118932676&loc=d3e3179-108585"
  },
  "r7": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.5-02(22))",
   "Topic": "210",
   "URI": "http://asc.fasb.org/extlink&oid=6877327&loc=d3e13212-122682"
  },
  "r70": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "13",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "10",
   "Subparagraph": "(a)",
   "Topic": "230",
   "URI": "http://asc.fasb.org/extlink&oid=118932676&loc=d3e3213-108585"
  },
  "r71": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "13",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "10",
   "Subparagraph": "(b)",
   "Topic": "230",
   "URI": "http://asc.fasb.org/extlink&oid=118932676&loc=d3e3213-108585"
  },
  "r72": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "13",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "10",
   "Subparagraph": "(c)",
   "Topic": "230",
   "URI": "http://asc.fasb.org/extlink&oid=118932676&loc=d3e3213-108585"
  },
  "r73": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "13",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "10",
   "Topic": "230",
   "URI": "http://asc.fasb.org/extlink&oid=118932676&loc=d3e3213-108585"
  },
  "r74": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "14",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "10",
   "Subparagraph": "(a)",
   "Topic": "230",
   "URI": "http://asc.fasb.org/extlink&oid=118932676&loc=d3e3255-108585"
  },
  "r75": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "14",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "10",
   "Subparagraph": "(b)",
   "Topic": "230",
   "URI": "http://asc.fasb.org/extlink&oid=118932676&loc=d3e3255-108585"
  },
  "r76": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "15",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "10",
   "Subparagraph": "(a)",
   "Topic": "230",
   "URI": "http://asc.fasb.org/extlink&oid=118932676&loc=d3e3291-108585"
  },
  "r77": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "15",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "10",
   "Subparagraph": "(b)",
   "Topic": "230",
   "URI": "http://asc.fasb.org/extlink&oid=118932676&loc=d3e3291-108585"
  },
  "r78": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "17",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "10",
   "Subparagraph": "(d)",
   "Topic": "230",
   "URI": "http://asc.fasb.org/extlink&oid=118932676&loc=d3e3367-108585"
  },
  "r79": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "10",
   "Topic": "230",
   "URI": "http://asc.fasb.org/extlink&oid=118932676&loc=d3e3000-108585"
  },
  "r8": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.5-02(24))",
   "Topic": "210",
   "URI": "http://asc.fasb.org/extlink&oid=6877327&loc=d3e13212-122682"
  },
  "r80": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "21D",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "10",
   "Topic": "230",
   "URI": "http://asc.fasb.org/extlink&oid=118932676&loc=SL94080555-108585"
  },
  "r81": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "24",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "10",
   "Topic": "230",
   "URI": "http://asc.fasb.org/extlink&oid=118932676&loc=d3e3521-108585"
  },
  "r82": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "25",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "10",
   "Subparagraph": "(e)",
   "Topic": "230",
   "URI": "http://asc.fasb.org/extlink&oid=118932676&loc=d3e3536-108585"
  },
  "r83": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "25",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "10",
   "Subparagraph": "(f)",
   "Topic": "230",
   "URI": "http://asc.fasb.org/extlink&oid=118932676&loc=d3e3536-108585"
  },
  "r84": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "25",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "10",
   "Topic": "230",
   "URI": "http://asc.fasb.org/extlink&oid=118932676&loc=d3e3536-108585"
  },
  "r85": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "28",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "10",
   "Subparagraph": "(a)",
   "Topic": "230",
   "URI": "http://asc.fasb.org/extlink&oid=118932676&loc=d3e3602-108585"
  },
  "r86": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "28",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "10",
   "Subparagraph": "(b)",
   "Topic": "230",
   "URI": "http://asc.fasb.org/extlink&oid=118932676&loc=d3e3602-108585"
  },
  "r87": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "28",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "10",
   "Topic": "230",
   "URI": "http://asc.fasb.org/extlink&oid=118932676&loc=d3e3602-108585"
  },
  "r88": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "4",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "10",
   "Topic": "230",
   "URI": "http://asc.fasb.org/extlink&oid=118932676&loc=d3e3044-108585"
  },
  "r89": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "8",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "10",
   "Topic": "230",
   "URI": "http://asc.fasb.org/extlink&oid=118932676&loc=d3e3095-108585"
  },
  "r9": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.5-02(26)(a))",
   "Topic": "210",
   "URI": "http://asc.fasb.org/extlink&oid=6877327&loc=d3e13212-122682"
  },
  "r90": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "9",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "10",
   "Topic": "230",
   "URI": "http://asc.fasb.org/extlink&oid=118932676&loc=d3e3098-108585"
  },
  "r91": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "230",
   "URI": "http://asc.fasb.org/extlink&oid=98513485&loc=d3e4297-108586"
  },
  "r92": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "3",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "230",
   "URI": "http://asc.fasb.org/extlink&oid=98513485&loc=d3e4304-108586"
  },
  "r93": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "4",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "230",
   "URI": "http://asc.fasb.org/extlink&oid=98513485&loc=d3e4313-108586"
  },
  "r94": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "5",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "230",
   "URI": "http://asc.fasb.org/extlink&oid=98513485&loc=d3e4332-108586"
  },
  "r95": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "8",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "230",
   "URI": "http://asc.fasb.org/extlink&oid=98513485&loc=SL98516268-108586"
  },
  "r96": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "3",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "235",
   "URI": "http://asc.fasb.org/extlink&oid=84158767&loc=d3e18780-107790"
  },
  "r97": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.4-08(d)(1))",
   "Topic": "235",
   "URI": "http://asc.fasb.org/extlink&oid=26873400&loc=d3e23780-122690"
  },
  "r98": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.4-08(d))",
   "Topic": "235",
   "URI": "http://asc.fasb.org/extlink&oid=26873400&loc=d3e23780-122690"
  },
  "r99": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.4-08(h))",
   "Topic": "235",
   "URI": "http://asc.fasb.org/extlink&oid=26873400&loc=d3e23780-122690"
  }
 },
 "version": "2.1"
}
