XML 104 R95.htm IDEA: XBRL DOCUMENT
v3.22.2

Fair Value of Financial Instruments - Changes in Unrealized Gains (Losses) Included in Earnings for Level 3 Assets and Liabilities (Details) - Level 3 - USD ($) $ in Thousands | 3 Months Ended | 6 Months Ended
--- | --- | ---
Jun. 30, 2022 | Jun. 30, 2021 | Jun. 30, 2022 | Jun. 30, 2021
Collateralized Debt Obligations | Consolidated SLST | VIE, Primary Beneficiary |  |  |  |
Liabilities |  |  |  |
Unrealized gains (losses) | $ 6,523 | $ 3,322 | $ 57,889 | $ 37,890
Residential loans | Consolidated SLST | VIE, Primary Beneficiary |  |  |  |
Assets |  |  |  |
Unrealized gains (losses) | (10,798) | 6,471 | (77,443) | (18,872)
Residential loans | Residential loans |  |  |  |
Assets |  |  |  |
Unrealized gains (losses) | (29,826) | 3,752 | (55,058) | 12,192
Residential loans | Residential Loans Held in Securitization Trusts |  |  |  |
Assets |  |  |  |
Unrealized gains (losses) | (33,262) | 6,030 | (64,729) | 18,611
Multi-family loans | Preferred Equity and Mezzanine Loan Investments |  |  |  |
Assets |  |  |  |
Unrealized gains (losses) | 181 | 460 | 358 | 665
Multi-family loans | Equity investments |  |  |  |
Assets |  |  |  |
Unrealized gains (losses) | $ 3,139 | $ 805 | $ 3,593 | $ 927

X
- References No definition available. + Details
Name: | us-gaap_AssetsFairValueDisclosureAbstract
Namespace Prefix: | us-gaap_
Data Type: | xbrli:stringItemType
Balance Type: | na
Period Type: | duration

X
- Definition 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. + 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 (d) -URI https://asc.fasb.org/extlink&oid=126976982&loc=d3e19207-110258 + Details
Name: | us-gaap_FairValueAssetsMeasuredOnRecurringBasisChangeInUnrealizedGainLoss
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | duration

X
- Definition 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. + 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 (d) -URI https://asc.fasb.org/extlink&oid=126976982&loc=d3e19207-110258 + Details
Name: | us-gaap_FairValueLiabilitiesMeasuredOnRecurringBasisChangeInUnrealizedGainLoss
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | duration

X
- References No definition available. + Details
Name: | us-gaap_LiabilitiesFairValueDisclosureAbstract
Namespace Prefix: | us-gaap_
Data Type: | xbrli:stringItemType
Balance Type: | na
Period Type: | duration

X
- Details
Name: | us-gaap_FinancialInstrumentAxis=us-gaap_CollateralizedDebtObligationsMember
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: | dei_LegalEntityAxis=nymt_ConsolidatedSLSTMember
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: | us-gaap_FairValueByAssetClassAxis=nymt_ResidentialLoansMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

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

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

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

X
- Details
Name: | us-gaap_FinancialInstrumentAxis=nymt_MezzanineLoanandPreferredEquityInvestmentsMember
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: |