XML 71 R54.htm IDEA: XBRL DOCUMENT
v3.22.0.1

Residential Loans, at Fair Value - Components of Net Gains (Losses) (Details) - USD ($) $ in Thousands | 12 Months Ended
--- | ---
Dec. 31, 2021 | Dec. 31, 2020 | Dec. 31, 2019
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 | $ (31,128) | $ 33,479 | $ 300
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 | 20,403 | (4,440) | $ 42,087
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 | $ 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: |