XML 62 R53.htm IDEA: XBRL DOCUMENT
v3.23.2

Residential Loans, at Fair Value - Components of Net Gain (Loss) on Residential Mortgages (Details) - USD ($) $ in Thousands | 3 Months Ended | 6 Months Ended
--- | --- | ---
Jun. 30, 2023 | Jun. 30, 2022 | Jun. 30, 2023 | Jun. 30, 2022
Consolidated SLST | VIE, Primary Beneficiary |  |  |  |
SEC Schedule, 12-29, Real Estate Companies, Investment in Mortgage Loans on Real Estate [Line Items] |  |  |  |
Unrealized gains (losses), net | $ (23,332) | $ (10,798) | $ (7,525) | $ (77,443)
Residential loans |  |  |  |
SEC Schedule, 12-29, Real Estate Companies, Investment in Mortgage Loans on Real Estate [Line Items] |  |  |  |
Unrealized gains (losses), net | 305 | (30,078) | (1,002) | (55,602)
Residential loans held in securitization trusts |  |  |  |
SEC Schedule, 12-29, Real Estate Companies, Investment in Mortgage Loans on Real Estate [Line Items] |  |  |  |
Unrealized gains (losses), net | $ (7,275) | $ (34,883) | $ 23,279 | $ (72,657)

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 Reference 1: http://www.xbrl.org/2003/role/disclosureRef -Name Regulation S-X (SX) -Number 210 -Section 12 -Subsection 29 -Publisher SEC Reference 2: http://www.xbrl.org/2003/role/disclosureRef -Topic 948 -SubTopic 310 -Name Accounting Standards Codification -Section S99 -Paragraph 1 -Subparagraph (SX 210.12-29) -Publisher FASB -URI https://asc.fasb.org//1943274/2147479851/948-310-S99-1 + 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: |