XML 95 R85.htm IDEA: XBRL DOCUMENT
v3.24.2.u1

Derivative Instruments and Hedging Activities - Schedule of Initial Margin (Details) - USD ($) $ in Thousands | Jun. 30, 2024 | Dec. 31, 2023
--- | --- | ---
Derivative Instruments and Hedging Activities Disclosures [Line Items] |  |
Margin deposit assets, initial amount | $ 57,161 | $ 53,458
Restricted Cash |  |
Derivative Instruments and Hedging Activities Disclosures [Line Items] |  |
Margin deposit assets, initial amount | 23,012 | 53,458
Agency RMBS |  |
Derivative Instruments and Hedging Activities Disclosures [Line Items] |  |
Margin deposit assets, initial amount | $ 34,149 | $ 0

X
- Definition Margin Deposit Assets, Initial Amount + References No definition available. + Details
Name: | nymt_MarginDepositAssetsInitialAmount
Namespace Prefix: | nymt_
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_DerivativeInstrumentsAndHedgingActivitiesDisclosuresLineItems
Namespace Prefix: | us-gaap_
Data Type: | xbrli:stringItemType
Balance Type: | na
Period Type: | duration

X
- Details
Name: | us-gaap_RestrictedCashAndCashEquivalentsCashAndCashEquivalentsAxis=nymt_RestrictedCashMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

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