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

Distributions - Reclassifications (Details) - USD ($) $ in Thousands | 12 Months Ended
--- | ---
Dec. 31, 2022 | Dec. 31, 2021 | Dec. 31, 2020
Undistributed net investment income |  |  |
Investment Company, Changes in Net Assets [Line Items] |  |  |
Increase (decrease) due to reclassifications of permanent differences | $ 33,152 | $ 10,476 | $ 18,182
Distributions in excess of net realized gains |  |  |
Investment Company, Changes in Net Assets [Line Items] |  |  |
Increase (decrease) due to reclassifications of permanent differences | (25,449) | 0 | 0
Additional paid-in-capital |  |  |
Investment Company, Changes in Net Assets [Line Items] |  |  |
Increase (decrease) due to reclassifications of permanent differences | $ (7,703) | $ (10,476) | $ (18,182)

X
- Definition Investment Company, Tax Reclassification, Increase (Decrease) + References No definition available. + Details
Name: | nmfc_InvestmentCompanyTaxReclassificationIncreaseDecrease
Namespace Prefix: | nmfc_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | duration

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

X
- Details
Name: | us-gaap_StatementEquityComponentsAxis=nmfc_RetainedEarningsAccumulatedNetInvestmentIncomeLossMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_StatementEquityComponentsAxis=nmfc_RetainedEarningsAccumulatedNetRealizedGainLossMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_StatementEquityComponentsAxis=us-gaap_AdditionalPaidInCapitalMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |