XML 80 R66.htm IDEA: XBRL DOCUMENT
v3.22.4

Investment Securities Available For Sale, at Fair Value - Narrative (Details) - USD ($) $ in Thousands | 12 Months Ended
--- | ---
Dec. 31, 2022 | Dec. 31, 2021 | Dec. 31, 2020
Debt Securities, Available-for-sale [Line Items] |  |  |
Investment securities available for sale accrued interest | $ 400 | $ 700 |
Unrealized gains (losses) on investments | 22,600 | 15,500 | $ 9,700
Net realized loss | $ 18,344 | $ 11,220 | (61,529)
Contractual maturities | 37 years |  |
Available for sale securities portfolio, weighted average life | 7 years 7 months 6 days | 5 years 9 months 18 days |
Debt Securities, Available-for-Sale, Accrued Interest, after Allowance for Credit Loss, Statement of Financial Position [Extensible Enumeration] | Other assets | Other assets |
Non-Agency RMBS |  |  |
Debt Securities, Available-for-sale [Line Items] |  |  |
Net realized loss | $ 374 | $ 4,069 | $ (34,421)
Non Agency RMBS Held In Securitization Trust | Non-Agency RMBS |  |  |
Debt Securities, Available-for-sale [Line Items] |  |  |
Net realized loss |  | $ (5,500) |

X
- Definition Represents the weighted average life of the available for sale securities portfolio. + References No definition available. + Details
Name: | nymt_AvailableForSaleSecuritiesPortfolioLife
Namespace Prefix: | nymt_
Data Type: | xbrli:durationItemType
Balance Type: | na
Period Type: | duration

X
- Definition Contractual maturities of investments. + References No definition available. + Details
Name: | nymt_ContractualMaturities
Namespace Prefix: | nymt_
Data Type: | xbrli:durationItemType
Balance Type: | na
Period Type: | duration

X
- Definition Amount, after allowance for credit loss, of accrued interest on investment in debt security measured at fair value with change in fair value recognized in other comprehensive income (available-for-sale). + References Reference 1: http://www.xbrl.org/2003/role/disclosureRef -Publisher FASB -Name Accounting Standards Codification -Topic 326 -SubTopic 30 -Section 45 -Paragraph 1 -URI https://asc.fasb.org/extlink&oid=124258926&loc=SL82898722-210454 Reference 2: http://www.xbrl.org/2003/role/disclosureRef -Publisher FASB -Name Accounting Standards Codification -Topic 326 -SubTopic 30 -Section 50 -Paragraph 3A -URI https://asc.fasb.org/extlink&oid=124269663&loc=SL120267853-210455 Reference 3: http://www.xbrl.org/2003/role/disclosureRef -Publisher FASB -Name Accounting Standards Codification -Topic 320 -SubTopic 10 -Section 50 -Paragraph 2A -URI https://asc.fasb.org/extlink&oid=126970911&loc=SL121698322-111563 Reference 4: http://www.xbrl.org/2003/role/disclosureRef -Publisher FASB -Name Accounting Standards Codification -Topic 326 -SubTopic 30 -Section 50 -Paragraph 3B -URI https://asc.fasb.org/extlink&oid=124269663&loc=SL120267856-210455 + Details
Name: | us-gaap_DebtSecuritiesAvailableForSaleAccruedInterestAfterAllowanceForCreditLoss
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | instant

X
- Definition Indicates line item in statement of financial position that includes accrued interest, after allowance for credit loss, on investment in debt security measured at fair value with change in fair value recognized in other comprehensive income (available-for-sale). + References Reference 1: http://www.xbrl.org/2003/role/disclosureRef -Publisher FASB -Name Accounting Standards Codification -Topic 326 -SubTopic 30 -Section 50 -Paragraph 3A -URI https://asc.fasb.org/extlink&oid=124269663&loc=SL120267853-210455 + Details
Name: | us-gaap_DebtSecuritiesAvailableForSaleAccruedInterestAfterAllowanceForCreditLossStatementOfFinancialPositionExtensibleList
Namespace Prefix: | us-gaap_
Data Type: | enum2:enumerationSetItemType
Balance Type: | na
Period Type: | instant

X
- Definition Amount of realized gain (loss) on investment in debt security measured at fair value with change in fair value recognized in other comprehensive income (available-for-sale). + References Reference 1: http://www.xbrl.org/2009/role/commonPracticeRef -Publisher FASB -Name Accounting Standards Codification -Topic 320 -SubTopic 10 -Section 50 -Paragraph 9 -Subparagraph (a) -URI https://asc.fasb.org/extlink&oid=126970911&loc=d3e27357-111563 + Details
Name: | us-gaap_DebtSecuritiesAvailableForSaleRealizedGainLoss
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | duration

X
- Definition Amount of unrealized gain (loss) on investment in debt security measured at fair value with change in fair value recognized in other comprehensive income (available-for-sale). + References No definition available. + Details
Name: | us-gaap_DebtSecuritiesAvailableForSaleUnrealizedGainLoss
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | duration

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

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

X
- Details
Name: | us-gaap_FairValueByLiabilityClassAxis=nymt_NonAgencyRMBSHeldInSecuritizationTrustMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |