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

Derivative Instruments and Hedging Activities - Narrative (Details) $ in Millions | 12 Months Ended |
--- | --- | ---
Dec. 31, 2022 transaction | Jun. 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 |  | $ 17.0
Margin deposit assets, excess amount |  | $ 2.4

X
- Definition Margin Deposit Assets, Excess Amount + References No definition available. + Details
Name: | nymt_MarginDepositAssetsExcessAmount
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