XML 71 R57.htm IDEA: XBRL DOCUMENT
v3.22.4

Residential Loans, at Fair Value - Components of Net Gains (Losses) (Details) - USD ($) $ in Thousands | 12 Months Ended
--- | ---
Dec. 31, 2022 | Dec. 31, 2021 | Dec. 31, 2020
Consolidated SLST | VIE, Primary Beneficiary |  |  |
SEC Schedule, 12-29, Real Estate Companies, Investment in Mortgage Loans on Real Estate [Line Items] |  |  |
Unrealized gain (loss) on real estate mortgage loans, net | $ (124,834) | $ (31,128) | $ 33,479
Residential loans |  |  |
SEC Schedule, 12-29, Real Estate Companies, Investment in Mortgage Loans on Real Estate [Line Items] |  |  |
Unrealized gain (loss) on real estate mortgage loans, net | (115,269) | 20,403 | (4,440)
Residential mortgage loans held in securitization trust, at fair value |  |  |
SEC Schedule, 12-29, Real Estate Companies, Investment in Mortgage Loans on Real Estate [Line Items] |  |  |
Unrealized gain (loss) on real estate mortgage loans, net | $ (174,401) | $ 34,932 | $ 29,690

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: | dei_LegalEntityAxis=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: |