XML 106 R91.htm IDEA: XBRL DOCUMENT
v3.24.0.1

Derivative Instruments and Hedging Activities - Narrative (Details) $ in Millions | 12 Months Ended |
--- | --- | ---
Dec. 31, 2022 transaction | Dec. 31, 2023 USD ($)
Derivative Instruments and Hedging Activities Disclosure [Abstract] |  |
Number of interest rate swap or option transactions | transaction | 0 |
Margin deposit assets, initial amount |  | $ 53.5
Margin deposit asset, excess amount |  | $ 1.1

X
- Definition Margin Deposit Asset, Excess (Deficit) Amount + References No definition available. + Details
Name: | nymt_MarginDepositAssetExcessDeficitAmount
Namespace Prefix: | nymt_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | instant

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 Number Of Derivative Transactions + References No definition available. + Details
Name: | nymt_NumberOfDerivativeTransactions
Namespace Prefix: | nymt_
Data Type: | xbrli:integerItemType
Balance Type: | na
Period Type: | duration

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