XML 108 R94.htm IDEA: XBRL DOCUMENT
v3.22.4

Repurchase Agreements - Repurchase Agreements Secured by Investment Securities (Details) - USD ($) $ in Thousands | Dec. 31, 2022 | Dec. 31, 2021 | Dec. 31, 2020 | Dec. 31, 2019
--- | --- | --- | --- | ---
Assets Sold under Agreements to Repurchase [Line Items] |  |  |  |
Outstanding Repurchase Agreements | $ 50,077 |  |  |
Fair Value | 3,525,080 | $ 3,575,601 | $ 3,049,166 | $ 20,780,548
Repurchase agreements |  |  |  |
Assets Sold under Agreements to Repurchase [Line Items] |  |  |  |
Outstanding Repurchase Agreements | 50,077 |  |  |
Fair Value | 170,551 |  |  |
Amortized Cost of Collateral Pledged | 210,733 |  |  |
Non-Agency RMBS | Repurchase agreements |  |  |  |
Assets Sold under Agreements to Repurchase [Line Items] |  |  |  |
Outstanding Repurchase Agreements | 50,077 |  |  |
Fair Value | 170,551 |  |  |
Amortized Cost of Collateral Pledged | $ 210,733 |  |  |

X
- Definition Assets Sold Under Agreements To Repurchase, Amortized Cost Of Collateral Pledged + References No definition available. + Details
Name: | nymt_AssetsSoldUnderAgreementsToRepurchaseAmortizedCostOfCollateralPledged
Namespace Prefix: | nymt_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | instant

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: | us-gaap_AssetsSoldUnderAgreementsToRepurchaseLineItems
Namespace Prefix: | us-gaap_
Data Type: | xbrli:stringItemType
Balance Type: | na
Period Type: | duration

X
- Definition Amount to be repaid to the counterparty to the repurchase agreement when the carrying amount (or market value, if higher than the carrying amount) of securities or other assets sold under the repurchase agreement exceeds 10 percent of total assets. + References Reference 1: http://www.xbrl.org/2003/role/disclosureRef -Publisher FASB -Name Accounting Standards Codification -Topic 235 -SubTopic 10 -Section S99 -Paragraph 1 -Subparagraph (SX 210.4-08(m)(1)(ii)(A)(ii)) -URI https://asc.fasb.org/extlink&oid=120395691&loc=d3e23780-122690 Reference 2: http://www.xbrl.org/2003/role/disclosureRef -Publisher FASB -Name Accounting Standards Codification -Topic 235 -SubTopic 10 -Section S99 -Paragraph 1 -Subparagraph (SX 210.4-08(m)(1)(i)) -URI https://asc.fasb.org/extlink&oid=120395691&loc=d3e23780-122690 + Details
Name: | us-gaap_AssetsSoldUnderAgreementsToRepurchaseRepurchaseLiability
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | instant

X
- Definition Amount of investment in mortgage loan on real estate by entity with substantial portion of business acquiring and holding investment real estate or interest in real estate. + References Reference 1: http://www.xbrl.org/2003/role/disclosureRef -Publisher FASB -Name Accounting Standards Codification -Topic 948 -SubTopic 310 -Section S99 -Paragraph 1 -Subparagraph (SX 210.12-29(Column G)) -URI https://asc.fasb.org/extlink&oid=120402547&loc=d3e617274-123014 + Details
Name: | us-gaap_MortgageLoansOnRealEstate
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | instant

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

X
- Details
Name: | us-gaap_FinancialInstrumentAxis=nymt_NonAgencyRMBSMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |