XML 119 R109.htm IDEA: XBRL DOCUMENT
v3.24.2.u1

Fair Value of Financial Instruments - Schedule of Assets and Liabilities Measured at Fair Value on a Recurring Basis (Details) - USD ($) $ in Thousands | Jun. 30, 2024 | Dec. 31, 2023
--- | --- | ---
Assets carried at fair value |  |
Investment securities available for sale: | $ 0 | $ 31
Derivative assets: |  |
Derivative assets | 32,588 | 19,604
Derivative liabilities |  |
Derivative assets | 3,828 | 6,510
Variation Margin | 8,835 | 27,447
Interest rate caps |  |
Derivative assets: |  |
Derivative assets | 3,049 | 6,510
Interest rate swaps |  |
Derivative assets: |  |
Derivative assets | 28,760 | 13,094
Derivative liabilities |  |
Variation Margin | 0 | 27,447
U.S. Treasury futures |  |
Derivative liabilities |  |
Variation Margin | 265 |
Credit default swaps |  |
Derivative liabilities |  |
Variation Margin | 8,570 |
Fair Value, Measurements, Recurring |  |
Assets carried at fair value |  |
Equity investments | 142,915 | 147,116
Assets of disposal group held for sale | 2,560 | 2,960
Total | 6,417,570 | 5,350,498
Derivative liabilities |  |
Total | 1,637,111 | 593,737
Fair Value, Measurements, Recurring | Senior unsecured notes |  |
Liabilities carried at fair value |  |
Senior unsecured notes | 60,000 | 0
Fair Value, Measurements, Recurring | Interest rate caps |  |
Derivative assets: |  |
Derivative assets | 3,049 | 6,510
Fair Value, Measurements, Recurring | Options |  |
Derivative assets: |  |
Derivative assets | 779 | 0
Fair Value, Measurements, Recurring | Interest rate swaps |  |
Derivative assets: |  |
Derivative assets | 0 | 0
Fair Value, Measurements, Recurring | U.S. Treasury futures |  |
Derivative liabilities |  |
Derivative liabilities | 0 | 0
Fair Value, Measurements, Recurring | Credit default swaps |  |
Derivative liabilities |  |
Derivative liabilities | 0 | 0
Fair Value, Measurements, Recurring | Interest Rate Swaps, Credit Default Swaps, U.S. Treasury Futures |  |
Derivative liabilities |  |
Variation Margin | 11,600 | 27,400
Fair Value, Measurements, Recurring | Interest Rate Swaps, Credit Default Swaps, U.S. Treasury Futures | Central Clearing House |  |
Derivative liabilities |  |
Derivative liabilities | 17,200 | 40,500
Derivative assets | 28,800 | 13,100
Fair Value, Measurements, Recurring | Consolidated SLST | VIE, Primary Beneficiary |  |
Assets carried at fair value |  |
Residential loans, at fair value | 1,004,944 | 754,860
Fair Value, Measurements, Recurring | Residential loans |  |
Assets carried at fair value |  |
Residential loans, at fair value | 667,218 | 827,535
Fair Value, Measurements, Recurring | Residential loans held in securitization trusts |  |
Assets carried at fair value |  |
Residential loans, at fair value | 1,831,029 | 1,501,908
Fair Value, Measurements, Recurring | Agency RMBS |  |
Assets carried at fair value |  |
Investment securities available for sale: | 2,613,842 | 1,989,324
Fair Value, Measurements, Recurring | Non-Agency RMBS |  |
Assets carried at fair value |  |
Investment securities available for sale: | 58,237 | 24,493
Fair Value, Measurements, Recurring | Multi-family loans |  |
Assets carried at fair value |  |
Multi-family loans | 92,997 | 95,792
Fair Value, Measurements, Recurring | Consolidated SLST | Consolidated SLST | VIE, Primary Beneficiary |  |
Liabilities carried at fair value |  |
Consolidated SLST | 844,032 | 593,737
Fair Value, Measurements, Recurring | Residential loan securitizations |  |
Liabilities carried at fair value |  |
Consolidated SLST | 733,079 | 0
Level 1 | Fair Value, Measurements, Recurring |  |
Assets carried at fair value |  |
Equity investments | 0 | 0
Assets of disposal group held for sale | 0 | 0
Total | 0 | 0
Derivative liabilities |  |
Total | 0 | 0
Level 1 | Fair Value, Measurements, Recurring | Senior unsecured notes |  |
Liabilities carried at fair value |  |
Senior unsecured notes | 0 | 0
Level 1 | Fair Value, Measurements, Recurring | Interest rate caps |  |
Derivative assets: |  |
Derivative assets | 0 | 0
Level 1 | Fair Value, Measurements, Recurring | Options |  |
Derivative assets: |  |
Derivative assets | 0 | 0
Level 1 | Fair Value, Measurements, Recurring | Interest rate swaps |  |
Derivative assets: |  |
Derivative assets | 0 | 0
Level 1 | Fair Value, Measurements, Recurring | U.S. Treasury futures |  |
Derivative liabilities |  |
Derivative liabilities | 0 | 0
Level 1 | Fair Value, Measurements, Recurring | Credit default swaps |  |
Derivative liabilities |  |
Derivative liabilities | 0 | 0
Level 1 | Fair Value, Measurements, Recurring | Consolidated SLST | VIE, Primary Beneficiary |  |
Assets carried at fair value |  |
Residential loans, at fair value | 0 | 0
Level 1 | Fair Value, Measurements, Recurring | Residential loans |  |
Assets carried at fair value |  |
Residential loans, at fair value | 0 | 0
Level 1 | Fair Value, Measurements, Recurring | Residential loans held in securitization trusts |  |
Assets carried at fair value |  |
Residential loans, at fair value | 0 | 0
Level 1 | Fair Value, Measurements, Recurring | Agency RMBS |  |
Assets carried at fair value |  |
Investment securities available for sale: | 0 | 0
Level 1 | Fair Value, Measurements, Recurring | Non-Agency RMBS |  |
Assets carried at fair value |  |
Investment securities available for sale: | 0 | 0
Level 1 | Fair Value, Measurements, Recurring | Multi-family loans |  |
Assets carried at fair value |  |
Multi-family loans | 0 | 0
Level 1 | Fair Value, Measurements, Recurring | Consolidated SLST | Consolidated SLST | VIE, Primary Beneficiary |  |
Liabilities carried at fair value |  |
Consolidated SLST | 0 | 0
Level 1 | Fair Value, Measurements, Recurring | Residential loan securitizations |  |
Liabilities carried at fair value |  |
Consolidated SLST | 0 | 0
Level 2 | Fair Value, Measurements, Recurring |  |
Assets carried at fair value |  |
Equity investments | 0 | 0
Assets of disposal group held for sale | 2,560 | 2,960
Total | 2,678,467 | 2,023,287
Derivative liabilities |  |
Total | 793,079 | 0
Derivative assets | 3,828 | 6,510
Level 2 | Fair Value, Measurements, Recurring | Senior unsecured notes |  |
Liabilities carried at fair value |  |
Senior unsecured notes | 60,000 | 0
Level 2 | Fair Value, Measurements, Recurring | Interest rate caps |  |
Derivative assets: |  |
Derivative assets | 3,049 | 6,510
Level 2 | Fair Value, Measurements, Recurring | Options |  |
Derivative assets: |  |
Derivative assets | 779 | 0
Level 2 | Fair Value, Measurements, Recurring | Interest rate swaps |  |
Derivative assets: |  |
Derivative assets | 0 | 0
Level 2 | Fair Value, Measurements, Recurring | U.S. Treasury futures |  |
Derivative liabilities |  |
Derivative liabilities | 0 | 0
Level 2 | Fair Value, Measurements, Recurring | Credit default swaps |  |
Derivative liabilities |  |
Derivative liabilities | 0 | 0
Level 2 | Fair Value, Measurements, Recurring | Derivative Asset |  |
Assets carried at fair value |  |
Assets of disposal group held for sale | 2,600 | 3,000
Level 2 | Fair Value, Measurements, Recurring | Consolidated SLST | VIE, Primary Beneficiary |  |
Assets carried at fair value |  |
Residential loans, at fair value | 0 | 0
Level 2 | Fair Value, Measurements, Recurring | Residential loans |  |
Assets carried at fair value |  |
Residential loans, at fair value | 0 | 0
Level 2 | Fair Value, Measurements, Recurring | Residential loans held in securitization trusts |  |
Assets carried at fair value |  |
Residential loans, at fair value | 0 | 0
Level 2 | Fair Value, Measurements, Recurring | Agency RMBS |  |
Assets carried at fair value |  |
Investment securities available for sale: | 2,613,842 | 1,989,324
Level 2 | Fair Value, Measurements, Recurring | Non-Agency RMBS |  |
Assets carried at fair value |  |
Investment securities available for sale: | 58,237 | 24,493
Level 2 | Fair Value, Measurements, Recurring | Multi-family loans |  |
Assets carried at fair value |  |
Multi-family loans | 0 | 0
Level 2 | Fair Value, Measurements, Recurring | Consolidated SLST | Consolidated SLST | VIE, Primary Beneficiary |  |
Liabilities carried at fair value |  |
Consolidated SLST | 0 | 0
Level 2 | Fair Value, Measurements, Recurring | Residential loan securitizations |  |
Liabilities carried at fair value |  |
Consolidated SLST | 733,079 | 0
Level 3 | Fair Value, Measurements, Recurring |  |
Assets carried at fair value |  |
Equity investments | 142,915 | 147,116
Assets of disposal group held for sale | 0 | 0
Total | 3,739,103 | 3,327,211
Derivative liabilities |  |
Total | 844,032 | 593,737
Level 3 | Fair Value, Measurements, Recurring | Senior unsecured notes |  |
Liabilities carried at fair value |  |
Senior unsecured notes | 0 | 0
Level 3 | Fair Value, Measurements, Recurring | Interest rate caps |  |
Derivative assets: |  |
Derivative assets | 0 | 0
Level 3 | Fair Value, Measurements, Recurring | Options |  |
Derivative assets: |  |
Derivative assets | 0 | 0
Level 3 | Fair Value, Measurements, Recurring | Interest rate swaps |  |
Derivative assets: |  |
Derivative assets | 0 | 0
Level 3 | Fair Value, Measurements, Recurring | U.S. Treasury futures |  |
Derivative liabilities |  |
Derivative liabilities | 0 | 0
Level 3 | Fair Value, Measurements, Recurring | Credit default swaps |  |
Derivative liabilities |  |
Derivative liabilities | 0 | 0
Level 3 | Fair Value, Measurements, Recurring | Consolidated SLST | VIE, Primary Beneficiary |  |
Assets carried at fair value |  |
Residential loans, at fair value | 1,004,944 | 754,860
Level 3 | Fair Value, Measurements, Recurring | Residential loans |  |
Assets carried at fair value |  |
Residential loans, at fair value | 667,218 | 827,535
Level 3 | Fair Value, Measurements, Recurring | Residential loans held in securitization trusts |  |
Assets carried at fair value |  |
Residential loans, at fair value | 1,831,029 | 1,501,908
Level 3 | Fair Value, Measurements, Recurring | Agency RMBS |  |
Assets carried at fair value |  |
Investment securities available for sale: | 0 | 0
Level 3 | Fair Value, Measurements, Recurring | Non-Agency RMBS |  |
Assets carried at fair value |  |
Investment securities available for sale: | 0 | 0
Level 3 | Fair Value, Measurements, Recurring | Multi-family loans |  |
Assets carried at fair value |  |
Multi-family loans | 92,997 | 95,792
Level 3 | Fair Value, Measurements, Recurring | Consolidated SLST | Consolidated SLST | VIE, Primary Beneficiary |  |
Liabilities carried at fair value |  |
Consolidated SLST | 844,032 | 593,737
Level 3 | Fair Value, Measurements, Recurring | Residential loan securitizations |  |
Liabilities carried at fair value |  |
Consolidated SLST | $ 0 | $ 0

X
- Definition Financial Instruments Owned, Multi-family Loans + References No definition available. + Details
Name: | nymt_FinancialInstrumentsOwnedMultiFamilyLoans
Namespace Prefix: | nymt_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | instant

X
- Definition Financial Instruments Owned, Residential Loans at Fair Value + References No definition available. + Details
Name: | nymt_FinancialInstrumentsOwnedResidentialLoansatFairValue
Namespace Prefix: | nymt_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | instant

X
- Definition Unsecured Debt, Fair Value Disclosure + References No definition available. + Details
Name: | nymt_UnsecuredDebtFairValueDisclosure
Namespace Prefix: | nymt_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | instant

X
- Definition Fair value portion of asset recognized for present right to economic benefit. + References Reference 1: http://www.xbrl.org/2003/role/exampleRef -Topic 820 -SubTopic 10 -Name Accounting Standards Codification -Section 55 -Paragraph 100 -Publisher FASB -URI https://asc.fasb.org/1943274/2147482078/820-10-55-100 Reference 2: http://www.xbrl.org/2003/role/disclosureRef -Topic 820 -SubTopic 10 -Name Accounting Standards Codification -Section 50 -Paragraph 2 -Subparagraph (b) -Publisher FASB -URI https://asc.fasb.org/1943274/2147482106/820-10-50-2 Reference 3: http://www.xbrl.org/2003/role/disclosureRef -Topic 820 -SubTopic 10 -Name Accounting Standards Codification -Section 50 -Paragraph 2 -Subparagraph (a) -Publisher FASB -URI https://asc.fasb.org/1943274/2147482106/820-10-50-2 + Details
Name: | us-gaap_AssetsFairValueDisclosure
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | instant

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

X
- Definition Fair value portion of assets classified as held for sale. + References Reference 1: http://www.xbrl.org/2009/role/commonPracticeRef -Topic 820 -SubTopic 10 -Name Accounting Standards Codification -Section 50 -Paragraph 2 -Subparagraph (b) -Publisher FASB -URI https://asc.fasb.org/1943274/2147482106/820-10-50-2 Reference 2: http://www.xbrl.org/2003/role/exampleRef -Topic 820 -SubTopic 10 -Name Accounting Standards Codification -Section 55 -Paragraph 100 -Publisher FASB -URI https://asc.fasb.org/1943274/2147482078/820-10-55-100 Reference 3: http://www.xbrl.org/2003/role/exampleRef -Topic 820 -SubTopic 10 -Name Accounting Standards Codification -Section 55 -Paragraph 100 -Subparagraph (e) -Publisher FASB -URI https://asc.fasb.org/1943274/2147482078/820-10-55-100 Reference 4: http://www.xbrl.org/2003/role/exampleRef -Topic 820 -SubTopic 10 -Name Accounting Standards Codification -Section 50 -Paragraph 2 -Subparagraph (a) -Publisher FASB -URI https://asc.fasb.org/1943274/2147482106/820-10-50-2 + Details
Name: | us-gaap_AssetsHeldForSaleLongLivedFairValueDisclosure
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | instant

X
- Definition Amount excluding accrued interest, of 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 -Topic 326 -SubTopic 30 -Name Accounting Standards Codification -Section 45 -Paragraph 1 -Publisher FASB -URI https://asc.fasb.org/1943274/2147479130/326-30-45-1 + Details
Name: | us-gaap_DebtSecuritiesAvailableForSaleExcludingAccruedInterest
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | instant

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

X
- Definition Fair value, after the effects of master netting arrangements, of a financial asset or other contract with one or more underlyings, notional amount or payment provision or both, and the contract can be net settled by means outside the contract or delivery of an asset. Includes assets not subject to a master netting arrangement and not elected to be offset. + References Reference 1: http://www.xbrl.org/2003/role/exampleRef -Topic 820 -SubTopic 10 -Name Accounting Standards Codification -Section 55 -Paragraph 103 -Publisher FASB -URI https://asc.fasb.org/1943274/2147482078/820-10-55-103 Reference 2: http://www.xbrl.org/2003/role/exampleRef -Topic 820 -SubTopic 10 -Name Accounting Standards Codification -Section 55 -Paragraph 100 -Publisher FASB -URI https://asc.fasb.org/1943274/2147482078/820-10-55-100 Reference 3: http://www.xbrl.org/2009/role/commonPracticeRef -Topic 820 -SubTopic 10 -Name Accounting Standards Codification -Section 50 -Paragraph 2 -Subparagraph (bbb)(2)(i) -Publisher FASB -URI https://asc.fasb.org/1943274/2147482106/820-10-50-2 Reference 4: http://www.xbrl.org/2009/role/commonPracticeRef -Topic 820 -SubTopic 10 -Name Accounting Standards Codification -Section 50 -Paragraph 2 -Subparagraph (bbb)(2) -Publisher FASB -URI https://asc.fasb.org/1943274/2147482106/820-10-50-2 Reference 5: http://www.xbrl.org/2009/role/commonPracticeRef -Topic 820 -SubTopic 10 -Name Accounting Standards Codification -Section 50 -Paragraph 2 -Subparagraph (bbb)(1) -Publisher FASB -URI https://asc.fasb.org/1943274/2147482106/820-10-50-2 Reference 6: http://www.xbrl.org/2003/role/disclosureRef -Topic 820 -SubTopic 10 -Name Accounting Standards Codification -Section 50 -Paragraph 2 -Subparagraph (b) -Publisher FASB -URI https://asc.fasb.org/1943274/2147482106/820-10-50-2 Reference 7: http://www.xbrl.org/2003/role/disclosureRef -Topic 820 -SubTopic 10 -Name Accounting Standards Codification -Section 50 -Paragraph 2 -Subparagraph (a) -Publisher FASB -URI https://asc.fasb.org/1943274/2147482106/820-10-50-2 Reference 8: http://www.xbrl.org/2003/role/disclosureRef -Topic 820 -SubTopic 10 -Name Accounting Standards Codification -Section 50 -Paragraph 3 -Subparagraph (a) -Publisher FASB -URI https://asc.fasb.org/1943274/2147482106/820-10-50-3 Reference 9: http://www.xbrl.org/2003/role/disclosureRef -Topic 946 -SubTopic 210 -Name Accounting Standards Codification -Section 50 -Paragraph 12 -Publisher FASB -URI https://asc.fasb.org/1943274/2147478795/946-210-50-12 Reference 10: http://www.xbrl.org/2003/role/disclosureRef -Topic 946 -SubTopic 210 -Name Accounting Standards Codification -Section 50 -Paragraph 6 -Subparagraph (e) -Publisher FASB -URI https://asc.fasb.org/1943274/2147478795/946-210-50-6 Reference 11: http://www.xbrl.org/2003/role/exampleRef -Topic 946 -SubTopic 210 -Name Accounting Standards Codification -Section 55 -Paragraph 1 -Publisher FASB -URI https://asc.fasb.org/1943274/2147477439/946-210-55-1 Reference 12: http://www.xbrl.org/2003/role/disclosureRef -Topic 946 -SubTopic 210 -Name Accounting Standards Codification -Section 50 -Paragraph 6 -Subparagraph (a)(1) -Publisher FASB -URI https://asc.fasb.org/1943274/2147478795/946-210-50-6 Reference 13: http://www.xbrl.org/2003/role/disclosureRef -Topic 946 -SubTopic 210 -Name Accounting Standards Codification -Section 50 -Paragraph 6 -Subparagraph (a)(2) -Publisher FASB -URI https://asc.fasb.org/1943274/2147478795/946-210-50-6 Reference 14: http://www.xbrl.org/2003/role/disclosureRef -Topic 946 -SubTopic 210 -Name Accounting Standards Codification -Section 50 -Paragraph 6 -Subparagraph (a)(4) -Publisher FASB -URI https://asc.fasb.org/1943274/2147478795/946-210-50-6 Reference 15: http://www.xbrl.org/2003/role/disclosureRef -Topic 946 -SubTopic 210 -Name Accounting Standards Codification -Section 50 -Paragraph 1 -Subparagraph (a)(1) -Publisher FASB -URI https://asc.fasb.org/1943274/2147478795/946-210-50-1 Reference 16: http://www.xbrl.org/2003/role/disclosureRef -Topic 946 -SubTopic 210 -Name Accounting Standards Codification -Section 50 -Paragraph 1 -Subparagraph (b)(1) -Publisher FASB -URI https://asc.fasb.org/1943274/2147478795/946-210-50-1 Reference 17: http://www.xbrl.org/2003/role/disclosureRef -Topic 946 -SubTopic 210 -Name Accounting Standards Codification -Section 50 -Paragraph 1 -Subparagraph (b)(2) -Publisher FASB -URI https://asc.fasb.org/1943274/2147478795/946-210-50-1 Reference 18: http://www.xbrl.org/2003/role/disclosureRef -Topic 946 -SubTopic 210 -Name Accounting Standards Codification -Section 50 -Paragraph 1 -Subparagraph (c)(2) -Publisher FASB -URI https://asc.fasb.org/1943274/2147478795/946-210-50-1 Reference 19: http://www.xbrl.org/2003/role/disclosureRef -Topic 946 -SubTopic 210 -Name Accounting Standards Codification -Section 50 -Paragraph 6 -Subparagraph (f) -Publisher FASB -URI https://asc.fasb.org/1943274/2147478795/946-210-50-6 Reference 20: http://www.xbrl.org/2009/role/commonPracticeRef -Topic 946 -SubTopic 210 -Name Accounting Standards Codification -Section 50 -Paragraph 6 -Subparagraph (a)(3) -Publisher FASB -URI https://asc.fasb.org/1943274/2147478795/946-210-50-6 Reference 21: http://www.xbrl.org/2003/role/disclosureRef -Topic 946 -SubTopic 210 -Name Accounting Standards Codification -Section S99 -Paragraph 1 -Subparagraph (SX 210.6-04(3)(c)) -Publisher FASB -URI https://asc.fasb.org/1943274/2147479170/946-210-S99-1 Reference 22: http://www.xbrl.org/2003/role/disclosureRef -Topic 946 -SubTopic 320 -Name Accounting Standards Codification -Section S99 -Paragraph 5C -Subparagraph (SX 210.12-13C(Column H)(Footnote 7)) -Publisher FASB -URI https://asc.fasb.org/1943274/2147477271/946-320-S99-5C Reference 23: http://www.xbrl.org/2003/role/disclosureRef -Topic 946 -SubTopic 210 -Name Accounting Standards Codification -Section S99 -Paragraph 1 -Subparagraph (SX 210.6-04(3)(b)) -Publisher FASB -URI https://asc.fasb.org/1943274/2147479170/946-210-S99-1 Reference 24: http://www.xbrl.org/2003/role/disclosureRef -Topic 946 -SubTopic 320 -Name Accounting Standards Codification -Section S99 -Paragraph 5 -Subparagraph (SX 210.12-13(Column A)(Footnote 3)) -Publisher FASB -URI https://asc.fasb.org/1943274/2147477271/946-320-S99-5 Reference 25: http://www.xbrl.org/2003/role/disclosureRef -Topic 946 -SubTopic 320 -Name Accounting Standards Codification -Section S99 -Paragraph 5C -Subparagraph (SX 210.12-13C(Column H)) -Publisher FASB -URI https://asc.fasb.org/1943274/2147477271/946-320-S99-5C Reference 26: http://www.xbrl.org/2003/role/disclosureRef -Topic 946 -SubTopic 320 -Name Accounting Standards Codification -Section S99 -Paragraph 5A -Subparagraph (SX 210.12-13A(Column E)) -Publisher FASB -URI https://asc.fasb.org/1943274/2147477271/946-320-S99-5A Reference 27: http://www.xbrl.org/2003/role/disclosureRef -Topic 946 -SubTopic 320 -Name Accounting Standards Codification -Section S99 -Paragraph 5B -Subparagraph (SX 210.12-13B(Column E)) -Publisher FASB -URI https://asc.fasb.org/1943274/2147477271/946-320-S99-5B Reference 28: http://www.xbrl.org/2003/role/disclosureRef -Topic 946 -SubTopic 320 -Name Accounting Standards Codification -Section S99 -Paragraph 5B -Subparagraph (SX 210.12-13B(Column E)(Footnote 4)) -Publisher FASB -URI https://asc.fasb.org/1943274/2147477271/946-320-S99-5B Reference 29: http://www.xbrl.org/2003/role/disclosureRef -Topic 210 -SubTopic 20 -Name Accounting Standards Codification -Section 50 -Paragraph 3 -Subparagraph (c) -Publisher FASB -URI https://asc.fasb.org/1943274/2147483466/210-20-50-3 Reference 30: http://www.xbrl.org/2003/role/exampleRef -Topic 210 -SubTopic 20 -Name Accounting Standards Codification -Section 55 -Paragraph 22 -Publisher FASB -URI https://asc.fasb.org/1943274/2147483444/210-20-55-22 Reference 31: http://www.xbrl.org/2003/role/disclosureRef -Topic 210 -SubTopic 20 -Name Accounting Standards Codification -Section 55 -Paragraph 10 -Publisher FASB -URI https://asc.fasb.org/1943274/2147483444/210-20-55-10 Reference 32: http://www.xbrl.org/2003/role/disclosureRef -Topic 825 -SubTopic 10 -Name Accounting Standards Codification -Section 50 -Paragraph 10 -Publisher FASB -URI https://asc.fasb.org/1943274/2147482907/825-10-50-10 + Details
Name: | us-gaap_DerivativeAssets
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | instant

X
- Definition Fair value, before effects of master netting arrangements, of a financial asset or other contract with one or more underlyings, notional amount or payment provision or both, and the contract can be net settled by means outside the contract or delivery of an asset. Includes assets elected not to be offset. Excludes assets not subject to a master netting arrangement. + References Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef -Topic 815 -SubTopic 10 -Name Accounting Standards Codification -Section 50 -Paragraph 4B -Subparagraph (c) -Publisher FASB -URI https://asc.fasb.org/1943274/2147480434/815-10-50-4B Reference 2: http://fasb.org/us-gaap/role/ref/legacyRef -Topic 815 -SubTopic 10 -Name Accounting Standards Codification -Section 50 -Paragraph 4B -Subparagraph (a) -Publisher FASB -URI https://asc.fasb.org/1943274/2147480434/815-10-50-4B Reference 3: http://www.xbrl.org/2003/role/exampleRef -Topic 210 -SubTopic 20 -Name Accounting Standards Codification -Section 55 -Paragraph 22 -Publisher FASB -URI https://asc.fasb.org/1943274/2147483444/210-20-55-22 Reference 4: http://www.xbrl.org/2003/role/disclosureRef -Topic 210 -SubTopic 20 -Name Accounting Standards Codification -Section 50 -Paragraph 3 -Subparagraph (a) -Publisher FASB -URI https://asc.fasb.org/1943274/2147483466/210-20-50-3 Reference 5: http://fasb.org/us-gaap/role/ref/legacyRef -Topic 210 -SubTopic 20 -Name Accounting Standards Codification -Section 55 -Paragraph 7 -Publisher FASB -URI https://asc.fasb.org/1943274/2147483444/210-20-55-7 Reference 6: http://fasb.org/us-gaap/role/ref/legacyRef -Name Accounting Standards Codification -Section 50 -Paragraph 4D -Subparagraph (c)(2) -SubTopic 20 -Topic 860 -Publisher FASB -URI https://asc.fasb.org/1943274/2147481326/860-20-50-4D + Details
Name: | us-gaap_DerivativeFairValueOfDerivativeAsset
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | instant

X
- Definition Fair value, after the effects of master netting arrangements, of a financial liability or contract with one or more underlyings, notional amount or payment provision or both, and the contract can be net settled by means outside the contract or delivery of an asset. Includes liabilities not subject to a master netting arrangement and not elected to be offset. + References Reference 1: http://www.xbrl.org/2009/role/commonPracticeRef -Topic 820 -SubTopic 10 -Name Accounting Standards Codification -Section 50 -Paragraph 2 -Subparagraph (bbb)(2)(i) -Publisher FASB -URI https://asc.fasb.org/1943274/2147482106/820-10-50-2 Reference 2: http://www.xbrl.org/2009/role/commonPracticeRef -Topic 820 -SubTopic 10 -Name Accounting Standards Codification -Section 50 -Paragraph 2 -Subparagraph (bbb)(2) -Publisher FASB -URI https://asc.fasb.org/1943274/2147482106/820-10-50-2 Reference 3: http://www.xbrl.org/2009/role/commonPracticeRef -Topic 820 -SubTopic 10 -Name Accounting Standards Codification -Section 50 -Paragraph 2 -Subparagraph (bbb)(1) -Publisher FASB -URI https://asc.fasb.org/1943274/2147482106/820-10-50-2 Reference 4: http://www.xbrl.org/2003/role/disclosureRef -Topic 820 -SubTopic 10 -Name Accounting Standards Codification -Section 50 -Paragraph 2 -Subparagraph (b) -Publisher FASB -URI https://asc.fasb.org/1943274/2147482106/820-10-50-2 Reference 5: http://www.xbrl.org/2003/role/disclosureRef -Topic 820 -SubTopic 10 -Name Accounting Standards Codification -Section 50 -Paragraph 2 -Subparagraph (a) -Publisher FASB -URI https://asc.fasb.org/1943274/2147482106/820-10-50-2 Reference 6: http://www.xbrl.org/2003/role/disclosureRef -Topic 820 -SubTopic 10 -Name Accounting Standards Codification -Section 50 -Paragraph 3 -Subparagraph (a) -Publisher FASB -URI https://asc.fasb.org/1943274/2147482106/820-10-50-3 Reference 7: http://www.xbrl.org/2003/role/disclosureRef -Topic 946 -SubTopic 210 -Name Accounting Standards Codification -Section 50 -Paragraph 6 -Subparagraph (e) -Publisher FASB -URI https://asc.fasb.org/1943274/2147478795/946-210-50-6 Reference 8: http://www.xbrl.org/2003/role/disclosureRef -Topic 946 -SubTopic 210 -Name Accounting Standards Codification -Section 50 -Paragraph 6 -Subparagraph (a)(1) -Publisher FASB -URI https://asc.fasb.org/1943274/2147478795/946-210-50-6 Reference 9: http://www.xbrl.org/2003/role/disclosureRef -Topic 946 -SubTopic 210 -Name Accounting Standards Codification -Section 50 -Paragraph 6 -Subparagraph (a)(2) -Publisher FASB -URI https://asc.fasb.org/1943274/2147478795/946-210-50-6 Reference 10: http://www.xbrl.org/2003/role/disclosureRef -Topic 946 -SubTopic 210 -Name Accounting Standards Codification -Section 50 -Paragraph 6 -Subparagraph (a)(4) -Publisher FASB -URI https://asc.fasb.org/1943274/2147478795/946-210-50-6 Reference 11: http://www.xbrl.org/2003/role/disclosureRef -Topic 946 -SubTopic 210 -Name Accounting Standards Codification -Section 50 -Paragraph 1 -Subparagraph (a)(1) -Publisher FASB -URI https://asc.fasb.org/1943274/2147478795/946-210-50-1 Reference 12: http://www.xbrl.org/2003/role/disclosureRef -Topic 946 -SubTopic 210 -Name Accounting Standards Codification -Section 50 -Paragraph 1 -Subparagraph (b)(1) -Publisher FASB -URI https://asc.fasb.org/1943274/2147478795/946-210-50-1 Reference 13: http://www.xbrl.org/2003/role/disclosureRef -Topic 946 -SubTopic 210 -Name Accounting Standards Codification -Section 50 -Paragraph 1 -Subparagraph (b)(2) -Publisher FASB -URI https://asc.fasb.org/1943274/2147478795/946-210-50-1 Reference 14: http://www.xbrl.org/2003/role/disclosureRef -Topic 946 -SubTopic 210 -Name Accounting Standards Codification -Section 50 -Paragraph 1 -Subparagraph (c)(2) -Publisher FASB -URI https://asc.fasb.org/1943274/2147478795/946-210-50-1 Reference 15: http://www.xbrl.org/2003/role/disclosureRef -Topic 946 -SubTopic 210 -Name Accounting Standards Codification -Section 50 -Paragraph 6 -Subparagraph (f) -Publisher FASB -URI https://asc.fasb.org/1943274/2147478795/946-210-50-6 Reference 16: http://www.xbrl.org/2009/role/commonPracticeRef -Topic 946 -SubTopic 210 -Name Accounting Standards Codification -Section 50 -Paragraph 6 -Subparagraph (a)(3) -Publisher FASB -URI https://asc.fasb.org/1943274/2147478795/946-210-50-6 Reference 17: http://www.xbrl.org/2003/role/disclosureRef -Topic 946 -SubTopic 210 -Name Accounting Standards Codification -Section S99 -Paragraph 1 -Subparagraph (SX 210.6-04(9)(e)) -Publisher FASB -URI https://asc.fasb.org/1943274/2147479170/946-210-S99-1 Reference 18: http://www.xbrl.org/2003/role/disclosureRef -Topic 946 -SubTopic 320 -Name Accounting Standards Codification -Section S99 -Paragraph 5C -Subparagraph (SX 210.12-13C(Column H)(Footnote 7)) -Publisher FASB -URI https://asc.fasb.org/1943274/2147477271/946-320-S99-5C Reference 19: http://www.xbrl.org/2003/role/disclosureRef -Topic 946 -SubTopic 210 -Name Accounting Standards Codification -Section S99 -Paragraph 1 -Subparagraph (SX 210.6-04(9)(b)) -Publisher FASB -URI https://asc.fasb.org/1943274/2147479170/946-210-S99-1 Reference 20: http://www.xbrl.org/2003/role/disclosureRef -Topic 946 -SubTopic 210 -Name Accounting Standards Codification -Section S99 -Paragraph 1 -Subparagraph (SX 210.6-04(9)(d)) -Publisher FASB -URI https://asc.fasb.org/1943274/2147479170/946-210-S99-1 Reference 21: http://www.xbrl.org/2003/role/disclosureRef -Topic 946 -SubTopic 320 -Name Accounting Standards Codification -Section S99 -Paragraph 5 -Subparagraph (SX 210.12-13(Column G)(Footnote 8)) -Publisher FASB -URI https://asc.fasb.org/1943274/2147477271/946-320-S99-5 Reference 22: http://www.xbrl.org/2003/role/disclosureRef -Topic 946 -SubTopic 320 -Name Accounting Standards Codification -Section S99 -Paragraph 5C -Subparagraph (SX 210.12-13C(Column H)) -Publisher FASB -URI https://asc.fasb.org/1943274/2147477271/946-320-S99-5C Reference 23: http://www.xbrl.org/2003/role/disclosureRef -Topic 946 -SubTopic 320 -Name Accounting Standards Codification -Section S99 -Paragraph 5 -Subparagraph (SX 210.12-13(Column G)) -Publisher FASB -URI https://asc.fasb.org/1943274/2147477271/946-320-S99-5 Reference 24: http://www.xbrl.org/2003/role/disclosureRef -Topic 946 -SubTopic 320 -Name Accounting Standards Codification -Section S99 -Paragraph 5A -Subparagraph (SX 210.12-13A(Column E)) -Publisher FASB -URI https://asc.fasb.org/1943274/2147477271/946-320-S99-5A Reference 25: http://www.xbrl.org/2003/role/disclosureRef -Topic 946 -SubTopic 320 -Name Accounting Standards Codification -Section S99 -Paragraph 5B -Subparagraph (SX 210.12-13B(Column E)) -Publisher FASB -URI https://asc.fasb.org/1943274/2147477271/946-320-S99-5B Reference 26: http://www.xbrl.org/2003/role/disclosureRef -Topic 946 -SubTopic 320 -Name Accounting Standards Codification -Section S99 -Paragraph 5B -Subparagraph (SX 210.12-13B(Column E)(Footnote 4)) -Publisher FASB -URI https://asc.fasb.org/1943274/2147477271/946-320-S99-5B Reference 27: http://www.xbrl.org/2003/role/disclosureRef -Topic 210 -SubTopic 20 -Name Accounting Standards Codification -Section 50 -Paragraph 3 -Subparagraph (c) -Publisher FASB -URI https://asc.fasb.org/1943274/2147483466/210-20-50-3 Reference 28: http://www.xbrl.org/2003/role/exampleRef -Topic 210 -SubTopic 20 -Name Accounting Standards Codification -Section 55 -Paragraph 22 -Publisher FASB -URI https://asc.fasb.org/1943274/2147483444/210-20-55-22 Reference 29: http://www.xbrl.org/2003/role/disclosureRef -Topic 210 -SubTopic 20 -Name Accounting Standards Codification -Section 55 -Paragraph 10 -Publisher FASB -URI https://asc.fasb.org/1943274/2147483444/210-20-55-10 Reference 30: http://www.xbrl.org/2003/role/disclosureRef -Topic 825 -SubTopic 10 -Name Accounting Standards Codification -Section 50 -Paragraph 10 -Publisher FASB -URI https://asc.fasb.org/1943274/2147482907/825-10-50-10 + Details
Name: | us-gaap_DerivativeLiabilities
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | instant

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

X
- Definition Fair value portion of investments accounted under the equity method. + References Reference 1: http://www.xbrl.org/2009/role/commonPracticeRef -Topic 820 -SubTopic 10 -Name Accounting Standards Codification -Section 50 -Paragraph 2E -Publisher FASB -URI https://asc.fasb.org/1943274/2147482106/820-10-50-2E Reference 2: http://www.xbrl.org/2009/role/commonPracticeRef -Topic 820 -SubTopic 10 -Name Accounting Standards Codification -Section 50 -Paragraph 2 -Subparagraph (b) -Publisher FASB -URI https://asc.fasb.org/1943274/2147482106/820-10-50-2 Reference 3: http://www.xbrl.org/2009/role/commonPracticeRef -Topic 820 -SubTopic 10 -Name Accounting Standards Codification -Section 50 -Paragraph 2 -Subparagraph (a) -Publisher FASB -URI https://asc.fasb.org/1943274/2147482106/820-10-50-2 Reference 4: http://www.xbrl.org/2009/role/commonPracticeRef -Topic 210 -SubTopic 10 -Name Accounting Standards Codification -Section S99 -Paragraph 1 -Subparagraph (SX 210.5-02(12)) -Publisher FASB -URI https://asc.fasb.org/1943274/2147480566/210-10-S99-1 + Details
Name: | us-gaap_EquityMethodInvestmentsFairValueDisclosure
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | instant

X
- Definition Fair value of financial and nonfinancial obligations. + References Reference 1: http://www.xbrl.org/2009/role/commonPracticeRef -Topic 820 -SubTopic 10 -Name Accounting Standards Codification -Section 50 -Paragraph 2 -Subparagraph (a) -Publisher FASB -URI https://asc.fasb.org/1943274/2147482106/820-10-50-2 Reference 2: http://www.xbrl.org/2003/role/disclosureRef -Topic 820 -SubTopic 10 -Name Accounting Standards Codification -Section 50 -Paragraph 2 -Subparagraph (b) -Publisher FASB -URI https://asc.fasb.org/1943274/2147482106/820-10-50-2 + Details
Name: | us-gaap_LiabilitiesFairValueDisclosure
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | instant

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

X
- Definition Fair value portion of contractual obligation to pay money on demand or on fixed or determinable dates. + References Reference 1: http://www.xbrl.org/2009/role/commonPracticeRef -Topic 820 -SubTopic 10 -Name Accounting Standards Codification -Section 50 -Paragraph 2E -Publisher FASB -URI https://asc.fasb.org/1943274/2147482106/820-10-50-2E Reference 2: http://www.xbrl.org/2009/role/commonPracticeRef -Topic 820 -SubTopic 10 -Name Accounting Standards Codification -Section 50 -Paragraph 2 -Subparagraph (b) -Publisher FASB -URI https://asc.fasb.org/1943274/2147482106/820-10-50-2 + Details
Name: | us-gaap_LoansPayableFairValueDisclosure
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | instant

X
- Definition Amount of receivable from positive price movement on derivative. + References Reference 1: http://www.xbrl.org/2003/role/disclosureRef -Topic 946 -SubTopic 210 -Name Accounting Standards Codification -Section S99 -Paragraph 1 -Subparagraph (SX 210.6-04(3)(a)) -Publisher FASB -URI https://asc.fasb.org/1943274/2147479170/946-210-S99-1 Reference 2: http://www.xbrl.org/2003/role/disclosureRef -Topic 946 -SubTopic 310 -Name Accounting Standards Codification -Section 45 -Paragraph 1 -Subparagraph (d) -Publisher FASB -URI https://asc.fasb.org/1943274/2147477802/946-310-45-1 + Details
Name: | us-gaap_VariationMarginReceivableDerivative
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | instant

X
- Details
Name: | us-gaap_DerivativeInstrumentRiskAxis=us-gaap_InterestRateCapMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_DerivativeInstrumentRiskAxis=us-gaap_InterestRateSwapMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_DerivativeInstrumentRiskAxis=us-gaap_FutureMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_DerivativeInstrumentRiskAxis=us-gaap_CreditDefaultSwapMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_FairValueByMeasurementFrequencyAxis=us-gaap_FairValueMeasurementsRecurringMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_LongtermDebtTypeAxis=us-gaap_UnsecuredDebtMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_DerivativeInstrumentRiskAxis=nymt_InterestRateOptionMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_DerivativeInstrumentRiskAxis=nymt_InterestRateSwapsCreditDefaultSwapsU.S.TreasuryFuturesMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | srt_CounterpartyNameAxis=nymt_CentralClearingHouseMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

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

X
- Details
Name: | srt_ConsolidatedEntitiesAxis=us-gaap_VariableInterestEntityPrimaryBeneficiaryMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

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

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

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

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

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

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

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

X
- Details
Name: | us-gaap_FairValueByFairValueHierarchyLevelAxis=us-gaap_FairValueInputsLevel1Member
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_FairValueByFairValueHierarchyLevelAxis=us-gaap_FairValueInputsLevel2Member
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_DerivativeInstrumentRiskAxis=us-gaap_DerivativeFinancialInstrumentsAssetsMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_FairValueByFairValueHierarchyLevelAxis=us-gaap_FairValueInputsLevel3Member
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |