XML 121 R111.htm IDEA: XBRL DOCUMENT
v3.25.0.1

Retirement Plans - Additional Information (Details) - USD ($) | 12 Months Ended
--- | ---
Dec. 31, 2024 | Dec. 31, 2023 | Dec. 31, 2022
Defined Benefit Plan Disclosure [Line Items] |  |  |
Defined contribution plan, employer matching contribution, percent | 100% of the first 3% and 50% of the next 2% |  |
Defined contribution plan, cost | $ 4,800,000 | $ 4,000,000 | $ 3,900,000
Supplemental Employee Retirement Plans, Defined Benefit |  |  |
Defined Benefit Plan Disclosure [Line Items] |  |  |
Year of benefit | 20 years |  |
Annual benefit amount | $ 50,000 |  |
Defined benefit plan, other cost (credit) | 22,000 | 24,000 | $ 24,000
Liability, defined benefit plan | $ 366,000 | $ 368,000 |

X
- Definition Amount of Annual Benefit to be paid + References No definition available. + Details
Name: | fmbh_AnnualBenefitAmount
Namespace Prefix: | fmbh_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | instant

X
- Definition Description of percentage of employees' contribution percent for which the employer contributes a matching contribution to a defined contribution plan. + References No definition available. + Details
Name: | fmbh_DefinedContributionPlanEmployerMatchingContributionDescription
Namespace Prefix: | fmbh_
Data Type: | xbrli:stringItemType
Balance Type: | na
Period Type: | duration

X
- Definition Number of years benefit will be paid after retirement. + References No definition available. + Details
Name: | fmbh_YearofBenefit
Namespace Prefix: | fmbh_
Data Type: | xbrli:durationItemType
Balance Type: | na
Period Type: | duration

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

X
- Definition Amount of defined benefit plan cost (credit), classified as other. + References No definition available. + Details
Name: | us-gaap_DefinedBenefitPlanOtherCosts
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | duration

X
- Definition Amount of cost for defined contribution plan. + References Reference 1: http://www.xbrl.org/2003/role/disclosureRef -Topic 715 -SubTopic 70 -Name Accounting Standards Codification -Section 50 -Paragraph 1 -Publisher FASB -URI https://asc.fasb.org/1943274/2147480794/715-70-50-1 + Details
Name: | us-gaap_DefinedContributionPlanCostRecognized
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | duration

X
- Definition Amount of liability, recognized in statement of financial position, for defined benefit pension and other postretirement plans. + References Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef -Topic 942 -SubTopic 210 -Name Accounting Standards Codification -Section S99 -Paragraph 1 -Subparagraph (SX 210.9-03(15)) -Publisher FASB -URI https://asc.fasb.org/1943274/2147478546/942-210-S99-1 Reference 2: http://www.xbrl.org/2009/role/commonPracticeRef -Topic 944 -SubTopic 210 -Name Accounting Standards Codification -Section S99 -Paragraph 1 -Subparagraph (SX 210.7-03(a)(15)(a)) -Publisher FASB -URI https://asc.fasb.org/1943274/2147478777/944-210-S99-1 Reference 3: http://www.xbrl.org/2003/role/disclosureRef -Topic 715 -SubTopic 20 -Name Accounting Standards Codification -Section 45 -Paragraph 3 -Publisher FASB -URI https://asc.fasb.org/1943274/2147480535/715-20-45-3 Reference 4: http://www.xbrl.org/2003/role/disclosureRef -Topic 715 -SubTopic 20 -Name Accounting Standards Codification -Section 50 -Paragraph 1 -Subparagraph (c) -Publisher FASB -URI https://asc.fasb.org/1943274/2147480506/715-20-50-1 + Details
Name: | us-gaap_PensionAndOtherPostretirementDefinedBenefitPlansLiabilitiesCurrentAndNoncurrent
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | instant

X
- Details
Name: | us-gaap_RetirementPlanTypeAxis=us-gaap_SupplementalEmployeeRetirementPlanDefinedBenefitMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |