XML 65 R51.htm IDEA: XBRL DOCUMENT
v3.23.1

Residential Loans, at Fair Value - Components of Net Gain (Loss) on Residential Mortgages (Details) - USD ($) $ in Thousands | 3 Months Ended
--- | ---
Mar. 31, 2023 | Mar. 31, 2022
Consolidated SLST | VIE, Primary Beneficiary |  |
SEC Schedule, 12-29, Real Estate Companies, Investment in Mortgage Loans on Real Estate [Line Items] |  |
Unrealized (losses) gains, net | $ 15,807 | $ (66,645)
Residential loans |  |
SEC Schedule, 12-29, Real Estate Companies, Investment in Mortgage Loans on Real Estate [Line Items] |  |
Unrealized (losses) gains, net | (1,307) | (25,524)
Residential loans held in securitization trusts |  |
SEC Schedule, 12-29, Real Estate Companies, Investment in Mortgage Loans on Real Estate [Line Items] |  |
Unrealized (losses) gains, net | $ 30,554 | $ (37,774)

X
- Definition Unrealized Gain (Loss) On Real Estate Mortgage Loans, Net + References No definition available. + Details
Name: | nymt_UnrealizedGainLossOnRealEstateMortgageLoansNet
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_ConsolidatedSLSTMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

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

X
- Details
Name: | srt_MortgageLoansOnRealEstateDescriptionLoanCategoryAxis=nymt_ResidentialMortgageLoansMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | srt_MortgageLoansOnRealEstateDescriptionLoanCategoryAxis=nymt_ResidentialMortgageLoansHeldInSecuritizationTrustAtFairValueMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |