XML 133 R119.htm IDEA: XBRL DOCUMENT
v3.23.1

Income Taxes - Narrative (Details) $ in Millions | 3 Months Ended
--- | ---
Mar. 31, 2023 USD ($)
Operating Loss Carryforwards [Line Items] |
Change in valuation allowance | $ 6.0
Taxable REIT Subsidiaries |
Operating Loss Carryforwards [Line Items] |
Net operating loss carryforwards | 13.1
Capital losses | $ 47.3

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 https://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 https://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 https://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 https://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: |