XML 49 R42.htm IDEA: XBRL DOCUMENT
v3.25.1

Investment Securities - Realized Gains and Losses From Sale of Securities (Details) - USD ($) $ in Thousands | 3 Months Ended
--- | ---
Mar. 31, 2025 | Mar. 31, 2024
Realized Investment Gains (Losses) [Abstract] |  |
Gross gains | $ 0 | $ 0
Gross losses | $ (181) | $ 0

X
- Definition Debt and equity securities available for sale realized gain. + References No definition available. + Details
Name: | fmbh_DebtAndEquitySecuritiesAvailableForSaleRealizedGain
Namespace Prefix: | fmbh_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | duration

X
- Definition Debt and equity securities available for sale realized loss. + References No definition available. + Details
Name: | fmbh_DebtAndEquitySecuritiesAvailableForSaleRealizedLoss
Namespace Prefix: | fmbh_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | duration

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