XML 91 R82.htm IDEA: XBRL DOCUMENT
v3.23.3

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

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