XML 75 R61.htm IDEA: XBRL DOCUMENT
v3.22.4

Multi-family Loans, at Fair Value - Preferred Equity and Mezzanine Loan Investments (Details) - Variable Interest Entity, Not Primary Beneficiary - Multi-family loans - USD ($) $ in Thousands | Dec. 31, 2022 | Dec. 31, 2021
--- | --- | ---
Variable Interest Entity [Line Items] |  |
Investment amount | $ 88,249 | $ 118,307
Deferred loan fees, net | (428) | (672)
Unrealized (losses) gains, net | (287) | 2,386
Total, at Fair Value | $ 87,534 | $ 120,021

X
- Definition Financial Instrument Owned, Deferred Loan Fees + References No definition available. + Details
Name: | nymt_FinancialInstrumentOwnedDeferredLoanFees
Namespace Prefix: | nymt_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | instant

X
- Definition Financial Instrument Owned, Loans And Preferred Equity, Net + References No definition available. + Details
Name: | nymt_FinancialInstrumentOwnedLoansAndPreferredEquityNet
Namespace Prefix: | nymt_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | instant

X
- Definition Preferred Equity and Mezzanine Loans, Accumulated Gross Unrealized Gain(loss), before Tax + References No definition available. + Details
Name: | nymt_PreferredEquityAndMezzanineLoansAccumulatedGrossUnrealizedGainlossBeforeTax
Namespace Prefix: | nymt_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | instant

X
- Definition Amount of investments classified as other. + References Reference 1: http://www.xbrl.org/2009/role/commonPracticeRef -Publisher FASB -Name Accounting Standards Codification -Topic 210 -SubTopic 10 -Section S99 -Paragraph 1 -Subparagraph (SX 210.5-02(12)) -URI https://asc.fasb.org/extlink&oid=120391452&loc=d3e13212-122682 Reference 2: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 944 -SubTopic 210 -Section S99 -Paragraph 1 -Subparagraph (SX 210.7-03.1(f,g)) -URI https://asc.fasb.org/extlink&oid=126734703&loc=d3e572229-122910 + Details
Name: | us-gaap_OtherInvestments
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | instant

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
- Details
Name: | srt_ConsolidatedEntitiesAxis=us-gaap_VariableInterestEntityNotPrimaryBeneficiaryMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_InvestmentTypeAxis=nymt_MezzanineLoanAndPreferredEquityInvestmentsMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |