XML 102 R88.htm IDEA: XBRL DOCUMENT
v3.23.1

Repurchase Agreements - Company's Repurchase Agreements (Details) - Repurchase agreements - USD ($) $ in Thousands | Mar. 31, 2023 | Dec. 31, 2022
--- | --- | ---
Assets Sold under Agreements to Repurchase [Line Items] |  |
Total carrying value | $ 787,902 | $ 737,023
Residential loans |  |
Assets Sold under Agreements to Repurchase [Line Items] |  |
Total carrying value | 561,124 | 686,946
Investment securities |  |
Assets Sold under Agreements to Repurchase [Line Items] |  |
Total carrying value | $ 226,778 | $ 50,077

X
- Definition Carrying amount of assets sold under agreements to repurchase when the carrying amount (or market value, if higher than the carrying amount) of securities or other assets sold under repurchase agreements 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)(i)) -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)(ii)(A)(i)) -URI https://asc.fasb.org/extlink&oid=120395691&loc=d3e23780-122690 + Details
Name: | us-gaap_AssetsSoldUnderAgreementsToRepurchaseCarryingAmounts
Namespace Prefix: | us-gaap_
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
- Details
Name: | us-gaap_InvestmentTypeAxis=us-gaap_RepurchaseAgreementsMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

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

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