XML 127 R113.htm IDEA: XBRL DOCUMENT
v3.23.1

Earnings (Loss) Per Common Share - Narrative (Details) | Jan. 15, 2022 USD ($)
--- | ---
6.25% senior convertible notes due 2022 | Convertible notes |
Earnings Per Share, Diluted, by Common Class, Including Two Class Method [Line Items] |
Extinguishment of debt, amount | $ 138,000,000

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

X
- Definition Gross amount of debt extinguished. + References No definition available. + Details
Name: | us-gaap_ExtinguishmentOfDebtAmount
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | duration

X
- Details
Name: | us-gaap_DebtInstrumentAxis=nymt_SeniorConvertibleNotesdue2022Member
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

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