XML 70 R56.htm IDEA: XBRL DOCUMENT
v3.23.1

Multi-family Loans, at Fair Value - Narrative (Details) - Multi-family loans - USD ($) | 3 Months Ended
--- | ---
Mar. 31, 2023 | Mar. 31, 2022
SEC Schedule, 12-29, Real Estate Companies, Investment in Mortgage Loans on Real Estate [Line Items] |  |
Unrealized gains (losses) | $ 500,000 | $ 500,000
Loan premiums, early redemption | $ 0 | $ 800,000

X
- Definition Loan Premiums, Loans and Preferred Equity and Mezzanine Loans, Early Redemption + References No definition available. + Details
Name: | nymt_LoanPremiumsLoansAndPreferredEquityAndMezzanineLoansEarlyRedemption
Namespace Prefix: | nymt_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | duration

X
- Definition Unrealized Gain (Loss) Loans and Preferred Equity + References No definition available. + Details
Name: | nymt_UnrealizedGainLossLoansandPreferredEquityandMezzanineLoans
Namespace Prefix: | nymt_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | duration

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: | srt_MortgageLoansOnRealEstateLineItems
Namespace Prefix: | srt_
Data Type: | xbrli:stringItemType
Balance Type: | na
Period Type: | duration

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