XML 121 R103.htm IDEA: XBRL DOCUMENT
v3.25.0.1

Derivative Instruments - Activity of Derivative Instruments Not Designated as Hedges (Details) - Trading - USD ($) $ in Thousands | 12 Months Ended
--- | ---
Dec. 31, 2024 | Dec. 31, 2023
Interest rate caps |  |
Derivative Instruments and Hedging Activities Disclosures [Roll Forward] |  |
Beginning balance | $ 550,025 | $ 140,000
Additions/Transfers In | 177,044 | 410,025
Terminations/Transfers Out | (681,927) | 0
Ending balance | 45,142 | 550,025
Options |  |
Derivative Instruments and Hedging Activities Disclosures [Roll Forward] |  |
Beginning balance | 0 | 0
Additions/Transfers In | 382 | 500,206
Terminations/Transfers Out | (382) | (500,206)
Ending balance | 0 | 0
Interest rate swaps |  |
Derivative Instruments and Hedging Activities Disclosures [Roll Forward] |  |
Beginning balance | 2,778,015 | 0
Additions/Transfers In | 3,063,163 | 2,778,015
Terminations/Transfers Out | (1,706,911) | 0
Ending balance | 4,134,267 | 2,778,015
Credit default swaps |  |
Derivative Instruments and Hedging Activities Disclosures [Roll Forward] |  |
Beginning balance | 0 |
Additions/Transfers In | 400,000 |
Terminations/Transfers Out | 0 |
Ending balance | 400,000 | 0
U.S. Treasury futures |  |
Derivative Instruments and Hedging Activities Disclosures [Roll Forward] |  |
Beginning balance | 0 |
Additions/Transfers In | 905,050 |
Terminations/Transfers Out | (498,950) |
Ending balance | $ 406,100 | $ 0

X
- Definition Derivative Asset (Liability), Notional Amount + References No definition available. + Details
Name: | nymt_DerivativeAssetLiabilityNotionalAmount
Namespace Prefix: | nymt_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | instant

X
- Definition Derivative Instruments and Hedging Activities Disclosures [Roll Forward] + References No definition available. + Details
Name: | nymt_DerivativeInstrumentsandHedgingActivitiesDisclosuresRollForward
Namespace Prefix: | nymt_
Data Type: | xbrli:stringItemType
Balance Type: | na
Period Type: | duration

X
- Definition Additions for notional amount of other derivatives.. + References No definition available. + Details
Name: | nymt_NotionalAmountOfOtherDerivativeAdditionsTransfersIn
Namespace Prefix: | nymt_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | duration

X
- Definition Settlement, expiration, or exercise for notional amount of other derivatives. + References No definition available. + Details
Name: | nymt_NotionalAmountOfOtherDerivativesTerminationsTransfersOut
Namespace Prefix: | nymt_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | duration

X
- Details
Name: | us-gaap_HedgingDesignationAxis=us-gaap_NotDesignatedAsHedgingInstrumentTradingMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_DerivativeInstrumentRiskAxis=us-gaap_InterestRateCapMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_DerivativeInstrumentRiskAxis=us-gaap_StockOptionMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_DerivativeInstrumentRiskAxis=us-gaap_InterestRateSwapMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_DerivativeInstrumentRiskAxis=us-gaap_CreditDefaultSwapMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_DerivativeInstrumentRiskAxis=us-gaap_FutureMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |