XML 79 R69.htm IDEA: XBRL DOCUMENT
v3.21.2

Repurchase Agreements - Narrative (Details) | Jun. 30, 2021 counterparty financialInstitution
--- | ---
Deferred Costs, Capitalized, Prepaid, and Other Assets Disclosure [Abstract] |
Repurchase agreements, number of financial institutions | financialInstitution | 3
Repurchase agreements, number of counterparties | counterparty | 2

X
- Definition Number of counterparties the entity has repurchase agreements with. + References No definition available. + Details
Name: | nymt_RepurchaseAgreementsNumberOfCounterparties
Namespace Prefix: | nymt_
Data Type: | xbrli:integerItemType
Balance Type: | na
Period Type: | instant

X
- Definition Repurchase Agreements, Number Of Financial Institutions + References No definition available. + Details
Name: | nymt_RepurchaseAgreementsNumberOfFinancialInstitutions
Namespace Prefix: | nymt_
Data Type: | xbrli:integerItemType
Balance Type: | na
Period Type: | instant

X
- References No definition available. + Details
Name: | us-gaap_DeferredCostsCapitalizedPrepaidAndOtherAssetsDisclosureAbstract
Namespace Prefix: | us-gaap_
Data Type: | xbrli:stringItemType
Balance Type: | na
Period Type: | duration