XML 82 R68.htm IDEA: XBRL DOCUMENT
v3.23.1

Use of Special Purpose Entities (SPE) and Variable Interest Entities (VIE) - Narrative (Details) - USD ($) $ in Millions | Mar. 31, 2023 | Dec. 31, 2022
--- | --- | ---
VIE, Primary Beneficiary | Consolidated SLST |  |
Variable Interest Entity [Line Items] |  |
Variable interest entity, primary beneficiary, maximum loss exposure, amount | $ 188.5 | $ 191.5

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_VariableInterestEntityLineItems
Namespace Prefix: | us-gaap_
Data Type: | xbrli:stringItemType
Balance Type: | na
Period Type: | duration

X
- Definition Amount of maximum exposure to loss from involvement with consolidated variable interest entity (VIE). + References Reference 1: http://www.xbrl.org/2009/role/commonPracticeRef -Publisher FASB -Name Accounting Standards Codification -Topic 810 -SubTopic 10 -Section 50 -Paragraph 5A -Subparagraph (d) -URI https://asc.fasb.org/extlink&oid=123419778&loc=SL6759159-111685 + Details
Name: | us-gaap_VariableInterestEntityPrimaryBeneficiaryMaximumLossExposureAmount
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | instant

X
- Details
Name: | srt_ConsolidatedEntitiesAxis=us-gaap_VariableInterestEntityPrimaryBeneficiaryMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | dei_LegalEntityAxis=nymt_ConsolidatedSLSTMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |