XML 74 R62.htm IDEA: XBRL DOCUMENT
v3.22.4

Investment Securities - Schedule of Proceeds From Sales of Available for Sale Investment Securities, Realized Gains and Losses and Income Tax Expense (Details) - USD ($) $ in Thousands | 12 Months Ended
--- | ---
Dec. 31, 2022 | Dec. 31, 2021 | Dec. 31, 2020
Realized Investment Gains (Losses) [Abstract] |  |  |
Proceeds from sales | $ 36,257 | $ 611 | $ 9,061
Gross gains | 202 | 124 | 1,132
Gross losses | (169) | 0 | (26)
Income tax expense | $ (10) | $ 36 | $ 321

X
- Definition This item represents the net income tax expense (benefit) on the gain or loss resulting from the sale of debt or equity securities categorized neither as held-to-maturity nor trading securities. + References No definition available. + Details
Name: | fmbh_AvailableForSaleSecuritiesIncomeTaxExpense
Namespace Prefix: | fmbh_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | duration

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
- Definition Amount of cash inflow from sale 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://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 320 -SubTopic 10 -Section 45 -Paragraph 11 -URI https://asc.fasb.org/extlink&oid=124260329&loc=d3e26853-111562 Reference 2: http://www.xbrl.org/2003/role/disclosureRef -Publisher FASB -Name Accounting Standards Codification -Topic 230 -SubTopic 10 -Section 45 -Paragraph 11 -URI https://asc.fasb.org/extlink&oid=126954810&loc=d3e3151-108585 Reference 3: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 230 -SubTopic 10 -Section 45 -Paragraph 12 -Subparagraph (a) -URI https://asc.fasb.org/extlink&oid=126954810&loc=d3e3179-108585 + Details
Name: | us-gaap_ProceedsFromSaleOfAvailableForSaleSecuritiesDebt
Namespace Prefix: | us-gaap_
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