XML 39 R28.htm IDEA: XBRL DOCUMENT
v3.22.2.2

Business Combination and Asset Purchase - Additional Information (Detail) |  |  |  |  | 3 Months Ended | 9 Months Ended | 12 Months Ended |
--- | --- | --- | --- | --- | --- | --- | --- | ---
Oct. 01, 2021 USD ($) Office $ / shares shares | Apr. 30, 2021 USD ($) Office $ / shares shares | Nov. 16, 2020 USD ($) shares | Jan. 01, 2019 USD ($) Office $ / shares shares | Sep. 30, 2022 USD ($) Loan shares | Jun. 30, 2022 USD ($) Loan | Mar. 31, 2022 USD ($) Loan | Dec. 31, 2021 USD ($) Loan shares | Sep. 30, 2022 USD ($) shares | Sep. 30, 2021 USD ($) | Dec. 31, 2021 USD ($) shares | Nov. 30, 2020 USD ($) Client
Business Acquisition [Line Items] |  |  |  |  |  |  |  |  |  |  |  |
Common stock, shares outstanding | shares |  |  |  |  | 14,063,999 |  |  | 14,063,999 | 14,063,999 |  | 14,063,999 |
Goodwill |  |  |  |  | $ 80,434,000 |  |  | $ 80,434,000 | $ 80,434,000 |  | $ 80,434,000 |
Pro-forma operating revenue, net of tax |  |  |  |  | 2,900,000 |  |  |  | 7,500,000 |  |  |
Amortization expense |  |  |  |  |  |  |  |  | 597,000 | $ 478,000 |  |
Core Deposits [Member] |  |  |  |  |  |  |  |  |  |  |  |
Business Acquisition [Line Items] |  |  |  |  |  |  |  |  |  |  |  |
Amortization expense |  |  |  |  |  |  |  |  | 597,000 | 478,000 |  |
Amortization expense for 2022 |  |  |  |  | 795,000 |  |  |  | 795,000 |  |  |
Customer Lists [Member] |  |  |  |  |  |  |  |  |  |  |  |
Business Acquisition [Line Items] |  |  |  |  |  |  |  |  |  |  |  |
Amortization expense |  |  |  |  |  |  |  |  | 92,000 | $ 92,000 |  |
Amortization expense for 2022 |  |  |  |  | 123,000 |  |  |  | 123,000 |  |  |
Perpetual Federal Savings Bank [Member] |  |  |  |  |  |  |  |  |  |  |  |
Business Acquisition [Line Items] |  |  |  |  |  |  |  |  |  |  |  |
Number of full-service offices | Office | 1 |  |  |  |  |  |  |  |  |  |  |
Common stock issued in exchange of each outstanding share | 1.7766 |  |  |  |  |  |  |  |  |  |  |
Cash payment for exchange of each share | $ / shares | $ 41.20 |  |  |  |  |  |  |  |  |  |  |
Business acquisition share owned subject to adjustment | shares | 1,833,999 |  |  |  |  |  |  |  |  |  |  |
Common stock, shares outstanding | shares | 2,470,032 |  |  |  |  |  |  |  |  |  |  |
Share price | $ / shares | $ 22.40 |  |  |  |  |  |  |  |  |  |  |
Total consideration for acquisition | $ 100,312,000 |  |  |  |  |  |  |  |  |  |  |
Cash paid for the capital stock | 59,234,000 |  |  |  |  |  |  |  |  |  |  |
Stock issued for acquisition | 41,078,000 |  |  |  |  |  |  |  |  |  |  |
Goodwill | 25,220,000 |  |  |  |  |  |  |  |  |  |  |
Fair value of assets acquired |  |  |  |  | 334,700,000 |  |  |  | 334,700,000 |  |  |
Gross principal and contractual interest |  |  |  |  | 403,300,000 |  |  |  | 403,300,000 |  |  |
Acquisition expected to be uncollectible |  |  |  |  | 5,600,000 |  |  |  | $ 5,600,000 |  |  |
Loan receivable weighted average life |  |  |  |  |  |  |  |  | 52 months |  |  |
Business combination, premises and equipment written down value |  |  |  |  |  |  |  |  | $ 4,000 |  |  |
Business combination, average remaining life |  |  |  |  |  |  |  |  | 16 years 2 months 12 days |  |  |
Fair value for certificate of deposit, valuation amount |  |  |  |  | 3,900,000 |  |  |  | $ 3,900,000 |  |  |
Fair value for certificate of deposit, amortization period |  |  |  |  |  |  |  |  | 1 year 7 months 6 days |  |  |
Fair value of Federal Home Loan Bank (FHLB) advances, valuation amount |  |  |  |  | 218,000 |  |  |  | $ 218,000 |  |  |
Fair value of Federal Home Loan Bank (FHLB) advances, amortization period |  |  |  |  |  |  |  |  | 2 years 7 months 6 days |  |  |
Fair value adjustment of loans acquired and accounted | 237,000 |  |  |  | $ 141,000 |  |  | $ 190,000 | $ 141,000 |  | 190,000 |
Number of commercial purchased credit impaired loans paid off | Loan |  |  |  |  |  |  |  | 2 |  |  |  |
Number of consumer purchased credit impaired loans paid off | Loan |  |  |  |  | 1 | 2 | 1 | 1 |  |  |  |
Discount recognized at acquisition related to commercial purchased credit-impaired loans |  |  |  |  | $ 1,000 | $ 36,000 | $ 12,000 |  |  |  | 47,000 |
Perpetual Federal Savings Bank [Member] | Building [Member] |  |  |  |  |  |  |  |  |  |  |  |
Business Acquisition [Line Items] |  |  |  |  |  |  |  |  |  |  |  |
Business combination, premises and equipment written down value |  |  |  |  |  |  |  |  | 297,000 |  |  |
Perpetual Federal Savings Bank [Member] | Core Deposits [Member] |  |  |  |  |  |  |  |  |  |  |  |
Business Acquisition [Line Items] |  |  |  |  |  |  |  |  |  |  |  |
Recognition of core deposit intangible asset with acquired purchase | $ 668,000 |  |  |  |  |  |  |  |  |  |  |
Remaining economic useful life | 7 years |  |  |  |  |  |  |  |  |  |  |
Amortization expense for 2022 |  |  |  |  | 95,000 |  |  |  | 95,000 |  |  |
Ossian State Bank [Member] |  |  |  |  |  |  |  |  |  |  |  |
Business Acquisition [Line Items] |  |  |  |  |  |  |  |  |  |  |  |
Number of full-service offices | Office |  | 2 |  |  |  |  |  |  |  |  |  |
Ossian State Bank [Member] | Core Deposits [Member] |  |  |  |  |  |  |  |  |  |  |  |
Business Acquisition [Line Items] |  |  |  |  |  |  |  |  |  |  |  |
Recognition of core deposit tangible asset with acquired purchase |  |  |  |  |  |  |  |  | 980,200 |  |  |
Ossian Financial Services, Inc. [Member] |  |  |  |  |  |  |  |  |  |  |  |
Business Acquisition [Line Items] |  |  |  |  |  |  |  |  |  |  |  |
Cash payment for exchange of each share | $ / shares |  | $ 67.71 |  |  |  |  |  |  |  |  |  |
Common stock, shares outstanding | shares |  | 295,388 |  |  |  |  |  |  |  |  |  |
Total consideration for acquisition |  | $ 20,001,000 |  |  |  |  |  |  |  |  |  |
Cash paid for the capital stock |  | 20,001,000 |  |  |  |  |  |  |  |  |  |
Goodwill |  | 7,874,000 |  |  |  |  |  |  |  |  |  |
Fair value of assets acquired |  |  |  |  | 52,400,000 |  |  |  | 52,400,000 |  |  |
Gross principal and contractual interest |  |  |  |  | 63,700,000 |  |  |  | 63,700,000 |  |  |
Acquisition expected to be uncollectible |  |  |  |  | 1,100,000 |  |  |  | $ 1,100,000 |  |  |
Loan receivable weighted average life |  |  |  |  |  |  |  |  | 52 months |  |  |
Business combination, premises and equipment written down value |  |  |  |  |  |  |  |  | $ 596,000 |  |  |
Business combination, average remaining life |  |  |  |  |  |  |  |  | 39 years |  |  |
Fair value for certificate of deposit, valuation amount |  |  |  |  | 59,000 |  |  |  | $ 59,000 |  |  |
Fair value for certificate of deposit, amortization period |  |  |  |  |  |  |  |  | 1 year 4 months 24 days |  |  |
Fair value adjustment of loans acquired and accounted |  | $ 325,000 |  |  | $ 10,000 |  |  | $ 321,000 | $ 10,000 |  | $ 321,000 |
Number of consumer purchased credit impaired loans paid off | Loan |  |  |  |  | 6 |  |  |  |  |  |  |
Discount recognized at acquisition related to commercial purchased credit-impaired loans |  |  |  |  | $ 311,000 |  |  |  |  |  |  |
Goodwill deductible for tax purpose, period |  | 15 years |  |  |  |  |  |  |  |  |  |
Ossian Financial Services, Inc. [Member] | Building [Member] |  |  |  |  |  |  |  |  |  |  |  |
Business Acquisition [Line Items] |  |  |  |  |  |  |  |  |  |  |  |
Business combination, premises and equipment written down value |  |  |  |  |  |  |  |  | 244,000 |  |  |
Ossian Financial Services, Inc. [Member] | Core Deposits [Member] |  |  |  |  |  |  |  |  |  |  |  |
Business Acquisition [Line Items] |  |  |  |  |  |  |  |  |  |  |  |
Recognition of core deposit intangible asset with acquired purchase |  | $ 980,200 |  |  |  |  |  |  |  |  |  |
Remaining economic useful life |  | 7 years |  |  |  |  |  |  |  |  |  |
Amortization expense for 2022 |  |  |  |  | 140,000 |  |  |  | 140,000 |  |  |
Bank of Geneva [Member] |  |  |  |  |  |  |  |  |  |  |  |
Business Acquisition [Line Items] |  |  |  |  |  |  |  |  |  |  |  |
Number of full-service offices | Office |  |  |  | 6 |  |  |  |  |  |  |  |
Bank of Geneva [Member] | Core Deposits [Member] |  |  |  |  |  |  |  |  |  |  |  |
Business Acquisition [Line Items] |  |  |  |  |  |  |  |  |  |  |  |
Recognition of core deposit intangible asset with acquired purchase |  |  |  |  |  |  |  |  | $ 3,900,000 |  |  |
Remaining economic useful life |  |  |  |  |  |  |  |  | 7 years |  |  |
Limberlost Bancshares, Inc. [Member] |  |  |  |  |  |  |  |  |  |  |  |
Business Acquisition [Line Items] |  |  |  |  |  |  |  |  |  |  |  |
Cash payment for exchange of each share | $ / shares |  |  |  | $ 8,465.00 |  |  |  |  |  |  |  |
Common stock, shares outstanding | shares |  |  |  | 1,000 |  |  |  |  |  |  |  |
Share price | $ / shares |  |  |  | $ 38.49 |  |  |  |  |  |  |  |
Total consideration for acquisition |  |  |  | $ 78,900,000 |  |  |  |  |  |  |  |
Cash paid for the capital stock |  |  |  | 8,500,000 |  |  |  |  |  |  |  |
Stock issued for acquisition |  |  |  | 70,400,000 |  |  |  |  |  |  |  |
Goodwill |  |  |  | $ 43,300,000 |  |  |  |  |  |  |  |
Common stock issued in exchange of each outstanding share | shares |  |  |  | 1,830,000 |  |  |  |  |  |  |  |
Limberlost Bancshares, Inc. [Member] | Core Deposits [Member] |  |  |  |  |  |  |  |  |  |  |  |
Business Acquisition [Line Items] |  |  |  |  |  |  |  |  |  |  |  |
Recognition of core deposit intangible asset with acquired purchase |  |  |  | $ 3,900,000 |  |  |  |  |  |  |  |
Remaining economic useful life |  |  |  | 7 years |  |  |  |  |  |  |  |
Perpetual Federal Savings Bank [Member] | Core Deposits [Member] |  |  |  |  |  |  |  |  |  |  |  |
Business Acquisition [Line Items] |  |  |  |  |  |  |  |  |  |  |  |
Recognition of core deposit tangible asset with acquired purchase |  |  |  |  |  |  |  |  | $ 668,000 |  |  |
Adams County Financial Resources [Member] |  |  |  |  |  |  |  |  |  |  |  |
Business Acquisition [Line Items] |  |  |  |  |  |  |  |  |  |  |  |
Total consideration for acquisition |  |  | $ 825,000 |  |  |  |  |  |  |  |  |
Common stock issued in exchange of each outstanding share | shares |  |  | 40,049 |  |  |  |  |  |  |  |  |
Assets under management amount |  |  |  |  |  |  |  |  |  |  |  | $ 83,000,000
Number of clients assets under management | Client |  |  |  |  |  |  |  |  |  |  |  | 450
Adams County Financial Resources [Member] | Customer Lists [Member] |  |  |  |  |  |  |  |  |  |  |  |
Business Acquisition [Line Items] |  |  |  |  |  |  |  |  |  |  |  |
Recognition of core deposit intangible asset with acquired purchase |  |  | $ 800,000 |  |  |  |  |  |  |  |  |
Remaining economic useful life |  |  | 6 years 6 months |  |  |  |  |  |  |  |  |
Amortization expense for 2022 |  |  |  |  | $ 123,000 |  |  |  | $ 123,000 |  |  |

X
- Definition Business acquisition, equity interest issued or issuable for per share of acquired entity + References No definition available. + Details
Name: | fmao_BusinessAcquisitionEquityInterestIssuedOrIssuablePerShareOfAcquiredEntity
Namespace Prefix: | fmao_
Data Type: | xbrli:decimalItemType
Balance Type: | na
Period Type: | duration

X
- Definition Business acquisition share owned subject to adjustment. + References No definition available. + Details
Name: | fmao_BusinessAcquisitionShareOwnedSubjectToAdjustment
Namespace Prefix: | fmao_
Data Type: | xbrli:sharesItemType
Balance Type: | na
Period Type: | duration

X
- Definition Business combination average remaining useful life. + References No definition available. + Details
Name: | fmao_BusinessCombinationAverageRemainingUsefulLife
Namespace Prefix: | fmao_
Data Type: | xbrli:durationItemType
Balance Type: | na
Period Type: | duration

X
- Definition Business combination identifiable assets in premises and equipment written down value. + References No definition available. + Details
Name: | fmao_BusinessCombinationIdentifiableAssetsInPremisesAndEquipmentWrittenDownValue
Namespace Prefix: | fmao_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | duration

X
- Definition Cash consideration payable on acquisition, per share. + References No definition available. + Details
Name: | fmao_CashConsiderationPayableOnAcquisitionPerShare
Namespace Prefix: | fmao_
Data Type: | dtr-types:perShareItemType
Balance Type: | na
Period Type: | instant

X
- Definition Certain loans acquired in transfer accounted for as debt securities fair value adjustment. + References No definition available. + Details
Name: | fmao_CertainLoansAcquiredInTransferAccountedForAsDebtSecuritiesFairValueAdjustment
Namespace Prefix: | fmao_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | instant

X
- Definition Discount recognized at acquisition related to commercial purchased credit-impaired loans. + References No definition available. + Details
Name: | fmao_DiscountRecognizedAtAcquisitionRelatedToCommercialPurchasedCreditImpairedLoans
Namespace Prefix: | fmao_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | duration

X
- Definition Fair value for certificate of deposit amortization period. + References No definition available. + Details
Name: | fmao_FairValueForCertificateOfDepositAmortizationPeriod
Namespace Prefix: | fmao_
Data Type: | xbrli:durationItemType
Balance Type: | na
Period Type: | duration

X
- Definition Fair value for certificate of deposit valuation amount. + References No definition available. + Details
Name: | fmao_FairValueForCertificateOfDepositValuationAmount
Namespace Prefix: | fmao_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | instant

X
- Definition Fair value of Federal Home Loan Bank advances, amortization period. + References No definition available. + Details
Name: | fmao_FairValueOfFederalHomeLoanBankAdvancesAmortizationPeriod
Namespace Prefix: | fmao_
Data Type: | xbrli:durationItemType
Balance Type: | na
Period Type: | duration

X
- Definition Fair value of Federal Home Loan Bank advances, valuation amount. + References No definition available. + Details
Name: | fmao_FairValueOfFederalHomeLoanBankAdvancesValuationAmount
Namespace Prefix: | fmao_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | instant

X
- Definition Finite lived tangible assets acquired. + References No definition available. + Details
Name: | fmao_FiniteLivedTangibleAssetsAcquired
Namespace Prefix: | fmao_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | duration

X
- Definition Goodwill deductible for tax purpose, period. + References No definition available. + Details
Name: | fmao_GoodwillDeductibleForTaxPurposePeriod
Namespace Prefix: | fmao_
Data Type: | xbrli:durationItemType
Balance Type: | na
Period Type: | duration

X
- Definition Loan receivable weighted average useful life. + References No definition available. + Details
Name: | fmao_LoanReceivableWeightedAverageUsefulLife
Namespace Prefix: | fmao_
Data Type: | xbrli:durationItemType
Balance Type: | na
Period Type: | duration

X
- Definition Number of clients assets under management. + References No definition available. + Details
Name: | fmao_NumberOfClientsAssetsUnderManagement
Namespace Prefix: | fmao_
Data Type: | xbrli:integerItemType
Balance Type: | na
Period Type: | instant

X
- Definition Number of commercial purchased credit impaired loans paid off. + References No definition available. + Details
Name: | fmao_NumberOfCommercialPurchasedCreditImpairedLoansPaidOff
Namespace Prefix: | fmao_
Data Type: | xbrli:integerItemType
Balance Type: | na
Period Type: | duration

X
- Definition Number of consumer purchased credit impaired loans paid off. + References No definition available. + Details
Name: | fmao_NumberOfConsumerPurchasedCreditImpairedLoansPaidOff
Namespace Prefix: | fmao_
Data Type: | xbrli:integerItemType
Balance Type: | na
Period Type: | duration

X
- Definition Number of full service offices. + References No definition available. + Details
Name: | fmao_NumberOfFullServiceOffices
Namespace Prefix: | fmao_
Data Type: | xbrli:integerItemType
Balance Type: | na
Period Type: | instant

X
- Definition The aggregate expense charged against earnings to allocate the cost of intangible assets (nonphysical assets not used in production) in a systematic and rational manner to the periods expected to benefit from such assets. As a noncash expense, this element is added back to net income when calculating cash provided by or used in operations using the indirect method. + References Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 230 -SubTopic 10 -Section 45 -Paragraph 28 -Subparagraph (b) -URI https://asc.fasb.org/extlink&oid=126954810&loc=d3e3602-108585 Reference 2: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 350 -SubTopic 30 -Section 50 -Paragraph 2 -Subparagraph (a)(2) -URI https://asc.fasb.org/extlink&oid=66006027&loc=d3e16323-109275 Reference 3: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 350 -SubTopic 30 -Section 45 -Paragraph 2 -URI https://asc.fasb.org/extlink&oid=6388964&loc=d3e16225-109274 + Details
Name: | us-gaap_AmortizationOfIntangibleAssets
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | duration

X
- Definition The carrying amount of assets an investment adviser manages on behalf of investors. + References No definition available. + Details
Name: | us-gaap_AssetsUnderManagementCarryingAmount
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | instant

X
- Definition Number of shares of equity interests issued or issuable to acquire entity. + References Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 805 -SubTopic 30 -Section 50 -Paragraph 1 -Subparagraph (b)(4) -URI https://asc.fasb.org/extlink&oid=126975305&loc=d3e6927-128479 + Details
Name: | us-gaap_BusinessAcquisitionEquityInterestsIssuedOrIssuableNumberOfSharesIssued
Namespace Prefix: | us-gaap_
Data Type: | xbrli:sharesItemType
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_BusinessAcquisitionLineItems
Namespace Prefix: | us-gaap_
Data Type: | xbrli:stringItemType
Balance Type: | na
Period Type: | duration

X
- Definition Price of a single share of a number of saleable stocks paid or offered to be paid in a business combination. + References No definition available. + Details
Name: | us-gaap_BusinessAcquisitionSharePrice
Namespace Prefix: | us-gaap_
Data Type: | dtr-types:perShareItemType
Balance Type: | na
Period Type: | instant

X
- Definition Amount after tax of pro forma income from continuing operations as if the business combination had been completed at the beginning of a period. + References Reference 1: http://www.xbrl.org/2003/role/disclosureRef -Publisher FASB -Name Accounting Standards Codification -Topic 805 -SubTopic 10 -Section 50 -Paragraph 2 -Subparagraph (h)(2) -URI https://asc.fasb.org/extlink&oid=79982066&loc=d3e1392-128463 Reference 2: http://www.xbrl.org/2003/role/disclosureRef -Publisher FASB -Name Accounting Standards Codification -Topic 805 -SubTopic 10 -Section 50 -Paragraph 2 -Subparagraph (h)(3) -URI https://asc.fasb.org/extlink&oid=79982066&loc=d3e1392-128463 + Details
Name: | us-gaap_BusinessAcquisitionsProFormaIncomeLossFromContinuingOperationsBeforeChangesInAccountingAndExtraordinaryItemsNetOfTax
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | duration

X
- Definition For receivables acquired in a business combination, excluding certain loans and debt securities acquired in a transfer (as defined), this element represents the best estimate at the acquisition date of the contractual cash flows not expected to be collected, by major class of receivable, such as loans, direct finance leases (as defined), and any other class of receivables. + References Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 805 -SubTopic 20 -Section 50 -Paragraph 1 -Subparagraph (b)(3) -URI https://asc.fasb.org/extlink&oid=128092470&loc=d3e4845-128472 + Details
Name: | us-gaap_BusinessCombinationAcquiredReceivablesEstimatedUncollectible
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | instant

X
- Definition Fair value of acquired receivable from business combination, excluding certain loans and debt securities acquired in transfer. + References Reference 1: http://www.xbrl.org/2003/role/disclosureRef -Publisher FASB -Name Accounting Standards Codification -Topic 805 -SubTopic 20 -Section 50 -Paragraph 1 -Subparagraph (b)(1) -URI https://asc.fasb.org/extlink&oid=128092470&loc=d3e4845-128472 + Details
Name: | us-gaap_BusinessCombinationAcquiredReceivablesFairValue
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | instant

X
- Definition For receivables acquired in a business combination, excluding certain loans and debt securities acquired in a transfer (as defined), this element represents the gross contractual amounts receivable, by major class of receivable, such as loans, direct finance leases (as defined), and any other class of receivables. + References Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 805 -SubTopic 20 -Section 50 -Paragraph 1 -Subparagraph (b)(2) -URI https://asc.fasb.org/extlink&oid=128092470&loc=d3e4845-128472 + Details
Name: | us-gaap_BusinessCombinationAcquiredReceivablesGrossContractualAmount
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | instant

X
- Definition Amount of consideration transferred, consisting of acquisition-date fair value of assets transferred by the acquirer, liabilities incurred by the acquirer, and equity interest issued by the acquirer. + References Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 805 -SubTopic 30 -Section 30 -Paragraph 8 -URI https://asc.fasb.org/extlink&oid=126966197&loc=d3e6613-128477 Reference 2: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 805 -SubTopic 30 -Section 50 -Paragraph 1 -Subparagraph (b) -URI https://asc.fasb.org/extlink&oid=126975305&loc=d3e6927-128479 Reference 3: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 805 -SubTopic 30 -Section 30 -Paragraph 7 -URI https://asc.fasb.org/extlink&oid=126966197&loc=d3e6578-128477 + Details
Name: | us-gaap_BusinessCombinationConsiderationTransferred1
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | duration

X
- Definition Amount of equity interests of the acquirer, including instruments or interests issued or issuable in consideration for the business combination. + References Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 805 -SubTopic 30 -Section 30 -Paragraph 8 -URI https://asc.fasb.org/extlink&oid=126966197&loc=d3e6613-128477 Reference 2: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 805 -SubTopic 30 -Section 30 -Paragraph 7 -URI https://asc.fasb.org/extlink&oid=126966197&loc=d3e6578-128477 + Details
Name: | us-gaap_BusinessCombinationConsiderationTransferredEquityInterestsIssuedAndIssuable
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | duration

X
- Definition Number of shares of common stock outstanding. Common stock represent the ownership interest in a corporation. + References Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 505 -SubTopic 10 -Section 50 -Paragraph 2 -URI https://asc.fasb.org/extlink&oid=126973232&loc=d3e21463-112644 Reference 2: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 210 -SubTopic 10 -Section S99 -Paragraph 1 -Subparagraph (SX 210.5-02(29)) -URI https://asc.fasb.org/extlink&oid=120391452&loc=d3e13212-122682 + Details
Name: | us-gaap_CommonStockSharesOutstanding
Namespace Prefix: | us-gaap_
Data Type: | xbrli:sharesItemType
Balance Type: | na
Period Type: | instant

X
- Definition Amount of amortization for assets, excluding financial assets and goodwill, lacking physical substance with finite life expected to be recognized in remainder of current fiscal year. + References No definition available. + Details
Name: | us-gaap_FiniteLivedIntangibleAssetsAmortizationExpenseRemainderOfFiscalYear
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | instant

X
- Definition Remaining amortization period of finite-lived intangible assets, in 'PnYnMnDTnHnMnS' format, for example, 'P1Y5M13D' represents the reported fact of one year, five months, and thirteen days. + References Reference 1: http://www.xbrl.org/2003/role/disclosureRef -Publisher FASB -Name Accounting Standards Codification -Topic 926 -SubTopic 20 -Section 50 -Paragraph 5 -URI https://asc.fasb.org/extlink&oid=120154696&loc=d3e54445-107959 + Details
Name: | us-gaap_FiniteLivedIntangibleAssetsRemainingAmortizationPeriod1
Namespace Prefix: | us-gaap_
Data Type: | xbrli:durationItemType
Balance Type: | na
Period Type: | duration

X
- Definition Amount of increase in assets, excluding financial assets, lacking physical substance with a definite life, from an acquisition. + References Reference 1: http://www.xbrl.org/2003/role/disclosureRef -Publisher FASB -Name Accounting Standards Codification -Topic 350 -SubTopic 30 -Section 50 -Paragraph 1 -Subparagraph (a)(1) -URI https://asc.fasb.org/extlink&oid=66006027&loc=d3e16265-109275 + Details
Name: | us-gaap_FinitelivedIntangibleAssetsAcquired1
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | duration

X
- Definition Amount after accumulated impairment loss of an asset representing future economic benefits arising from other assets acquired in a business combination that are not individually identified and separately recognized. + References Reference 1: http://www.xbrl.org/2009/role/commonPracticeRef -Publisher FASB -Name Accounting Standards Codification -Topic 350 -SubTopic 20 -Section 50 -Paragraph 1 -Subparagraph (a) -URI https://asc.fasb.org/extlink&oid=121556970&loc=d3e13816-109267 Reference 2: http://www.xbrl.org/2003/role/disclosureRef -Publisher FASB -Name Accounting Standards Codification -Topic 942 -SubTopic 210 -Section S99 -Paragraph 1 -Subparagraph (SX 210.9-03(10)(1)) -URI https://asc.fasb.org/extlink&oid=126897435&loc=d3e534808-122878 Reference 3: http://www.xbrl.org/2009/role/commonPracticeRef -Publisher FASB -Name Accounting Standards Codification -Topic 350 -SubTopic 20 -Section 50 -Paragraph 1 -Subparagraph (h) -URI https://asc.fasb.org/extlink&oid=121556970&loc=d3e13816-109267 Reference 4: http://www.xbrl.org/2003/role/exampleRef -Publisher FASB -Name Accounting Standards Codification -Topic 350 -SubTopic 20 -Section 55 -Paragraph 24 -URI https://asc.fasb.org/extlink&oid=122137925&loc=d3e14258-109268 Reference 5: http://www.xbrl.org/2003/role/exampleRef -Publisher FASB -Name Accounting Standards Codification -Topic 852 -SubTopic 10 -Section 55 -Paragraph 10 -URI https://asc.fasb.org/extlink&oid=84165509&loc=d3e56426-112766 Reference 6: http://www.xbrl.org/2003/role/disclosureRef -Publisher FASB -Name Accounting Standards Codification -Topic 350 -SubTopic 20 -Section 45 -Paragraph 1 -URI https://asc.fasb.org/extlink&oid=99380562&loc=d3e13770-109266 Reference 7: http://www.xbrl.org/2003/role/disclosureRef -Publisher FASB -Name Accounting Standards Codification -Topic 210 -SubTopic 10 -Section S99 -Paragraph 1 -Subparagraph (SX 210.5-02(15)) -URI https://asc.fasb.org/extlink&oid=120391452&loc=d3e13212-122682 + Details
Name: | us-gaap_Goodwill
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | instant

X
- Definition The cash outflow associated with the acquisition of business during the period. The cash portion only of the acquisition price. + References Reference 1: http://www.xbrl.org/2003/role/disclosureRef -Publisher FASB -Name Accounting Standards Codification -Topic 805 -SubTopic 30 -Section 50 -Paragraph 1 -Subparagraph (b)(1) -URI https://asc.fasb.org/extlink&oid=126975305&loc=d3e6927-128479 Reference 2: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 230 -SubTopic 10 -Section 45 -Paragraph 13 -Subparagraph (b) -URI https://asc.fasb.org/extlink&oid=126954810&loc=d3e3213-108585 + Details
Name: | us-gaap_PaymentsToAcquireBusinessesGross
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | duration

X
- Details
Name: | us-gaap_FiniteLivedIntangibleAssetsByMajorClassAxis=us-gaap_CoreDepositsMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_FiniteLivedIntangibleAssetsByMajorClassAxis=us-gaap_CustomerListsMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_BusinessAcquisitionAxis=fmao_PerpetualFederalSavingBankMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_PropertyPlantAndEquipmentByTypeAxis=us-gaap_BuildingMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_BusinessAcquisitionAxis=fmao_OssianStateBankMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_BusinessAcquisitionAxis=fmao_OssianFinancialServiceIncorporatedMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_BusinessAcquisitionAxis=fmao_BankOfGenevaMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_BusinessAcquisitionAxis=fmao_LimberlostBancsharesIncMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_BusinessAcquisitionAxis=fmao_PerpetualFederalSavingsBankMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_BusinessAcquisitionAxis=fmao_AdamsCountyFinancialResourcesMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |