XML 120 R105.htm IDEA: XBRL DOCUMENT
v3.20.4

Fair Value of Financial Instruments - Significant Unobservable Outputs (Details) - USD ($) | 12 Months Ended |
--- | --- | ---
Dec. 31, 2020 | Dec. 31, 2019
Fair Value, Assets and Liabilities Measured on Recurring and Nonrecurring Basis [Line Items] |  |
Preferred equity and mezzanine loan investments |  | $ 180,045,000
Residential collateralized debt obligations, at fair value |  |
Fair Value, Assets and Liabilities Measured on Recurring and Nonrecurring Basis [Line Items] |  |
Collateralized debt obligations, at fair value | $ 1,054,335,000 | 17,777,280,000
Residential Collateralized Debt Obligations |  |
Fair Value, Assets and Liabilities Measured on Recurring and Nonrecurring Basis [Line Items] |  |
Collateralized debt obligations, at fair value | 569,323,000 | 40,429,000
Equity Method Investments |  |
Fair Value, Assets and Liabilities Measured on Recurring and Nonrecurring Basis [Line Items] |  |
Fair Value | 76,330,000 | 83,882,000
VIE, Primary Beneficiary | Residential collateralized debt obligations, at fair value |  |
Fair Value, Assets and Liabilities Measured on Recurring and Nonrecurring Basis [Line Items] |  |
Collateralized debt obligations, at fair value | 1,054,335,000 | 17,777,280,000
VIE, Primary Beneficiary | Residential Collateralized Debt Obligations |  |
Fair Value, Assets and Liabilities Measured on Recurring and Nonrecurring Basis [Line Items] |  |
Collateralized debt obligations, at fair value | 569,323,000 | 40,429,000
VIE, Primary Beneficiary | Consolidated SLST |  |
Fair Value, Assets and Liabilities Measured on Recurring and Nonrecurring Basis [Line Items] |  |
Collateralized debt obligations, at fair value | 1,054,335,000 | 1,052,829,000
Variable interest entity, primary beneficiary, maximum loss exposure, amount | 212,100,000 | 276,800,000
Level 3 |  |
Fair Value, Assets and Liabilities Measured on Recurring and Nonrecurring Basis [Line Items] |  |
Residential loans, fair value | 3,049,166,000 |
Fair Value | 259,095,000 | 191,359,000
Collateralized debt obligations, at fair value | 15,256,000 | 0
Level 3 | Residential collateralized debt obligations, at fair value |  |
Fair Value, Assets and Liabilities Measured on Recurring and Nonrecurring Basis [Line Items] |  |
Collateralized debt obligations, at fair value |  | 1,052,829,000
Level 3 | Residential Collateralized Debt Obligations |  |
Fair Value, Assets and Liabilities Measured on Recurring and Nonrecurring Basis [Line Items] |  |
Collateralized debt obligations, at fair value | 554,067,000 | 40,429,000
Level 3 | Multi Family Collateralized Debt Obligations |  |
Fair Value, Assets and Liabilities Measured on Recurring and Nonrecurring Basis [Line Items] |  |
Collateralized debt obligations, at fair value | 0 | $ 16,724,451,000
Level 3 | Equity Method Investments |  |
Fair Value, Assets and Liabilities Measured on Recurring and Nonrecurring Basis [Line Items] |  |
Fair Value | 182,765,000 |
Level 3 | VIE, Primary Beneficiary | Residential collateralized debt obligations, at fair value |  |
Fair Value, Assets and Liabilities Measured on Recurring and Nonrecurring Basis [Line Items] |  |
Collateralized debt obligations, at fair value | 1,054,335,000 |
Level 3 | VIE, Primary Beneficiary | Consolidated SLST |  |
Fair Value, Assets and Liabilities Measured on Recurring and Nonrecurring Basis [Line Items] |  |
Residential loans, fair value | $ 1,266,785,000 |
Level 3 | Weighted Average | Measurement Input, Loss Severity | Valuation Technique, Discounted Cash Flow | Residential collateralized debt obligations, at fair value |  |
Fair Value, Assets and Liabilities Measured on Recurring and Nonrecurring Basis [Line Items] |  |
Long-term debt, measurement input | 0.211 |
Level 3 | Weighted Average | Measurement Input Yield | Valuation Technique, Discounted Cash Flow | Residential collateralized debt obligations, at fair value |  |
Fair Value, Assets and Liabilities Measured on Recurring and Nonrecurring Basis [Line Items] |  |
Long-term debt, measurement input | 0.021 |
Level 3 | Weighted Average | Discount Rate | Valuation Technique, Discounted Cash Flow | Equity Method Investments |  |
Fair Value, Assets and Liabilities Measured on Recurring and Nonrecurring Basis [Line Items] |  |
Financial instruments, measurement input | 11.50% |
Equity method investment, measurement input | 11.70% |
Level 3 | Weighted Average | Measurement Input Collateral Prepayment Rate | Valuation Technique, Discounted Cash Flow | Residential collateralized debt obligations, at fair value |  |
Fair Value, Assets and Liabilities Measured on Recurring and Nonrecurring Basis [Line Items] |  |
Long-term debt, measurement input | 0.055 |
Level 3 | Weighted Average | Measurement Input Collateral Default Rate | Valuation Technique, Discounted Cash Flow | Residential collateralized debt obligations, at fair value |  |
Fair Value, Assets and Liabilities Measured on Recurring and Nonrecurring Basis [Line Items] |  |
Long-term debt, measurement input | 0.020 |
Level 3 | Weighted Average | Measurement Input Months To Assumed Redemption | Valuation Technique, Discounted Cash Flow | Equity Method Investments |  |
Fair Value, Assets and Liabilities Measured on Recurring and Nonrecurring Basis [Line Items] |  |
Financial instruments, measurement input, assumed redemption period | 44 months |
Residential mortgage loans, measurement input, redemption period | 40 months |
Level 3 | Minimum | Measurement Input, Loss Severity | Valuation Technique, Discounted Cash Flow | Residential collateralized debt obligations, at fair value |  |
Fair Value, Assets and Liabilities Measured on Recurring and Nonrecurring Basis [Line Items] |  |
Long-term debt, measurement input | 0 |
Level 3 | Minimum | Measurement Input Yield | Valuation Technique, Discounted Cash Flow | Residential collateralized debt obligations, at fair value |  |
Fair Value, Assets and Liabilities Measured on Recurring and Nonrecurring Basis [Line Items] |  |
Long-term debt, measurement input | 0.010 |
Level 3 | Minimum | Discount Rate | Valuation Technique, Discounted Cash Flow | Equity Method Investments |  |
Fair Value, Assets and Liabilities Measured on Recurring and Nonrecurring Basis [Line Items] |  |
Financial instruments, measurement input | 11.00% |
Equity method investment, measurement input | 11.00% |
Level 3 | Minimum | Measurement Input Collateral Prepayment Rate | Valuation Technique, Discounted Cash Flow | Residential collateralized debt obligations, at fair value |  |
Fair Value, Assets and Liabilities Measured on Recurring and Nonrecurring Basis [Line Items] |  |
Long-term debt, measurement input | 0.028 |
Level 3 | Minimum | Measurement Input Collateral Default Rate | Valuation Technique, Discounted Cash Flow | Residential collateralized debt obligations, at fair value |  |
Fair Value, Assets and Liabilities Measured on Recurring and Nonrecurring Basis [Line Items] |  |
Long-term debt, measurement input | 0 |
Level 3 | Minimum | Measurement Input Months To Assumed Redemption | Valuation Technique, Discounted Cash Flow | Equity Method Investments |  |
Fair Value, Assets and Liabilities Measured on Recurring and Nonrecurring Basis [Line Items] |  |
Financial instruments, measurement input, assumed redemption period | 8 months |
Residential mortgage loans, measurement input, redemption period | 9 months |
Level 3 | Maximum | Measurement Input, Loss Severity | Valuation Technique, Discounted Cash Flow | Residential collateralized debt obligations, at fair value |  |
Fair Value, Assets and Liabilities Measured on Recurring and Nonrecurring Basis [Line Items] |  |
Long-term debt, measurement input | 0.237 |
Level 3 | Maximum | Measurement Input Yield | Valuation Technique, Discounted Cash Flow | Residential collateralized debt obligations, at fair value |  |
Fair Value, Assets and Liabilities Measured on Recurring and Nonrecurring Basis [Line Items] |  |
Long-term debt, measurement input | 0.111 |
Level 3 | Maximum | Discount Rate | Valuation Technique, Discounted Cash Flow | Equity Method Investments |  |
Fair Value, Assets and Liabilities Measured on Recurring and Nonrecurring Basis [Line Items] |  |
Financial instruments, measurement input | 19.50% |
Equity method investment, measurement input | 12.50% |
Level 3 | Maximum | Measurement Input Collateral Prepayment Rate | Valuation Technique, Discounted Cash Flow | Residential collateralized debt obligations, at fair value |  |
Fair Value, Assets and Liabilities Measured on Recurring and Nonrecurring Basis [Line Items] |  |
Long-term debt, measurement input | 0.062 |
Level 3 | Maximum | Measurement Input Collateral Default Rate | Valuation Technique, Discounted Cash Flow | Residential collateralized debt obligations, at fair value |  |
Fair Value, Assets and Liabilities Measured on Recurring and Nonrecurring Basis [Line Items] |  |
Long-term debt, measurement input | 0.076 |
Level 3 | Maximum | Measurement Input Months To Assumed Redemption | Valuation Technique, Discounted Cash Flow | Equity Method Investments |  |
Fair Value, Assets and Liabilities Measured on Recurring and Nonrecurring Basis [Line Items] |  |
Financial instruments, measurement input, assumed redemption period | 185 months |
Residential mortgage loans, measurement input, redemption period | 59 months |
Residential Loans And Residential Loans Held In Securitization Trusts | Level 3 |  |
Fair Value, Assets and Liabilities Measured on Recurring and Nonrecurring Basis [Line Items] |  |
Residential loans, fair value | $ 1,639,327,000 |
Residential Loans And Residential Loans Held In Securitization Trusts | Level 3 | Valuation Technique Liquidation Model |  |
Fair Value, Assets and Liabilities Measured on Recurring and Nonrecurring Basis [Line Items] |  |
Residential loans, fair value | $ 143,054,000 |
Residential Loans And Residential Loans Held In Securitization Trusts | Level 3 | Weighted Average | Measurement Input Lifetime CPR | Valuation Technique, Discounted Cash Flow |  |
Fair Value, Assets and Liabilities Measured on Recurring and Nonrecurring Basis [Line Items] |  |
Residential loans, measurement input | 8.50% |
Residential Loans And Residential Loans Held In Securitization Trusts | Level 3 | Weighted Average | Measurement Input Lifetime CDR | Valuation Technique, Discounted Cash Flow |  |
Fair Value, Assets and Liabilities Measured on Recurring and Nonrecurring Basis [Line Items] |  |
Residential loans, measurement input | 1.00% |
Residential Loans And Residential Loans Held In Securitization Trusts | Level 3 | Weighted Average | Measurement Input, Loss Severity | Valuation Technique, Discounted Cash Flow |  |
Fair Value, Assets and Liabilities Measured on Recurring and Nonrecurring Basis [Line Items] |  |
Residential loans, measurement input | 13.70% |
Residential Loans And Residential Loans Held In Securitization Trusts | Level 3 | Weighted Average | Measurement Input Yield | Valuation Technique, Discounted Cash Flow |  |
Fair Value, Assets and Liabilities Measured on Recurring and Nonrecurring Basis [Line Items] |  |
Residential loans, measurement input | 5.30% |
Residential Loans And Residential Loans Held In Securitization Trusts | Level 3 | Weighted Average | Measurement Input Yield | Valuation Technique Liquidation Model |  |
Fair Value, Assets and Liabilities Measured on Recurring and Nonrecurring Basis [Line Items] |  |
Residential loans, measurement input | 7.20% |
Residential Loans And Residential Loans Held In Securitization Trusts | Level 3 | Weighted Average | Measurement Input Annual Home Price Appreciation | Valuation Technique Liquidation Model |  |
Fair Value, Assets and Liabilities Measured on Recurring and Nonrecurring Basis [Line Items] |  |
Residential loans, measurement input | 0.00% |
Residential Loans And Residential Loans Held In Securitization Trusts | Level 3 | Weighted Average | Measurement Input Liquidation Timeline Period | Valuation Technique Liquidation Model |  |
Fair Value, Assets and Liabilities Measured on Recurring and Nonrecurring Basis [Line Items] |  |
Residential loans, measurement input, liquidation timeline, months | 29 months |
Residential Loans And Residential Loans Held In Securitization Trusts | Level 3 | Weighted Average | Measurement Input, Appraised Value | Valuation Technique Liquidation Model |  |
Fair Value, Assets and Liabilities Measured on Recurring and Nonrecurring Basis [Line Items] |  |
Residential loans, fair value | $ 578,738 |
Residential Loans And Residential Loans Held In Securitization Trusts | Level 3 | Minimum | Measurement Input Lifetime CPR | Valuation Technique, Discounted Cash Flow |  |
Fair Value, Assets and Liabilities Measured on Recurring and Nonrecurring Basis [Line Items] |  |
Residential loans, measurement input | 0.00% |
Residential Loans And Residential Loans Held In Securitization Trusts | Level 3 | Minimum | Measurement Input Lifetime CDR | Valuation Technique, Discounted Cash Flow |  |
Fair Value, Assets and Liabilities Measured on Recurring and Nonrecurring Basis [Line Items] |  |
Residential loans, measurement input | 0.00% |
Residential Loans And Residential Loans Held In Securitization Trusts | Level 3 | Minimum | Measurement Input, Loss Severity | Valuation Technique, Discounted Cash Flow |  |
Fair Value, Assets and Liabilities Measured on Recurring and Nonrecurring Basis [Line Items] |  |
Residential loans, measurement input | 0.00% |
Residential Loans And Residential Loans Held In Securitization Trusts | Level 3 | Minimum | Measurement Input Yield | Valuation Technique, Discounted Cash Flow |  |
Fair Value, Assets and Liabilities Measured on Recurring and Nonrecurring Basis [Line Items] |  |
Residential loans, measurement input | 2.40% |
Residential Loans And Residential Loans Held In Securitization Trusts | Level 3 | Minimum | Measurement Input Yield | Valuation Technique Liquidation Model |  |
Fair Value, Assets and Liabilities Measured on Recurring and Nonrecurring Basis [Line Items] |  |
Residential loans, measurement input | 7.00% |
Residential Loans And Residential Loans Held In Securitization Trusts | Level 3 | Minimum | Measurement Input Annual Home Price Appreciation | Valuation Technique Liquidation Model |  |
Fair Value, Assets and Liabilities Measured on Recurring and Nonrecurring Basis [Line Items] |  |
Residential loans, measurement input | 0.00% |
Residential Loans And Residential Loans Held In Securitization Trusts | Level 3 | Minimum | Measurement Input Liquidation Timeline Period | Valuation Technique Liquidation Model |  |
Fair Value, Assets and Liabilities Measured on Recurring and Nonrecurring Basis [Line Items] |  |
Residential loans, measurement input, liquidation timeline, months | 9 months |
Residential Loans And Residential Loans Held In Securitization Trusts | Level 3 | Minimum | Measurement Input, Appraised Value | Valuation Technique Liquidation Model |  |
Fair Value, Assets and Liabilities Measured on Recurring and Nonrecurring Basis [Line Items] |  |
Residential loans, fair value | $ 12,430 |
Residential Loans And Residential Loans Held In Securitization Trusts | Level 3 | Maximum | Measurement Input Lifetime CPR | Valuation Technique, Discounted Cash Flow |  |
Fair Value, Assets and Liabilities Measured on Recurring and Nonrecurring Basis [Line Items] |  |
Residential loans, measurement input | 64.60% |
Residential Loans And Residential Loans Held In Securitization Trusts | Level 3 | Maximum | Measurement Input Lifetime CDR | Valuation Technique, Discounted Cash Flow |  |
Fair Value, Assets and Liabilities Measured on Recurring and Nonrecurring Basis [Line Items] |  |
Residential loans, measurement input | 23.00% |
Residential Loans And Residential Loans Held In Securitization Trusts | Level 3 | Maximum | Measurement Input, Loss Severity | Valuation Technique, Discounted Cash Flow |  |
Fair Value, Assets and Liabilities Measured on Recurring and Nonrecurring Basis [Line Items] |  |
Residential loans, measurement input | 100.00% |
Residential Loans And Residential Loans Held In Securitization Trusts | Level 3 | Maximum | Measurement Input Yield | Valuation Technique, Discounted Cash Flow |  |
Fair Value, Assets and Liabilities Measured on Recurring and Nonrecurring Basis [Line Items] |  |
Residential loans, measurement input | 27.30% |
Residential Loans And Residential Loans Held In Securitization Trusts | Level 3 | Maximum | Measurement Input Yield | Valuation Technique Liquidation Model |  |
Fair Value, Assets and Liabilities Measured on Recurring and Nonrecurring Basis [Line Items] |  |
Residential loans, measurement input | 16.30% |
Residential Loans And Residential Loans Held In Securitization Trusts | Level 3 | Maximum | Measurement Input Annual Home Price Appreciation | Valuation Technique Liquidation Model |  |
Fair Value, Assets and Liabilities Measured on Recurring and Nonrecurring Basis [Line Items] |  |
Residential loans, measurement input | 7.30% |
Residential Loans And Residential Loans Held In Securitization Trusts | Level 3 | Maximum | Measurement Input Liquidation Timeline Period | Valuation Technique Liquidation Model |  |
Fair Value, Assets and Liabilities Measured on Recurring and Nonrecurring Basis [Line Items] |  |
Residential loans, measurement input, liquidation timeline, months | 57 months |
Residential Loans And Residential Loans Held In Securitization Trusts | Level 3 | Maximum | Measurement Input, Appraised Value | Valuation Technique Liquidation Model |  |
Fair Value, Assets and Liabilities Measured on Recurring and Nonrecurring Basis [Line Items] |  |
Residential loans, fair value | $ 3,650,000 |
Multi-family loans | Level 3 |  |
Fair Value, Assets and Liabilities Measured on Recurring and Nonrecurring Basis [Line Items] |  |
Preferred equity and mezzanine loan investments | $ 163,593,000 |

X
- Definition Equity Method Investment, Measurement Input + References No definition available. + Details
Name: | nymt_EquityMethodInvestmentMeasurementInput
Namespace Prefix: | nymt_
Data Type: | num:percentItemType
Balance Type: | na
Period Type: | instant

X
- Definition Financial Instrument Owned, Loans And Preferred Equity, Net + References No definition available. + Details
Name: | nymt_FinancialInstrumentOwnedLoansAndPreferredEquityNet
Namespace Prefix: | nymt_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | instant

X
- Definition Financial Instruments Owned, Measurement Input + References No definition available. + Details
Name: | nymt_FinancialInstrumentsOwnedMeasurementInput
Namespace Prefix: | nymt_
Data Type: | num:percentItemType
Balance Type: | na
Period Type: | instant

X
- Definition Financial Instruments Owned, Measurement Input, Assumed Redemption Period + References No definition available. + Details
Name: | nymt_FinancialInstrumentsOwnedMeasurementInputAssumedRedemptionPeriod
Namespace Prefix: | nymt_
Data Type: | xbrli:durationItemType
Balance Type: | na
Period Type: | duration

X
- Definition Residential Mortgage Loans, Fair Value Disclosure + References No definition available. + Details
Name: | nymt_ResidentialMortgageLoansFairValueDisclosure
Namespace Prefix: | nymt_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | instant

X
- Definition Residential Mortgage Loans, Measurement Input + References No definition available. + Details
Name: | nymt_ResidentialMortgageLoansMeasurementInput
Namespace Prefix: | nymt_
Data Type: | num:percentItemType
Balance Type: | na
Period Type: | instant

X
- Definition Residential Mortgage Loans, Measurement Input, Liquidation Timeline, Period + References No definition available. + Details
Name: | nymt_ResidentialMortgageLoansMeasurementInputLiquidationTimelinePeriod
Namespace Prefix: | nymt_
Data Type: | xbrli:durationItemType
Balance Type: | na
Period Type: | duration

X
- Definition Residential Mortgage Loans, Measurement Input, Redemption Period + References No definition available. + Details
Name: | nymt_ResidentialMortgageLoansMeasurementInputRedemptionPeriod
Namespace Prefix: | nymt_
Data Type: | xbrli:durationItemType
Balance Type: | na
Period Type: | duration

X
- Definition Fair value portion of investments accounted under the equity method. + References Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 323 -SubTopic 10 -Section 25 -Paragraph 2 -URI http://asc.fasb.org/extlink&oid=117311354&loc=d3e32014-111567 + Details
Name: | us-gaap_EquityMethodInvestmentsFairValueDisclosure
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | instant

X
- Definition 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. + References No definition available. + Details
Name: | us-gaap_FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisLineItems
Namespace Prefix: | us-gaap_
Data Type: | xbrli:stringItemType
Balance Type: | na
Period Type: | duration

X
- Definition Value of input used to measure long-term debt. + References Reference 1: http://www.xbrl.org/2003/role/disclosureRef -Publisher FASB -Name Accounting Standards Codification -Topic 820 -SubTopic 10 -Section 50 -Paragraph 2 -Subparagraph (bbb)(2) -URI http://asc.fasb.org/extlink&oid=117815213&loc=d3e19207-110258 + Details
Name: | us-gaap_LongTermDebtMeasurementInput
Namespace Prefix: | us-gaap_
Data Type: | xbrli:decimalItemType
Balance Type: | na
Period Type: | instant

X
- Definition 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. + References Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 944 -SubTopic 210 -Section S99 -Paragraph 1 -Subparagraph (SX 210.7-03(a)(16)) -URI http://asc.fasb.org/extlink&oid=120400017&loc=d3e572229-122910 Reference 2: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 942 -SubTopic 210 -Section S99 -Paragraph 1 -Subparagraph (SX 210.9-03(16)) -URI http://asc.fasb.org/extlink&oid=120398452&loc=d3e534808-122878 Reference 3: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 210 -SubTopic 10 -Section S99 -Paragraph 1 -Subparagraph (SX 210.5-02(22)) -URI http://asc.fasb.org/extlink&oid=120391452&loc=d3e13212-122682 + Details
Name: | us-gaap_SecuredDebt
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | instant

X
- Definition Amount of maximum exposure to loss from involvement with consolidated variable interest entity (VIE). + References Reference 1: http://www.xbrl.org/2009/role/commonPracticeRef -Publisher FASB -Name Accounting Standards Codification -Topic 810 -SubTopic 10 -Section 50 -Paragraph 5A -Subparagraph (d) -URI http://asc.fasb.org/extlink&oid=121559654&loc=SL6759159-111685 + Details
Name: | us-gaap_VariableInterestEntityPrimaryBeneficiaryMaximumLossExposureAmount
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | instant

X
- Details
Name: | us-gaap_FairValueByLiabilityClassAxis=nymt_ResidentialCollateralizedDebtObligationsAtFairValueMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_FairValueByLiabilityClassAxis=nymt_ResidentialCollateralizedDebtObligationsMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_FinancialInstrumentAxis=us-gaap_EquityMethodInvestmentsMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | srt_ConsolidatedEntitiesAxis=us-gaap_VariableInterestEntityPrimaryBeneficiaryMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | dei_LegalEntityAxis=nymt_ConsolidatedSLSTMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_FairValueByFairValueHierarchyLevelAxis=us-gaap_FairValueInputsLevel3Member
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_FairValueByLiabilityClassAxis=nymt_MultiFamilyCollateralizedDebtObligationsMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | srt_RangeAxis=srt_WeightedAverageMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_MeasurementInputTypeAxis=us-gaap_MeasurementInputLossSeverityMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_ValuationTechniqueAxis=us-gaap_ValuationTechniqueDiscountedCashFlowMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_MeasurementInputTypeAxis=nymt_MeasurementInputYieldMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_MeasurementInputTypeAxis=us-gaap_MeasurementInputDiscountRateMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_MeasurementInputTypeAxis=nymt_MeasurementInputCollateralPrepaymentRateMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_MeasurementInputTypeAxis=nymt_MeasurementInputCollateralDefaultRateMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_MeasurementInputTypeAxis=nymt_MeasurementInputMonthsToAssumedRedemptionMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | srt_RangeAxis=srt_MinimumMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | srt_RangeAxis=srt_MaximumMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_FairValueByAssetClassAxis=nymt_ResidentialLoansAndResidentialLoansHeldInSecuritizationTrustsMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_ValuationTechniqueAxis=nymt_ValuationTechniqueLiquidationModelMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_MeasurementInputTypeAxis=nymt_MeasurementInputLifetimeCPRMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_MeasurementInputTypeAxis=nymt_MeasurementInputLifetimeCDRMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_MeasurementInputTypeAxis=nymt_MeasurementInputAnnualHomePriceAppreciationMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_MeasurementInputTypeAxis=nymt_MeasurementInputLiquidationTimelinePeriodMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_MeasurementInputTypeAxis=us-gaap_MeasurementInputAppraisedValueMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_FairValueByAssetClassAxis=nymt_MezzanineLoanAndPreferredEquityInvestmentsMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |