XML 125 R108.htm IDEA: XBRL DOCUMENT
v3.22.0.1

Income Taxes - Narrative (Details) $ in Millions | 12 Months Ended
--- | ---
Dec. 31, 2021 USD ($)
Operating Loss Carryforwards [Line Items] |
Operating loss carryforwards, not subject to expiration | $ 9.7
Operating loss carryforwards, subject to expiration | 0.9
Change in the valuation for the current year | (4.4)
Taxable REIT Subsidiaries |
Operating Loss Carryforwards [Line Items] |
Operating loss carryforward | 10.6
Capital losses | $ 22.2

X
- Definition Amount before allocation of valuation allowances of deferred tax asset attributable to deductible operating loss carryforwards that are not subject to expiration dates. + References No definition available. + Details
Name: | us-gaap_DeferredTaxAssetsOperatingLossCarryforwardsNotSubjectToExpiration
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | instant

X
- Definition Amount before allocation of valuation allowances of deferred tax asset attributable to deductible operating loss carryforwards that are subject to expiration dates. + References No definition available. + Details
Name: | us-gaap_DeferredTaxAssetsOperatingLossCarryforwardsSubjectToExpiration
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | instant

X
- Definition Amount of accumulated undistributed earnings (deficit) from long-term capital gain (loss) of investment company. + References Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 946 -SubTopic 20 -Section 50 -Paragraph 12 -URI http://asc.fasb.org/extlink&oid=66023616&loc=d3e9145-115832 Reference 2: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 946 -SubTopic 20 -Section 50 -Paragraph 11 -URI http://asc.fasb.org/extlink&oid=66023616&loc=d3e9120-115832 + Details
Name: | us-gaap_InvestmentCompanyDistributableEarningsLossAccumulatedLongTermCapitalGainLoss
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | instant

X
- Definition Amount of operating loss carryforward, before tax effects, available to reduce future taxable income under enacted tax laws. + References Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 740 -SubTopic 10 -Section 50 -Paragraph 3 -Subparagraph (a) -URI http://asc.fasb.org/extlink&oid=121826272&loc=d3e32559-109319 + Details
Name: | us-gaap_OperatingLossCarryforwards
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
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_OperatingLossCarryforwardsLineItems
Namespace Prefix: | us-gaap_
Data Type: | xbrli:stringItemType
Balance Type: | na
Period Type: | duration

X
- Definition Amount of increase (decrease) in the valuation allowance for a specified deferred tax asset. + References Reference 1: http://www.xbrl.org/2003/role/disclosureRef -Publisher FASB -Name Accounting Standards Codification -Topic 740 -SubTopic 10 -Section 50 -Paragraph 2 -URI http://asc.fasb.org/extlink&oid=121826272&loc=d3e32537-109319 + Details
Name: | us-gaap_ValuationAllowanceDeferredTaxAssetChangeInAmount
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | duration

X
- Details
Name: | dei_LegalEntityAxis=nymt_TaxableREITSubsidiariesMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |