<?xml version='1.0' encoding='utf-8'?>
<FilingSummary>
  <Version>3.23.1</Version>
  <ProcessingTime/>
  <ReportFormat>html</ReportFormat>
  <ContextCount>542</ContextCount>
  <ElementCount>604</ElementCount>
  <EntityCount>1</EntityCount>
  <FootnotesReported>true</FootnotesReported>
  <SegmentCount>147</SegmentCount>
  <ScenarioCount>0</ScenarioCount>
  <TuplesReported>false</TuplesReported>
  <UnitCount>11</UnitCount>
  <MyReports>
    <Report instance="func-20221231x10k.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R1.htm</HtmlFileName>
      <LongName>00090 - Document - Document and Entity Information</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.mybankfirstunited.com/role/DocumentDocumentAndEntityInformation</Role>
      <ShortName>Document and Entity Information</ShortName>
      <MenuCategory>Cover</MenuCategory>
      <Position>1</Position>
    </Report>
    <Report instance="func-20221231x10k.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R2.htm</HtmlFileName>
      <LongName>00100 - Statement - Consolidated Statements of Financial Condition</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.mybankfirstunited.com/role/StatementConsolidatedStatementsOfFinancialCondition</Role>
      <ShortName>Consolidated Statements of Financial Condition</ShortName>
      <MenuCategory>Statements</MenuCategory>
      <Position>2</Position>
    </Report>
    <Report instance="func-20221231x10k.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R3.htm</HtmlFileName>
      <LongName>00105 - Statement - Consolidated Statements of Financial Condition (Parenthetical)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.mybankfirstunited.com/role/StatementConsolidatedStatementsOfFinancialConditionParenthetical</Role>
      <ShortName>Consolidated Statements of Financial Condition (Parenthetical)</ShortName>
      <MenuCategory>Statements</MenuCategory>
      <Position>3</Position>
    </Report>
    <Report instance="func-20221231x10k.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R4.htm</HtmlFileName>
      <LongName>00200 - Statement - Consolidated Statements of Income</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.mybankfirstunited.com/role/StatementConsolidatedStatementsOfIncome</Role>
      <ShortName>Consolidated Statements of Income</ShortName>
      <MenuCategory>Statements</MenuCategory>
      <Position>4</Position>
    </Report>
    <Report instance="func-20221231x10k.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R5.htm</HtmlFileName>
      <LongName>00300 - Statement - Consolidated Statements of Comprehensive Income</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.mybankfirstunited.com/role/StatementConsolidatedStatementsOfComprehensiveIncome</Role>
      <ShortName>Consolidated Statements of Comprehensive Income</ShortName>
      <MenuCategory>Statements</MenuCategory>
      <Position>5</Position>
    </Report>
    <Report instance="func-20221231x10k.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R6.htm</HtmlFileName>
      <LongName>00400 - Statement - Consolidated Statements of Changes in Shareholders' Equity</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.mybankfirstunited.com/role/StatementConsolidatedStatementsOfChangesInShareholdersEquity</Role>
      <ShortName>Consolidated Statements of Changes in Shareholders' Equity</ShortName>
      <MenuCategory>Statements</MenuCategory>
      <Position>6</Position>
    </Report>
    <Report instance="func-20221231x10k.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R7.htm</HtmlFileName>
      <LongName>00405 - Statement - Consolidated Statements of Changes in Shareholders' Equity (Parenthetical)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.mybankfirstunited.com/role/StatementConsolidatedStatementsOfChangesInShareholdersEquityParenthetical</Role>
      <ShortName>Consolidated Statements of Changes in Shareholders' Equity (Parenthetical)</ShortName>
      <MenuCategory>Statements</MenuCategory>
      <Position>7</Position>
    </Report>
    <Report instance="func-20221231x10k.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R8.htm</HtmlFileName>
      <LongName>00500 - Statement - Consolidated Statements of Cash Flows</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.mybankfirstunited.com/role/StatementConsolidatedStatementsOfCashFlows</Role>
      <ShortName>Consolidated Statements of Cash Flows</ShortName>
      <MenuCategory>Statements</MenuCategory>
      <Position>8</Position>
    </Report>
    <Report instance="func-20221231x10k.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R9.htm</HtmlFileName>
      <LongName>10101 - Disclosure - Summary of Significant Accounting Policies</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.mybankfirstunited.com/role/DisclosureSummaryOfSignificantAccountingPolicies</Role>
      <ShortName>Summary of Significant Accounting Policies</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>9</Position>
    </Report>
    <Report instance="func-20221231x10k.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R10.htm</HtmlFileName>
      <LongName>10201 - Disclosure - Earnings Per Common Share</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.mybankfirstunited.com/role/DisclosureEarningsPerCommonShare</Role>
      <ShortName>Earnings Per Common Share</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>10</Position>
    </Report>
    <Report instance="func-20221231x10k.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R11.htm</HtmlFileName>
      <LongName>10301 - Disclosure - Net Gains</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.mybankfirstunited.com/role/DisclosureNetGains</Role>
      <ShortName>Net Gains</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>11</Position>
    </Report>
    <Report instance="func-20221231x10k.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R12.htm</HtmlFileName>
      <LongName>10401 - Disclosure - Regulatory Capital Requirements</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.mybankfirstunited.com/role/DisclosureRegulatoryCapitalRequirements</Role>
      <ShortName>Regulatory Capital Requirements</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>12</Position>
    </Report>
    <Report instance="func-20221231x10k.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R13.htm</HtmlFileName>
      <LongName>10501 - Disclosure - Investments Securities</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.mybankfirstunited.com/role/DisclosureInvestmentsSecurities</Role>
      <ShortName>Investments Securities</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>13</Position>
    </Report>
    <Report instance="func-20221231x10k.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R14.htm</HtmlFileName>
      <LongName>10601 - Disclosure - Loans and Related Allowance for Loan Losses</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.mybankfirstunited.com/role/DisclosureLoansAndRelatedAllowanceForLoanLosses</Role>
      <ShortName>Loans and Related Allowance for Loan Losses</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>14</Position>
    </Report>
    <Report instance="func-20221231x10k.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R15.htm</HtmlFileName>
      <LongName>10701 - Disclosure - Other Real Estate Owned</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.mybankfirstunited.com/role/DisclosureOtherRealEstateOwned</Role>
      <ShortName>Other Real Estate Owned</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>15</Position>
    </Report>
    <Report instance="func-20221231x10k.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R16.htm</HtmlFileName>
      <LongName>10801 - Disclosure - Premises and Equipment</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.mybankfirstunited.com/role/DisclosurePremisesAndEquipment</Role>
      <ShortName>Premises and Equipment</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>16</Position>
    </Report>
    <Report instance="func-20221231x10k.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R17.htm</HtmlFileName>
      <LongName>10901 - Disclosure - Leases</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.mybankfirstunited.com/role/DisclosureLeases</Role>
      <ShortName>Leases</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>17</Position>
    </Report>
    <Report instance="func-20221231x10k.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R18.htm</HtmlFileName>
      <LongName>11001 - Disclosure - Deposits</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.mybankfirstunited.com/role/DisclosureDeposits</Role>
      <ShortName>Deposits</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>18</Position>
    </Report>
    <Report instance="func-20221231x10k.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R19.htm</HtmlFileName>
      <LongName>11101 - Disclosure - Borrowed Funds</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.mybankfirstunited.com/role/DisclosureBorrowedFunds</Role>
      <ShortName>Borrowed Funds</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>19</Position>
    </Report>
    <Report instance="func-20221231x10k.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R20.htm</HtmlFileName>
      <LongName>11201 - Disclosure - Goodwill and Other Intangible Assets</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.mybankfirstunited.com/role/DisclosureGoodwillAndOtherIntangibleAssets</Role>
      <ShortName>Goodwill and Other Intangible Assets</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>20</Position>
    </Report>
    <Report instance="func-20221231x10k.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R21.htm</HtmlFileName>
      <LongName>11301 - Disclosure - Accumulated Other Comprehensive Loss ("AOCL")</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.mybankfirstunited.com/role/DisclosureAccumulatedOtherComprehensiveLossaocl</Role>
      <ShortName>Accumulated Other Comprehensive Loss ("AOCL")</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>21</Position>
    </Report>
    <Report instance="func-20221231x10k.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R22.htm</HtmlFileName>
      <LongName>11401 - Disclosure - Income Taxes</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.mybankfirstunited.com/role/DisclosureIncomeTaxes</Role>
      <ShortName>Income Taxes</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>22</Position>
    </Report>
    <Report instance="func-20221231x10k.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R23.htm</HtmlFileName>
      <LongName>11501 - Disclosure - Equity Compensation Plan</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.mybankfirstunited.com/role/DisclosureEquityCompensationPlan</Role>
      <ShortName>Equity Compensation Plan</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>23</Position>
    </Report>
    <Report instance="func-20221231x10k.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R24.htm</HtmlFileName>
      <LongName>11601 - Disclosure - Employee Benefit Plans</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.mybankfirstunited.com/role/DisclosureEmployeeBenefitPlans</Role>
      <ShortName>Employee Benefit Plans</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>24</Position>
    </Report>
    <Report instance="func-20221231x10k.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R25.htm</HtmlFileName>
      <LongName>11701 - Disclosure - 401(k) Profit Sharing Plan</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.mybankfirstunited.com/role/Disclosure401KProfitSharingPlan</Role>
      <ShortName>401(k) Profit Sharing Plan</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>25</Position>
    </Report>
    <Report instance="func-20221231x10k.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R26.htm</HtmlFileName>
      <LongName>11801 - Disclosure - Federal Reserve Requirements</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.mybankfirstunited.com/role/DisclosureFederalReserveRequirements</Role>
      <ShortName>Federal Reserve Requirements</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>26</Position>
    </Report>
    <Report instance="func-20221231x10k.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R27.htm</HtmlFileName>
      <LongName>11901 - Disclosure - Contractual Obligations, Commitments and Contingent Liabilities</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.mybankfirstunited.com/role/DisclosureContractualObligationsCommitmentsAndContingentLiabilities</Role>
      <ShortName>Contractual Obligations, Commitments and Contingent Liabilities</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>27</Position>
    </Report>
    <Report instance="func-20221231x10k.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R28.htm</HtmlFileName>
      <LongName>12001 - Disclosure - Fair Value of Financial Instruments</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.mybankfirstunited.com/role/DisclosureFairValueOfFinancialInstruments</Role>
      <ShortName>Fair Value of Financial Instruments</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>28</Position>
    </Report>
    <Report instance="func-20221231x10k.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R29.htm</HtmlFileName>
      <LongName>12101 - Disclosure - Derivative Financial Instruments</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.mybankfirstunited.com/role/DisclosureDerivativeFinancialInstruments</Role>
      <ShortName>Derivative Financial Instruments</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>29</Position>
    </Report>
    <Report instance="func-20221231x10k.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R30.htm</HtmlFileName>
      <LongName>12201 - Disclosure - Revenue Recognition</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.mybankfirstunited.com/role/DisclosureRevenueRecognition</Role>
      <ShortName>Revenue Recognition</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>30</Position>
    </Report>
    <Report instance="func-20221231x10k.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R31.htm</HtmlFileName>
      <LongName>12301 - Disclosure - Parent Company Only Financial Information</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.mybankfirstunited.com/role/DisclosureParentCompanyOnlyFinancialInformation</Role>
      <ShortName>Parent Company Only Financial Information</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>31</Position>
    </Report>
    <Report instance="func-20221231x10k.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R32.htm</HtmlFileName>
      <LongName>20102 - Disclosure - Summary of Significant Accounting Policies (Policies)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.mybankfirstunited.com/role/DisclosureSummaryOfSignificantAccountingPoliciesPolicies</Role>
      <ShortName>Summary of Significant Accounting Policies (Policies)</ShortName>
      <MenuCategory>Policies</MenuCategory>
      <ParentRole>http://www.mybankfirstunited.com/role/DisclosureSummaryOfSignificantAccountingPolicies</ParentRole>
      <Position>32</Position>
    </Report>
    <Report instance="func-20221231x10k.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R33.htm</HtmlFileName>
      <LongName>30203 - Disclosure - Earnings Per Common Share (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.mybankfirstunited.com/role/DisclosureEarningsPerCommonShareTables</Role>
      <ShortName>Earnings Per Common Share (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://www.mybankfirstunited.com/role/DisclosureEarningsPerCommonShare</ParentRole>
      <Position>33</Position>
    </Report>
    <Report instance="func-20221231x10k.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R34.htm</HtmlFileName>
      <LongName>30303 - Disclosure - Net Gains (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.mybankfirstunited.com/role/DisclosureNetGainsTables</Role>
      <ShortName>Net Gains (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://www.mybankfirstunited.com/role/DisclosureNetGains</ParentRole>
      <Position>34</Position>
    </Report>
    <Report instance="func-20221231x10k.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R35.htm</HtmlFileName>
      <LongName>30403 - Disclosure - Regulatory Capital Requirements (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.mybankfirstunited.com/role/DisclosureRegulatoryCapitalRequirementsTables</Role>
      <ShortName>Regulatory Capital Requirements (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://www.mybankfirstunited.com/role/DisclosureRegulatoryCapitalRequirements</ParentRole>
      <Position>35</Position>
    </Report>
    <Report instance="func-20221231x10k.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R36.htm</HtmlFileName>
      <LongName>30503 - Disclosure - Investments Securities (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.mybankfirstunited.com/role/DisclosureInvestmentsSecuritiesTables</Role>
      <ShortName>Investments Securities (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://www.mybankfirstunited.com/role/DisclosureInvestmentsSecurities</ParentRole>
      <Position>36</Position>
    </Report>
    <Report instance="func-20221231x10k.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R37.htm</HtmlFileName>
      <LongName>30603 - Disclosure - Loans And Related Allowances For Loan Losses (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.mybankfirstunited.com/role/DisclosureLoansAndRelatedAllowancesForLoanLossesTables</Role>
      <ShortName>Loans And Related Allowances For Loan Losses (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <Position>37</Position>
    </Report>
    <Report instance="func-20221231x10k.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R38.htm</HtmlFileName>
      <LongName>30703 - Disclosure - Other Real Estate Owned (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.mybankfirstunited.com/role/DisclosureOtherRealEstateOwnedTables</Role>
      <ShortName>Other Real Estate Owned (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://www.mybankfirstunited.com/role/DisclosureOtherRealEstateOwned</ParentRole>
      <Position>38</Position>
    </Report>
    <Report instance="func-20221231x10k.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R39.htm</HtmlFileName>
      <LongName>30803 - Disclosure - Premises and Equipment (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.mybankfirstunited.com/role/DisclosurePremisesAndEquipmentTables</Role>
      <ShortName>Premises and Equipment (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://www.mybankfirstunited.com/role/DisclosurePremisesAndEquipment</ParentRole>
      <Position>39</Position>
    </Report>
    <Report instance="func-20221231x10k.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R40.htm</HtmlFileName>
      <LongName>30903 - Disclosure - Leases (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.mybankfirstunited.com/role/DisclosureLeasesTables</Role>
      <ShortName>Leases (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://www.mybankfirstunited.com/role/DisclosureLeases</ParentRole>
      <Position>40</Position>
    </Report>
    <Report instance="func-20221231x10k.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R41.htm</HtmlFileName>
      <LongName>31003 - Disclosure - Deposits (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.mybankfirstunited.com/role/DisclosureDepositsTables</Role>
      <ShortName>Deposits (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://www.mybankfirstunited.com/role/DisclosureDeposits</ParentRole>
      <Position>41</Position>
    </Report>
    <Report instance="func-20221231x10k.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R42.htm</HtmlFileName>
      <LongName>31103 - Disclosure - Borrowed Funds (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.mybankfirstunited.com/role/DisclosureBorrowedFundsTables</Role>
      <ShortName>Borrowed Funds (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://www.mybankfirstunited.com/role/DisclosureBorrowedFunds</ParentRole>
      <Position>42</Position>
    </Report>
    <Report instance="func-20221231x10k.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R43.htm</HtmlFileName>
      <LongName>31203 - Disclosure - Goodwill and Other Intangible Assets (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.mybankfirstunited.com/role/DisclosureGoodwillAndOtherIntangibleAssetsTables</Role>
      <ShortName>Goodwill and Other Intangible Assets (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://www.mybankfirstunited.com/role/DisclosureGoodwillAndOtherIntangibleAssets</ParentRole>
      <Position>43</Position>
    </Report>
    <Report instance="func-20221231x10k.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R44.htm</HtmlFileName>
      <LongName>31303 - Disclosure - Accumulated Other Comprehensive Loss (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.mybankfirstunited.com/role/DisclosureAccumulatedOtherComprehensiveLossTables</Role>
      <ShortName>Accumulated Other Comprehensive Loss (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://www.mybankfirstunited.com/role/DisclosureAccumulatedOtherComprehensiveLossaocl</ParentRole>
      <Position>44</Position>
    </Report>
    <Report instance="func-20221231x10k.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R45.htm</HtmlFileName>
      <LongName>31403 - Disclosure - Income Taxes (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.mybankfirstunited.com/role/DisclosureIncomeTaxesTables</Role>
      <ShortName>Income Taxes (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://www.mybankfirstunited.com/role/DisclosureIncomeTaxes</ParentRole>
      <Position>45</Position>
    </Report>
    <Report instance="func-20221231x10k.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R46.htm</HtmlFileName>
      <LongName>31603 - Disclosure - Employee Benefit Plans (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.mybankfirstunited.com/role/DisclosureEmployeeBenefitPlansTables</Role>
      <ShortName>Employee Benefit Plans (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://www.mybankfirstunited.com/role/DisclosureEmployeeBenefitPlans</ParentRole>
      <Position>46</Position>
    </Report>
    <Report instance="func-20221231x10k.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R47.htm</HtmlFileName>
      <LongName>31903 - Disclosure - Contractual Obligations, Commitments and Contingent Liabilities (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.mybankfirstunited.com/role/DisclosureContractualObligationsCommitmentsAndContingentLiabilitiesTables</Role>
      <ShortName>Contractual Obligations, Commitments and Contingent Liabilities (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://www.mybankfirstunited.com/role/DisclosureContractualObligationsCommitmentsAndContingentLiabilities</ParentRole>
      <Position>47</Position>
    </Report>
    <Report instance="func-20221231x10k.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R48.htm</HtmlFileName>
      <LongName>32003 - Disclosure - Fair Value of Financial Instruments (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.mybankfirstunited.com/role/DisclosureFairValueOfFinancialInstrumentsTables</Role>
      <ShortName>Fair Value of Financial Instruments (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://www.mybankfirstunited.com/role/DisclosureFairValueOfFinancialInstruments</ParentRole>
      <Position>48</Position>
    </Report>
    <Report instance="func-20221231x10k.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R49.htm</HtmlFileName>
      <LongName>32103 - Disclosure - Derivative Financial Instruments (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.mybankfirstunited.com/role/DisclosureDerivativeFinancialInstrumentsTables</Role>
      <ShortName>Derivative Financial Instruments (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://www.mybankfirstunited.com/role/DisclosureDerivativeFinancialInstruments</ParentRole>
      <Position>49</Position>
    </Report>
    <Report instance="func-20221231x10k.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R50.htm</HtmlFileName>
      <LongName>32203 - Disclosure - Revenue Recognition (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.mybankfirstunited.com/role/DisclosureRevenueRecognitionTables</Role>
      <ShortName>Revenue Recognition (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://www.mybankfirstunited.com/role/DisclosureRevenueRecognition</ParentRole>
      <Position>50</Position>
    </Report>
    <Report instance="func-20221231x10k.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R51.htm</HtmlFileName>
      <LongName>32303 - Disclosure - Parent Company Only Financial Information (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.mybankfirstunited.com/role/DisclosureParentCompanyOnlyFinancialInformationTables</Role>
      <ShortName>Parent Company Only Financial Information (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://www.mybankfirstunited.com/role/DisclosureParentCompanyOnlyFinancialInformation</ParentRole>
      <Position>51</Position>
    </Report>
    <Report instance="func-20221231x10k.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R52.htm</HtmlFileName>
      <LongName>40101 - Disclosure - Summary of Significant Accounting Policies (Narrative) (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.mybankfirstunited.com/role/DisclosureSummaryOfSignificantAccountingPoliciesNarrativeDetails</Role>
      <ShortName>Summary of Significant Accounting Policies (Narrative) (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://www.mybankfirstunited.com/role/DisclosureSummaryOfSignificantAccountingPoliciesPolicies</ParentRole>
      <Position>52</Position>
    </Report>
    <Report instance="func-20221231x10k.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R53.htm</HtmlFileName>
      <LongName>40201 - Disclosure - Earnings Per Common Share (Narrative) (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.mybankfirstunited.com/role/DisclosureEarningsPerCommonShareNarrativeDetails</Role>
      <ShortName>Earnings Per Common Share (Narrative) (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://www.mybankfirstunited.com/role/DisclosureEarningsPerCommonShareTables</ParentRole>
      <Position>53</Position>
    </Report>
    <Report instance="func-20221231x10k.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R54.htm</HtmlFileName>
      <LongName>40202 - Disclosure - Earnings Per Common Share (Basic and Diluted Earnings Per Share) (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.mybankfirstunited.com/role/DisclosureEarningsPerCommonShareBasicAndDilutedEarningsPerShareDetails</Role>
      <ShortName>Earnings Per Common Share (Basic and Diluted Earnings Per Share) (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://www.mybankfirstunited.com/role/DisclosureEarningsPerCommonShareTables</ParentRole>
      <Position>54</Position>
    </Report>
    <Report instance="func-20221231x10k.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R55.htm</HtmlFileName>
      <LongName>40301 - Disclosure - Net Gains (Summary of Gain (Loss) Activity) (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.mybankfirstunited.com/role/DisclosureNetGainsSummaryOfGainLossActivityDetails</Role>
      <ShortName>Net Gains (Summary of Gain (Loss) Activity) (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://www.mybankfirstunited.com/role/DisclosureNetGainsTables</ParentRole>
      <Position>55</Position>
    </Report>
    <Report instance="func-20221231x10k.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R56.htm</HtmlFileName>
      <LongName>40401 - Disclosure - Regulatory Capital Requirements (Narrative) (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.mybankfirstunited.com/role/DisclosureRegulatoryCapitalRequirementsNarrativeDetails</Role>
      <ShortName>Regulatory Capital Requirements (Narrative) (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://www.mybankfirstunited.com/role/DisclosureRegulatoryCapitalRequirementsTables</ParentRole>
      <Position>56</Position>
    </Report>
    <Report instance="func-20221231x10k.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R57.htm</HtmlFileName>
      <LongName>40402 - Disclosure - Regulatory Capital Requirements (Schedule of Compliance with Regulatory Capital Requirements under Banking Regulations) (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.mybankfirstunited.com/role/DisclosureRegulatoryCapitalRequirementsScheduleOfComplianceWithRegulatoryCapitalRequirementsUnderBankingRegulationsDetails</Role>
      <ShortName>Regulatory Capital Requirements (Schedule of Compliance with Regulatory Capital Requirements under Banking Regulations) (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://www.mybankfirstunited.com/role/DisclosureRegulatoryCapitalRequirementsTables</ParentRole>
      <Position>57</Position>
    </Report>
    <Report instance="func-20221231x10k.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R58.htm</HtmlFileName>
      <LongName>40501 - Disclosure - Investment Securities (Narrative) (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.mybankfirstunited.com/role/DisclosureInvestmentSecuritiesNarrativeDetails</Role>
      <ShortName>Investment Securities (Narrative) (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>58</Position>
    </Report>
    <Report instance="func-20221231x10k.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R59.htm</HtmlFileName>
      <LongName>40502 - Disclosure - Investment Securities (Unrealized Gain (Loss) on Investments) (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.mybankfirstunited.com/role/DisclosureInvestmentSecuritiesUnrealizedGainLossOnInvestmentsDetails</Role>
      <ShortName>Investment Securities (Unrealized Gain (Loss) on Investments) (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>59</Position>
    </Report>
    <Report instance="func-20221231x10k.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R60.htm</HtmlFileName>
      <LongName>40503 - Disclosure - Investment Securities (Proceeds from Sales and Realized Gains and Losses) (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.mybankfirstunited.com/role/DisclosureInvestmentSecuritiesProceedsFromSalesAndRealizedGainsAndLossesDetails</Role>
      <ShortName>Investment Securities (Proceeds from Sales and Realized Gains and Losses) (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>60</Position>
    </Report>
    <Report instance="func-20221231x10k.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R61.htm</HtmlFileName>
      <LongName>40504 - Disclosure - Investment Securities (Gross Unrealized Losses and Fair Values of Securities) (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.mybankfirstunited.com/role/DisclosureInvestmentSecuritiesGrossUnrealizedLossesAndFairValuesOfSecuritiesDetails</Role>
      <ShortName>Investment Securities (Gross Unrealized Losses and Fair Values of Securities) (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>61</Position>
    </Report>
    <Report instance="func-20221231x10k.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R62.htm</HtmlFileName>
      <LongName>40505 - Disclosure - Investment Securities (Non-Cash OTTI Credit Losses Recognized in Earnings) (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.mybankfirstunited.com/role/DisclosureInvestmentSecuritiesNonCashOttiCreditLossesRecognizedInEarningsDetails</Role>
      <ShortName>Investment Securities (Non-Cash OTTI Credit Losses Recognized in Earnings) (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>62</Position>
    </Report>
    <Report instance="func-20221231x10k.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R63.htm</HtmlFileName>
      <LongName>40506 - Disclosure - Investment Securities (Amortized Cost and Fair Values Classified by Contractual Maturity Date) (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.mybankfirstunited.com/role/DisclosureInvestmentSecuritiesAmortizedCostAndFairValuesClassifiedByContractualMaturityDateDetails</Role>
      <ShortName>Investment Securities (Amortized Cost and Fair Values Classified by Contractual Maturity Date) (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>63</Position>
    </Report>
    <Report instance="func-20221231x10k.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R64.htm</HtmlFileName>
      <LongName>40601 - Disclosure - Loans And Related Allowances For Loan Losses (Narrative) (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.mybankfirstunited.com/role/DisclosureLoansAndRelatedAllowancesForLoanLossesNarrativeDetails</Role>
      <ShortName>Loans And Related Allowances For Loan Losses (Narrative) (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://www.mybankfirstunited.com/role/DisclosureLoansAndRelatedAllowancesForLoanLossesTables</ParentRole>
      <Position>64</Position>
    </Report>
    <Report instance="func-20221231x10k.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R65.htm</HtmlFileName>
      <LongName>40602 - Disclosure - Loans And Related Allowances For Loan Losses (Loan Portfolio Segments) (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.mybankfirstunited.com/role/DisclosureLoansAndRelatedAllowancesForLoanLossesLoanPortfolioSegmentsDetails</Role>
      <ShortName>Loans And Related Allowances For Loan Losses (Loan Portfolio Segments) (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://www.mybankfirstunited.com/role/DisclosureLoansAndRelatedAllowancesForLoanLossesTables</ParentRole>
      <Position>65</Position>
    </Report>
    <Report instance="func-20221231x10k.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R66.htm</HtmlFileName>
      <LongName>40603 - Disclosure - Loans And Related Allowances for Loan Losses (Changes in Dollar Amount of Loans Outstanding to Officers, Directors and their Associates) (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.mybankfirstunited.com/role/DisclosureLoansAndRelatedAllowancesForLoanLossesChangesInDollarAmountOfLoansOutstandingToOfficersDirectorsAndTheirAssociatesDetails</Role>
      <ShortName>Loans And Related Allowances for Loan Losses (Changes in Dollar Amount of Loans Outstanding to Officers, Directors and their Associates) (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>66</Position>
    </Report>
    <Report instance="func-20221231x10k.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R67.htm</HtmlFileName>
      <LongName>40604 - Disclosure - Loans And Related Allowances For Loan Losses (Classes of the Loan Portfolio Summarized by the Aggregate Risk Rating) (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.mybankfirstunited.com/role/DisclosureLoansAndRelatedAllowancesForLoanLossesClassesOfLoanPortfolioSummarizedByAggregateRiskRatingDetails</Role>
      <ShortName>Loans And Related Allowances For Loan Losses (Classes of the Loan Portfolio Summarized by the Aggregate Risk Rating) (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://www.mybankfirstunited.com/role/DisclosureLoansAndRelatedAllowancesForLoanLossesTables</ParentRole>
      <Position>67</Position>
    </Report>
    <Report instance="func-20221231x10k.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R68.htm</HtmlFileName>
      <LongName>40605 - Disclosure - Loans And Related Allowances For Loan Losses (Loan Portfolio Summarized by the Past Due Status) (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.mybankfirstunited.com/role/DisclosureLoansAndRelatedAllowancesForLoanLossesLoanPortfolioSummarizedByPastDueStatusDetails</Role>
      <ShortName>Loans And Related Allowances For Loan Losses (Loan Portfolio Summarized by the Past Due Status) (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://www.mybankfirstunited.com/role/DisclosureLoansAndRelatedAllowancesForLoanLossesTables</ParentRole>
      <Position>68</Position>
    </Report>
    <Report instance="func-20221231x10k.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R69.htm</HtmlFileName>
      <LongName>40606 - Disclosure - Loans And Related Allowances For Loan Losses (Primary Segments of the Allowance for Loan Loss) (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.mybankfirstunited.com/role/DisclosureLoansAndRelatedAllowancesForLoanLossesPrimarySegmentsOfAllowanceForLoanLossDetails</Role>
      <ShortName>Loans And Related Allowances For Loan Losses (Primary Segments of the Allowance for Loan Loss) (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://www.mybankfirstunited.com/role/DisclosureLoansAndRelatedAllowancesForLoanLossesTables</ParentRole>
      <Position>69</Position>
    </Report>
    <Report instance="func-20221231x10k.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R70.htm</HtmlFileName>
      <LongName>40607 - Disclosure - Loans And Related Allowances For Loan Losses (Impaired Loans and Related Interest Income by Loan Portfolio Class) (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.mybankfirstunited.com/role/DisclosureLoansAndRelatedAllowancesForLoanLossesImpairedLoansAndRelatedInterestIncomeByLoanPortfolioClassDetails</Role>
      <ShortName>Loans And Related Allowances For Loan Losses (Impaired Loans and Related Interest Income by Loan Portfolio Class) (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://www.mybankfirstunited.com/role/DisclosureLoansAndRelatedAllowancesForLoanLossesTables</ParentRole>
      <Position>70</Position>
    </Report>
    <Report instance="func-20221231x10k.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R71.htm</HtmlFileName>
      <LongName>40608 - Disclosure - Loans And Related Allowances For Loan Losses (Allowance for Loan Losses Summarized by Loan Portfolio Segments) (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.mybankfirstunited.com/role/DisclosureLoansAndRelatedAllowancesForLoanLossesAllowanceForLoanLossesSummarizedByLoanPortfolioSegmentsDetails</Role>
      <ShortName>Loans And Related Allowances For Loan Losses (Allowance for Loan Losses Summarized by Loan Portfolio Segments) (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://www.mybankfirstunited.com/role/DisclosureLoansAndRelatedAllowancesForLoanLossesTables</ParentRole>
      <Position>71</Position>
    </Report>
    <Report instance="func-20221231x10k.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R72.htm</HtmlFileName>
      <LongName>40609 - Disclosure - Loans And Related Allowances For Loan Losses (Average of Impaired Loans and Related Interest Income by Loan Portfolio Class) (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.mybankfirstunited.com/role/DisclosureLoansAndRelatedAllowancesForLoanLossesAverageOfImpairedLoansAndRelatedInterestIncomeByLoanPortfolioClassDetails</Role>
      <ShortName>Loans And Related Allowances For Loan Losses (Average of Impaired Loans and Related Interest Income by Loan Portfolio Class) (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://www.mybankfirstunited.com/role/DisclosureLoansAndRelatedAllowancesForLoanLossesTables</ParentRole>
      <Position>72</Position>
    </Report>
    <Report instance="func-20221231x10k.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R73.htm</HtmlFileName>
      <LongName>40610 - Disclosure - Loans And Related Allowances For Loan Losses (Modification of Troubled Debt Restructuring by Class) (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.mybankfirstunited.com/role/DisclosureLoansAndRelatedAllowancesForLoanLossesModificationOfTroubledDebtRestructuringByClassDetails</Role>
      <ShortName>Loans And Related Allowances For Loan Losses (Modification of Troubled Debt Restructuring by Class) (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://www.mybankfirstunited.com/role/DisclosureLoansAndRelatedAllowancesForLoanLossesTables</ParentRole>
      <Position>73</Position>
    </Report>
    <Report instance="func-20221231x10k.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R74.htm</HtmlFileName>
      <LongName>40702 - Disclosure - Other Real Estate Owned (Components of OREO, Net of Related Valuation Allowance) (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.mybankfirstunited.com/role/DisclosureOtherRealEstateOwnedComponentsOfOreoNetOfRelatedValuationAllowanceDetails</Role>
      <ShortName>Other Real Estate Owned (Components of OREO, Net of Related Valuation Allowance) (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://www.mybankfirstunited.com/role/DisclosureOtherRealEstateOwnedTables</ParentRole>
      <Position>74</Position>
    </Report>
    <Report instance="func-20221231x10k.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R75.htm</HtmlFileName>
      <LongName>40703 - Disclosure - Other Real Estate Owned (Schedule of Activity in OREO Valuation Allowance) (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.mybankfirstunited.com/role/DisclosureOtherRealEstateOwnedScheduleOfActivityInOreoValuationAllowanceDetails</Role>
      <ShortName>Other Real Estate Owned (Schedule of Activity in OREO Valuation Allowance) (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://www.mybankfirstunited.com/role/DisclosureOtherRealEstateOwnedTables</ParentRole>
      <Position>75</Position>
    </Report>
    <Report instance="func-20221231x10k.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R76.htm</HtmlFileName>
      <LongName>40704 - Disclosure - Other Real Estate Owned (Schedule of Components of OREO Expenses, Net) (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.mybankfirstunited.com/role/DisclosureOtherRealEstateOwnedScheduleOfComponentsOfOreoExpensesNetDetails</Role>
      <ShortName>Other Real Estate Owned (Schedule of Components of OREO Expenses, Net) (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://www.mybankfirstunited.com/role/DisclosureOtherRealEstateOwnedTables</ParentRole>
      <Position>76</Position>
    </Report>
    <Report instance="func-20221231x10k.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R77.htm</HtmlFileName>
      <LongName>40801 - Disclosure - Premises and Equipment (Narrative) (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.mybankfirstunited.com/role/DisclosurePremisesAndEquipmentNarrativeDetails</Role>
      <ShortName>Premises and Equipment (Narrative) (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://www.mybankfirstunited.com/role/DisclosurePremisesAndEquipmentTables</ParentRole>
      <Position>77</Position>
    </Report>
    <Report instance="func-20221231x10k.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R78.htm</HtmlFileName>
      <LongName>40802 - Disclosure - Premises and Equipment (Components of Premises and Equipment) (Detail)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.mybankfirstunited.com/role/DisclosurePremisesAndEquipmentComponentsOfPremisesAndEquipmentDetail</Role>
      <ShortName>Premises and Equipment (Components of Premises and Equipment) (Detail)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://www.mybankfirstunited.com/role/DisclosurePremisesAndEquipmentTables</ParentRole>
      <Position>78</Position>
    </Report>
    <Report instance="func-20221231x10k.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R79.htm</HtmlFileName>
      <LongName>40901 - Disclosure - Leases - (Narrative) (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.mybankfirstunited.com/role/DisclosureLeasesNarrativeDetails</Role>
      <ShortName>Leases - (Narrative) (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>79</Position>
    </Report>
    <Report instance="func-20221231x10k.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R80.htm</HtmlFileName>
      <LongName>40902 - Disclosure - Leases - (Classification of ROU Assets and Lease Liabilities) (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.mybankfirstunited.com/role/DisclosureLeasesClassificationOfRouAssetsAndLeaseLiabilitiesDetails</Role>
      <ShortName>Leases - (Classification of ROU Assets and Lease Liabilities) (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>80</Position>
    </Report>
    <Report instance="func-20221231x10k.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R81.htm</HtmlFileName>
      <LongName>40903 - Disclosure - Leases - (Weighted-Average Lease Term and Discount Rate for Operating Leases) (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.mybankfirstunited.com/role/DisclosureLeasesWeightedAverageLeaseTermAndDiscountRateForOperatingLeasesDetails</Role>
      <ShortName>Leases - (Weighted-Average Lease Term and Discount Rate for Operating Leases) (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>81</Position>
    </Report>
    <Report instance="func-20221231x10k.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R82.htm</HtmlFileName>
      <LongName>40904 - Disclosure - Leases - (Future Minimum Payments for Operating Leases) (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.mybankfirstunited.com/role/DisclosureLeasesFutureMinimumPaymentsForOperatingLeasesDetails</Role>
      <ShortName>Leases - (Future Minimum Payments for Operating Leases) (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>82</Position>
    </Report>
    <Report instance="func-20221231x10k.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R83.htm</HtmlFileName>
      <LongName>41001 - Disclosure - Deposits (Narrative) (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.mybankfirstunited.com/role/DisclosureDepositsNarrativeDetails</Role>
      <ShortName>Deposits (Narrative) (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://www.mybankfirstunited.com/role/DisclosureDepositsTables</ParentRole>
      <Position>83</Position>
    </Report>
    <Report instance="func-20221231x10k.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R84.htm</HtmlFileName>
      <LongName>41002 - Disclosure - Deposits (Summary of Scheduled Maturities of All Time Deposits) (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.mybankfirstunited.com/role/DisclosureDepositsSummaryOfScheduledMaturitiesOfAllTimeDepositsDetails</Role>
      <ShortName>Deposits (Summary of Scheduled Maturities of All Time Deposits) (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://www.mybankfirstunited.com/role/DisclosureDepositsTables</ParentRole>
      <Position>84</Position>
    </Report>
    <Report instance="func-20221231x10k.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R85.htm</HtmlFileName>
      <LongName>41101 - Disclosure - Borrowed Funds (Narrative) (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.mybankfirstunited.com/role/DisclosureBorrowedFundsNarrativeDetails</Role>
      <ShortName>Borrowed Funds (Narrative) (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://www.mybankfirstunited.com/role/DisclosureBorrowedFundsTables</ParentRole>
      <Position>85</Position>
    </Report>
    <Report instance="func-20221231x10k.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R86.htm</HtmlFileName>
      <LongName>41102 - Disclosure - Borrowed Funds (Summary of Short-term Borrowings) (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.mybankfirstunited.com/role/DisclosureBorrowedFundsSummaryOfShortTermBorrowingsDetails</Role>
      <ShortName>Borrowed Funds (Summary of Short-term Borrowings) (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://www.mybankfirstunited.com/role/DisclosureBorrowedFundsTables</ParentRole>
      <Position>86</Position>
    </Report>
    <Report instance="func-20221231x10k.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R87.htm</HtmlFileName>
      <LongName>41103 - Disclosure - Borrowed Funds (Summary of Long-term Borrowings) (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.mybankfirstunited.com/role/DisclosureBorrowedFundsSummaryOfLongTermBorrowingsDetails</Role>
      <ShortName>Borrowed Funds (Summary of Long-term Borrowings) (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://www.mybankfirstunited.com/role/DisclosureBorrowedFundsTables</ParentRole>
      <Position>87</Position>
    </Report>
    <Report instance="func-20221231x10k.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R88.htm</HtmlFileName>
      <LongName>41105 - Disclosure - Borrowed Funds (Schedule of Pledged Collateral on Line of Credit) (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.mybankfirstunited.com/role/DisclosureBorrowedFundsScheduleOfPledgedCollateralOnLineOfCreditDetails</Role>
      <ShortName>Borrowed Funds (Schedule of Pledged Collateral on Line of Credit) (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://www.mybankfirstunited.com/role/DisclosureBorrowedFundsTables</ParentRole>
      <Position>88</Position>
    </Report>
    <Report instance="func-20221231x10k.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R89.htm</HtmlFileName>
      <LongName>41201 - Disclosure - Goodwill and Other Intangible Assets - Gross Carrying Amount (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.mybankfirstunited.com/role/DisclosureGoodwillAndOtherIntangibleAssetsGrossCarryingAmountDetails</Role>
      <ShortName>Goodwill and Other Intangible Assets - Gross Carrying Amount (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>89</Position>
    </Report>
    <Report instance="func-20221231x10k.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R90.htm</HtmlFileName>
      <LongName>41202 - Disclosure - Goodwill and Other Intangible Assets - Estimated Amortization Expense (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.mybankfirstunited.com/role/DisclosureGoodwillAndOtherIntangibleAssetsEstimatedAmortizationExpenseDetails</Role>
      <ShortName>Goodwill and Other Intangible Assets - Estimated Amortization Expense (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>90</Position>
    </Report>
    <Report instance="func-20221231x10k.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R91.htm</HtmlFileName>
      <LongName>41301 - Disclosure - Accumulated Other Comprehensive Loss ("AOCL") (Schedule of Accumulated Other Comprehensive Loss) (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.mybankfirstunited.com/role/DisclosureAccumulatedOtherComprehensiveLossaoclScheduleOfAccumulatedOtherComprehensiveLossDetails</Role>
      <ShortName>Accumulated Other Comprehensive Loss ("AOCL") (Schedule of Accumulated Other Comprehensive Loss) (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://www.mybankfirstunited.com/role/DisclosureAccumulatedOtherComprehensiveLossTables</ParentRole>
      <Position>91</Position>
    </Report>
    <Report instance="func-20221231x10k.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R92.htm</HtmlFileName>
      <LongName>41302 - Disclosure - Accumulated Other Comprehensive Loss ("AOCL") (Components of Comprehensive Income) (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.mybankfirstunited.com/role/DisclosureAccumulatedOtherComprehensiveLossaoclComponentsOfComprehensiveIncomeDetails</Role>
      <ShortName>Accumulated Other Comprehensive Loss ("AOCL") (Components of Comprehensive Income) (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://www.mybankfirstunited.com/role/DisclosureAccumulatedOtherComprehensiveLossTables</ParentRole>
      <Position>92</Position>
    </Report>
    <Report instance="func-20221231x10k.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R93.htm</HtmlFileName>
      <LongName>41303 - Disclosure - Accumulated Other Comprehensive Loss ("AOCL") (Reclassification out of Accumulated Other Comprehensive Income) (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.mybankfirstunited.com/role/DisclosureAccumulatedOtherComprehensiveLossaoclReclassificationOutOfAccumulatedOtherComprehensiveIncomeDetails</Role>
      <ShortName>Accumulated Other Comprehensive Loss ("AOCL") (Reclassification out of Accumulated Other Comprehensive Income) (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://www.mybankfirstunited.com/role/DisclosureAccumulatedOtherComprehensiveLossTables</ParentRole>
      <Position>93</Position>
    </Report>
    <Report instance="func-20221231x10k.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R94.htm</HtmlFileName>
      <LongName>41401 - Disclosure - Income Taxes (Narrative) (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.mybankfirstunited.com/role/DisclosureIncomeTaxesNarrativeDetails</Role>
      <ShortName>Income Taxes (Narrative) (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://www.mybankfirstunited.com/role/DisclosureIncomeTaxesTables</ParentRole>
      <Position>94</Position>
    </Report>
    <Report instance="func-20221231x10k.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R95.htm</HtmlFileName>
      <LongName>41402 - Disclosure - Income Taxes (Schedule of Components of Income Tax Expense) (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.mybankfirstunited.com/role/DisclosureIncomeTaxesScheduleOfComponentsOfIncomeTaxExpenseDetails</Role>
      <ShortName>Income Taxes (Schedule of Components of Income Tax Expense) (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://www.mybankfirstunited.com/role/DisclosureIncomeTaxesTables</ParentRole>
      <Position>95</Position>
    </Report>
    <Report instance="func-20221231x10k.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R96.htm</HtmlFileName>
      <LongName>41403 - Disclosure - Income Taxes (Reconciliation of Federal Income Tax Rate to Effective Income Tax Rate) (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.mybankfirstunited.com/role/DisclosureIncomeTaxesReconciliationOfFederalIncomeTaxRateToEffectiveIncomeTaxRateDetails</Role>
      <ShortName>Income Taxes (Reconciliation of Federal Income Tax Rate to Effective Income Tax Rate) (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://www.mybankfirstunited.com/role/DisclosureIncomeTaxesTables</ParentRole>
      <Position>96</Position>
    </Report>
    <Report instance="func-20221231x10k.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R97.htm</HtmlFileName>
      <LongName>41404 - Disclosure - Income Taxes (Components of Deferred Tax Assets and Liabilities) (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.mybankfirstunited.com/role/DisclosureIncomeTaxesComponentsOfDeferredTaxAssetsAndLiabilitiesDetails</Role>
      <ShortName>Income Taxes (Components of Deferred Tax Assets and Liabilities) (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://www.mybankfirstunited.com/role/DisclosureIncomeTaxesTables</ParentRole>
      <Position>97</Position>
    </Report>
    <Report instance="func-20221231x10k.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R98.htm</HtmlFileName>
      <LongName>41501 - Disclosure - Equity Compensation Plan Information (Narrative) (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.mybankfirstunited.com/role/DisclosureEquityCompensationPlanInformationNarrativeDetails</Role>
      <ShortName>Equity Compensation Plan Information (Narrative) (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>98</Position>
    </Report>
    <Report instance="func-20221231x10k.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R99.htm</HtmlFileName>
      <LongName>41601 - Disclosure - Employee Benefit Plans (Narrative) (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.mybankfirstunited.com/role/DisclosureEmployeeBenefitPlansNarrativeDetails</Role>
      <ShortName>Employee Benefit Plans (Narrative) (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://www.mybankfirstunited.com/role/DisclosureEmployeeBenefitPlansTables</ParentRole>
      <Position>99</Position>
    </Report>
    <Report instance="func-20221231x10k.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R100.htm</HtmlFileName>
      <LongName>41602 - Disclosure - Employee Benefit Plans (Schedule of Net Funded Status) (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.mybankfirstunited.com/role/DisclosureEmployeeBenefitPlansScheduleOfNetFundedStatusDetails</Role>
      <ShortName>Employee Benefit Plans (Schedule of Net Funded Status) (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://www.mybankfirstunited.com/role/DisclosureEmployeeBenefitPlansTables</ParentRole>
      <Position>100</Position>
    </Report>
    <Report instance="func-20221231x10k.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R101.htm</HtmlFileName>
      <LongName>41603 - Disclosure - Employee Benefit Plans (Components of Net Periodic Pension Plan Cost) (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.mybankfirstunited.com/role/DisclosureEmployeeBenefitPlansComponentsOfNetPeriodicPensionPlanCostDetails</Role>
      <ShortName>Employee Benefit Plans (Components of Net Periodic Pension Plan Cost) (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://www.mybankfirstunited.com/role/DisclosureEmployeeBenefitPlansTables</ParentRole>
      <Position>101</Position>
    </Report>
    <Report instance="func-20221231x10k.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R102.htm</HtmlFileName>
      <LongName>41604 - Disclosure - Employee Benefit Plans (Schedule of Target Asset Allocations) (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.mybankfirstunited.com/role/DisclosureEmployeeBenefitPlansScheduleOfTargetAssetAllocationsDetails</Role>
      <ShortName>Employee Benefit Plans (Schedule of Target Asset Allocations) (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://www.mybankfirstunited.com/role/DisclosureEmployeeBenefitPlansTables</ParentRole>
      <Position>102</Position>
    </Report>
    <Report instance="func-20221231x10k.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R103.htm</HtmlFileName>
      <LongName>41605 - Disclosure - Employee Benefit Plans (Actual Plan Asset Allocations) (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.mybankfirstunited.com/role/DisclosureEmployeeBenefitPlansActualPlanAssetAllocationsDetails</Role>
      <ShortName>Employee Benefit Plans (Actual Plan Asset Allocations) (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://www.mybankfirstunited.com/role/DisclosureEmployeeBenefitPlansTables</ParentRole>
      <Position>103</Position>
    </Report>
    <Report instance="func-20221231x10k.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R104.htm</HtmlFileName>
      <LongName>41606 - Disclosure - Employee Benefit Plans (Expected Future Benefit Payments) (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.mybankfirstunited.com/role/DisclosureEmployeeBenefitPlansExpectedFutureBenefitPaymentsDetails</Role>
      <ShortName>Employee Benefit Plans (Expected Future Benefit Payments) (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://www.mybankfirstunited.com/role/DisclosureEmployeeBenefitPlansTables</ParentRole>
      <Position>104</Position>
    </Report>
    <Report instance="func-20221231x10k.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R105.htm</HtmlFileName>
      <LongName>41607 - Disclosure - Employee Benefit Plans (Schedule of Amounts that Will Be Amortized from Other Comprehensive Loss) (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.mybankfirstunited.com/role/DisclosureEmployeeBenefitPlansScheduleOfAmountsThatWillBeAmortizedFromOtherComprehensiveLossDetails</Role>
      <ShortName>Employee Benefit Plans (Schedule of Amounts that Will Be Amortized from Other Comprehensive Loss) (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://www.mybankfirstunited.com/role/DisclosureEmployeeBenefitPlansTables</ParentRole>
      <Position>105</Position>
    </Report>
    <Report instance="func-20221231x10k.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R106.htm</HtmlFileName>
      <LongName>41701 - Disclosure - 401(k) Profit Sharing Plan (Narrative) (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.mybankfirstunited.com/role/Disclosure401KProfitSharingPlanNarrativeDetails</Role>
      <ShortName>401(k) Profit Sharing Plan (Narrative) (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://www.mybankfirstunited.com/role/Disclosure401KProfitSharingPlan</ParentRole>
      <Position>106</Position>
    </Report>
    <Report instance="func-20221231x10k.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R107.htm</HtmlFileName>
      <LongName>41801 - Disclosure - Federal Reserve Requirements (Narrative) (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.mybankfirstunited.com/role/DisclosureFederalReserveRequirementsNarrativeDetails</Role>
      <ShortName>Federal Reserve Requirements (Narrative) (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://www.mybankfirstunited.com/role/DisclosureFederalReserveRequirements</ParentRole>
      <Position>107</Position>
    </Report>
    <Report instance="func-20221231x10k.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R108.htm</HtmlFileName>
      <LongName>41901 - Disclosure - Contractual Obligations, Commitments and Contingent Liabilities (Narrative) (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.mybankfirstunited.com/role/DisclosureContractualObligationsCommitmentsAndContingentLiabilitiesNarrativeDetails</Role>
      <ShortName>Contractual Obligations, Commitments and Contingent Liabilities (Narrative) (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://www.mybankfirstunited.com/role/DisclosureContractualObligationsCommitmentsAndContingentLiabilitiesTables</ParentRole>
      <Position>108</Position>
    </Report>
    <Report instance="func-20221231x10k.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R109.htm</HtmlFileName>
      <LongName>41903 - Disclosure - Contractual Obligations, Commitments and Contingent Liabilities (Schedule of Commitments) (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.mybankfirstunited.com/role/DisclosureContractualObligationsCommitmentsAndContingentLiabilitiesScheduleOfCommitmentsDetails</Role>
      <ShortName>Contractual Obligations, Commitments and Contingent Liabilities (Schedule of Commitments) (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://www.mybankfirstunited.com/role/DisclosureContractualObligationsCommitmentsAndContingentLiabilitiesTables</ParentRole>
      <Position>109</Position>
    </Report>
    <Report instance="func-20221231x10k.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R110.htm</HtmlFileName>
      <LongName>42001 - Disclosure - Fair Value of Financial Instruments (Narrative) (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.mybankfirstunited.com/role/DisclosureFairValueOfFinancialInstrumentsNarrativeDetails</Role>
      <ShortName>Fair Value of Financial Instruments (Narrative) (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://www.mybankfirstunited.com/role/DisclosureFairValueOfFinancialInstrumentsTables</ParentRole>
      <Position>110</Position>
    </Report>
    <Report instance="func-20221231x10k.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R111.htm</HtmlFileName>
      <LongName>42002 - Disclosure - Fair Value of Financial Instruments (Assets And Liabilities Measured At Fair Value On A Recurring And Nonrecurring Basis) (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.mybankfirstunited.com/role/DisclosureFairValueOfFinancialInstrumentsAssetsAndLiabilitiesMeasuredAtFairValueOnRecurringAndNonrecurringBasisDetails</Role>
      <ShortName>Fair Value of Financial Instruments (Assets And Liabilities Measured At Fair Value On A Recurring And Nonrecurring Basis) (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://www.mybankfirstunited.com/role/DisclosureFairValueOfFinancialInstrumentsTables</ParentRole>
      <Position>111</Position>
    </Report>
    <Report instance="func-20221231x10k.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R112.htm</HtmlFileName>
      <LongName>42003 - Disclosure - Fair Value of Financial Instruments (Fair Value Measurements, Recurring and Nonrecurring, Valuation Techniques) (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.mybankfirstunited.com/role/DisclosureFairValueOfFinancialInstrumentsFairValueMeasurementsRecurringAndNonrecurringValuationTechniquesDetails</Role>
      <ShortName>Fair Value of Financial Instruments (Fair Value Measurements, Recurring and Nonrecurring, Valuation Techniques) (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://www.mybankfirstunited.com/role/DisclosureFairValueOfFinancialInstrumentsTables</ParentRole>
      <Position>112</Position>
    </Report>
    <Report instance="func-20221231x10k.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R113.htm</HtmlFileName>
      <LongName>42004 - Disclosure - Fair Value of Financial Instruments (Reconciliation Of Fair Valued Assets Measured On A Recurring Basis) (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.mybankfirstunited.com/role/DisclosureFairValueOfFinancialInstrumentsReconciliationOfFairValuedAssetsMeasuredOnRecurringBasisDetails</Role>
      <ShortName>Fair Value of Financial Instruments (Reconciliation Of Fair Valued Assets Measured On A Recurring Basis) (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://www.mybankfirstunited.com/role/DisclosureFairValueOfFinancialInstrumentsTables</ParentRole>
      <Position>113</Position>
    </Report>
    <Report instance="func-20221231x10k.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R114.htm</HtmlFileName>
      <LongName>42005 - Disclosure - Fair Value of Financial Instruments (Fair Value By Balance Sheet Grouping) (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.mybankfirstunited.com/role/DisclosureFairValueOfFinancialInstrumentsFairValueByBalanceSheetGroupingDetails</Role>
      <ShortName>Fair Value of Financial Instruments (Fair Value By Balance Sheet Grouping) (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://www.mybankfirstunited.com/role/DisclosureFairValueOfFinancialInstrumentsTables</ParentRole>
      <Position>114</Position>
    </Report>
    <Report instance="func-20221231x10k.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R115.htm</HtmlFileName>
      <LongName>42101 - Disclosure - Derivative Financial Instruments (Narrative) (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.mybankfirstunited.com/role/DisclosureDerivativeFinancialInstrumentsNarrativeDetails</Role>
      <ShortName>Derivative Financial Instruments (Narrative) (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://www.mybankfirstunited.com/role/DisclosureDerivativeFinancialInstrumentsTables</ParentRole>
      <Position>115</Position>
    </Report>
    <Report instance="func-20221231x10k.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R116.htm</HtmlFileName>
      <LongName>42102 - Disclosure - Derivative Financial Instruments (Impact Of Derivative Financial Instruments) (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.mybankfirstunited.com/role/DisclosureDerivativeFinancialInstrumentsImpactOfDerivativeFinancialInstrumentsDetails</Role>
      <ShortName>Derivative Financial Instruments (Impact Of Derivative Financial Instruments) (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://www.mybankfirstunited.com/role/DisclosureDerivativeFinancialInstrumentsTables</ParentRole>
      <Position>116</Position>
    </Report>
    <Report instance="func-20221231x10k.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R117.htm</HtmlFileName>
      <LongName>42201 - Disclosure - Revenue Recognition (Schedule of Noninterest Income Segregated by Revenue Streams In-Scope and Out-of-Scope of Topic 606) (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.mybankfirstunited.com/role/DisclosureRevenueRecognitionScheduleOfNoninterestIncomeSegregatedByRevenueStreamsInScopeAndOutOfScopeOfTopic606Details</Role>
      <ShortName>Revenue Recognition (Schedule of Noninterest Income Segregated by Revenue Streams In-Scope and Out-of-Scope of Topic 606) (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://www.mybankfirstunited.com/role/DisclosureRevenueRecognitionTables</ParentRole>
      <Position>117</Position>
    </Report>
    <Report instance="func-20221231x10k.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R118.htm</HtmlFileName>
      <LongName>42301 - Disclosure - Parent Company Only Financial Information (Condensed Statement of Financial Condition) (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.mybankfirstunited.com/role/DisclosureParentCompanyOnlyFinancialInformationCondensedStatementOfFinancialConditionDetails</Role>
      <ShortName>Parent Company Only Financial Information (Condensed Statement of Financial Condition) (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://www.mybankfirstunited.com/role/DisclosureParentCompanyOnlyFinancialInformationTables</ParentRole>
      <Position>118</Position>
    </Report>
    <Report instance="func-20221231x10k.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R119.htm</HtmlFileName>
      <LongName>42302 - Disclosure - Parent Company Only Financial Information (Condensed Statement of Income) (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.mybankfirstunited.com/role/DisclosureParentCompanyOnlyFinancialInformationCondensedStatementOfIncomeDetails</Role>
      <ShortName>Parent Company Only Financial Information (Condensed Statement of Income) (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://www.mybankfirstunited.com/role/DisclosureParentCompanyOnlyFinancialInformationTables</ParentRole>
      <Position>119</Position>
    </Report>
    <Report instance="func-20221231x10k.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R120.htm</HtmlFileName>
      <LongName>42303 - Disclosure - Parent Company Only Financial Information (Condensed Statement of Comprehensive Income) (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.mybankfirstunited.com/role/DisclosureParentCompanyOnlyFinancialInformationCondensedStatementOfComprehensiveIncomeDetails</Role>
      <ShortName>Parent Company Only Financial Information (Condensed Statement of Comprehensive Income) (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://www.mybankfirstunited.com/role/DisclosureParentCompanyOnlyFinancialInformationTables</ParentRole>
      <Position>120</Position>
    </Report>
    <Report instance="func-20221231x10k.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R121.htm</HtmlFileName>
      <LongName>42304 - Disclosure - Parent Company Only Financial Information (Condensed Statement of Cash Flows) (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.mybankfirstunited.com/role/DisclosureParentCompanyOnlyFinancialInformationCondensedStatementOfCashFlowsDetails</Role>
      <ShortName>Parent Company Only Financial Information (Condensed Statement of Cash Flows) (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://www.mybankfirstunited.com/role/DisclosureParentCompanyOnlyFinancialInformationTables</ParentRole>
      <Position>121</Position>
    </Report>
    <Report instance="func-20221231x10k.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R122.htm</HtmlFileName>
      <LongName>42305 - Disclosure - Parent Company Only Financial Information (Accumulated Other Comprehensive Income) (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.mybankfirstunited.com/role/DisclosureParentCompanyOnlyFinancialInformationAccumulatedOtherComprehensiveIncomeDetails</Role>
      <ShortName>Parent Company Only Financial Information (Accumulated Other Comprehensive Income) (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://www.mybankfirstunited.com/role/DisclosureParentCompanyOnlyFinancialInformationTables</ParentRole>
      <Position>122</Position>
    </Report>
    <Report>
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <LongName>All Reports</LongName>
      <ReportType>Book</ReportType>
      <ShortName>All Reports</ShortName>
    </Report>
  </MyReports>
  <Logs>
    <Log type="Warning">[dq-0542-Deprecated-Concept] Concept PropertyPlantAndEquipmentDepreciationMethods in us-gaap/2021 used in 1 facts was deprecated in us-gaap/2023 as of 2023 and should not be used. func-20221231x10k.htm 77</Log>
    <Log type="Warning">[dq-0542-Deprecated-Concept] Concept LoansAndLeasesReceivableCollateralForSecuredBorrowings in us-gaap/2021 used in 1 facts was deprecated in us-gaap/2022 as of 2022 and should not be used. func-20221231x10k.htm 88</Log>
    <Log type="Warning">[dq-0542-Deprecated-Concept] Concept LoansPledgedAsCollateral in us-gaap/2021 used in 5 facts was deprecated in us-gaap/2022 as of 2022 and should not be used. func-20221231x10k.htm 95</Log>
    <Log type="Warning">[dq-0542-Deprecated-Concept] Concept FairValueAssetsLevel1ToLevel2TransfersAmount in us-gaap/2021 used in 2 facts was deprecated in us-gaap/2022 as of 2022 and should not be used. func-20221231x10k.htm 111</Log>
    <Log type="Warning">[dq-0542-Deprecated-Concept] Concept LondonInterbankOfferedRateLIBORMember in us-gaap/2021 used in 3 facts was deprecated in us-gaap/2023 as of 2023 and should not be used. func-20221231x10k.htm 112</Log>
    <Log type="Warning">[dq-0542-Deprecated-Concept] Concept SecurityOwnedAndPledgedAsCollateralFairValue in us-gaap/2021 used in 2 facts was deprecated in us-gaap/2022 as of 2022 and should not be used. func-20221231x10k.htm 117</Log>
    <Log type="Warning">[ix-0514-Hidden-Fact-Eligible-For-Transform] WARN: 4 fact(s) appearing in ix:hidden were eligible for transformation: dei:CurrentFiscalYearEndDate, us-gaap:AcquiredFiniteLivedIntangibleAssetsWeightedAverageUsefulLife, us-gaap:OperatingLeaseWeightedAverageRemainingLeaseTerm1 -  func-20221231x10k.htm 9</Log>
  </Logs>
  <InputFiles>
    <File doctype="10-K" original="func-20221231x10k.htm">func-20221231x10k.htm</File>
    <File>func-20221231.xsd</File>
    <File>func-20221231_cal.xml</File>
    <File>func-20221231_def.xml</File>
    <File>func-20221231_lab.xml</File>
    <File>func-20221231_pre.xml</File>
    <File>func-20221231xex21.htm</File>
    <File>func-20221231xex23d1.htm</File>
    <File>func-20221231xex31d1.htm</File>
    <File>func-20221231xex31d2.htm</File>
    <File>func-20221231xex32d1.htm</File>
  </InputFiles>
  <SupplementalFiles/>
  <BaseTaxonomies>
    <BaseTaxonomy items="4">http://fasb.org/srt/2021-01-31</BaseTaxonomy>
    <BaseTaxonomy items="1987">http://fasb.org/us-gaap/2021-01-31</BaseTaxonomy>
    <BaseTaxonomy items="37">http://xbrl.sec.gov/dei/2021q4</BaseTaxonomy>
  </BaseTaxonomies>
  <HasPresentationLinkbase>true</HasPresentationLinkbase>
  <HasCalculationLinkbase>true</HasCalculationLinkbase>
</FilingSummary>
