XML 70 R60.htm IDEA: XBRL DOCUMENT
v3.22.2

Fair Value of Financial Instruments - Additional Information (Detail) $ in Thousands | 3 Months Ended | 6 Months Ended | 12 Months Ended |
--- | --- | --- | --- | ---
Mar. 31, 2022 Security | Jun. 30, 2022 USD ($) | Dec. 31, 2021 USD ($) | Jun. 30, 2021 USD ($)
Fair Value Assets And Liabilities Measured On Recurring And Nonrecurring Basis [Line Items] |  |  |  |
Security transfer from Level 3 to Level 2 | Security | 1 |  |  |
Collateral dependent impaired loans categorized as Level 3 |  | $ 10,669 | $ 11,939 | $ 12,039
Specific allocation for collateral dependent impaired loans |  | 2,419 | 2,184 | $ 1,156
Impairment |  | 189 | 414 |
Collateral Dependent [Member] |  |  |  |
Fair Value Assets And Liabilities Measured On Recurring And Nonrecurring Basis [Line Items] |  |  |  |
Specific allocation for collateral dependent impaired loans |  | 2,400 | 2,200 |
Level 3 [Member] | Collateral Dependent [Member] |  |  |  |
Fair Value Assets And Liabilities Measured On Recurring And Nonrecurring Basis [Line Items] |  |  |  |
Collateral dependent impaired loans categorized as Level 3 |  | $ 2,600 | $ 8,500 |

X
- Definition Number of security transfer. + References No definition available. + Details
Name: | fmao_NumberOfSecurityTransfer
Namespace Prefix: | fmao_
Data Type: | xbrli:integerItemType
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_FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisLineItems
Namespace Prefix: | us-gaap_
Data Type: | xbrli:stringItemType
Balance Type: | na
Period Type: | duration

X
- Definition Amount of investment of impaired financing receivables with related allowance for credit losses and without a related allowance for credit losses. + References Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 310 -SubTopic 10 -Section 50 -Paragraph 14A -Subparagraph (b) -URI https://asc.fasb.org/extlink&oid=123577603&loc=SL6953550-111524 + Details
Name: | us-gaap_ImpairedFinancingReceivableRecordedInvestment
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | instant

X
- Definition Amount of allowance for credit losses related to recorded investment. + References Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 310 -SubTopic 10 -Section 50 -Paragraph 15 -Subparagraph (a)(3) -URI https://asc.fasb.org/extlink&oid=123577603&loc=d3e5212-111524 + Details
Name: | us-gaap_ImpairedFinancingReceivableRelatedAllowance
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | instant

X
- Definition Amount of increase (decrease) in the amortized amount from a decrease (increase) in the valuation allowance applied to the servicing asset for a contract to service financial assets under which the benefits of servicing are expected to more than adequately compensate the servicer. + References Reference 1: http://www.xbrl.org/2003/role/disclosureRef -Publisher FASB -Name Accounting Standards Codification -Topic 860 -SubTopic 50 -Section 50 -Paragraph 4 -Subparagraph (a)(5) -URI https://asc.fasb.org/extlink&oid=128311188&loc=d3e122739-111746 + Details
Name: | us-gaap_ServicingAssetAtAmortizedValueValuationAllowance
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | duration

X
- Details
Name: | us-gaap_CollateralAxis=us-gaap_CollateralPledgedMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_FairValueByFairValueHierarchyLevelAxis=us-gaap_FairValueInputsLevel3Member
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |