<?xml version='1.0' encoding='utf-8'?>
<FilingSummary>
  <Version>3.26.1</Version>
  <ProcessingTime/>
  <ReportFormat>html</ReportFormat>
  <ContextCount>109</ContextCount>
  <ElementCount>82</ElementCount>
  <EntityCount>1</EntityCount>
  <FootnotesReported>true</FootnotesReported>
  <SegmentCount>16</SegmentCount>
  <ScenarioCount>0</ScenarioCount>
  <TuplesReported>false</TuplesReported>
  <UnitCount>2</UnitCount>
  <MyReports>
    <Report instance="unty-20251231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R1.htm</HtmlFileName>
      <LongName>75000 - Document - Document and Entity Information</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.unitybank.com/20251231/taxonomy/role/DocumentDocumentAndEntityInformation</Role>
      <ShortName>Document and Entity Information</ShortName>
      <MenuCategory>Cover</MenuCategory>
      <Position>1</Position>
    </Report>
    <Report instance="unty-20251231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R2.htm</HtmlFileName>
      <LongName>75010 - Statement - Statements of Net Assets Available for Benefits</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.unitybank.com/20251231/taxonomy/role/StatementStatementsOfNetAssetsAvailableForBenefits</Role>
      <ShortName>Statements of Net Assets Available for Benefits</ShortName>
      <MenuCategory>Statements</MenuCategory>
      <Position>2</Position>
    </Report>
    <Report instance="unty-20251231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R3.htm</HtmlFileName>
      <LongName>75020 - Statement - Statement of Changes in Net Assets Available for Benefits</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.unitybank.com/20251231/taxonomy/role/StatementStatementOfChangesInNetAssetsAvailableForBenefits</Role>
      <ShortName>Statement of Changes in Net Assets Available for Benefits</ShortName>
      <MenuCategory>Statements</MenuCategory>
      <Position>3</Position>
    </Report>
    <Report instance="unty-20251231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R4.htm</HtmlFileName>
      <LongName>75030 - Disclosure - Description of Plan</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.unitybank.com/20251231/taxonomy/role/DisclosureDescriptionOfPlan</Role>
      <ShortName>Description of Plan</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>4</Position>
    </Report>
    <Report instance="unty-20251231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R5.htm</HtmlFileName>
      <LongName>75040 - Disclosure - Summary of Significant Accounting Policies</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.unitybank.com/20251231/taxonomy/role/DisclosureSummaryOfSignificantAccountingPolicies</Role>
      <ShortName>Summary of Significant Accounting Policies</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>5</Position>
    </Report>
    <Report instance="unty-20251231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R6.htm</HtmlFileName>
      <LongName>75050 - Disclosure - Notes Receivable from Participants</LongName>
      <ReportType>Notes</ReportType>
      <Role>http://www.unitybank.com/20251231/taxonomy/role/DisclosureNotesReceivableFromParticipants</Role>
      <ShortName>Notes Receivable from Participants</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>6</Position>
    </Report>
    <Report instance="unty-20251231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R7.htm</HtmlFileName>
      <LongName>75060 - Disclosure - Plan Termination</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.unitybank.com/20251231/taxonomy/role/DisclosurePlanTermination</Role>
      <ShortName>Plan Termination</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>7</Position>
    </Report>
    <Report instance="unty-20251231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R8.htm</HtmlFileName>
      <LongName>75070 - Disclosure - Party in Interest Transactions</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.unitybank.com/20251231/taxonomy/role/DisclosurePartyInInterestTransactions</Role>
      <ShortName>Party in Interest Transactions</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>8</Position>
    </Report>
    <Report instance="unty-20251231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R9.htm</HtmlFileName>
      <LongName>75080 - Disclosure - Tax Status</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.unitybank.com/20251231/taxonomy/role/DisclosureTaxStatus</Role>
      <ShortName>Tax Status</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>9</Position>
    </Report>
    <Report instance="unty-20251231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R10.htm</HtmlFileName>
      <LongName>75090 - Disclosure - Fair Value Measurement</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.unitybank.com/20251231/taxonomy/role/DisclosureFairValueMeasurement</Role>
      <ShortName>Fair Value Measurement</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>10</Position>
    </Report>
    <Report instance="unty-20251231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R11.htm</HtmlFileName>
      <LongName>75100 - Disclosure - Guaranteed Investment Contract with Empower</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.unitybank.com/20251231/taxonomy/role/DisclosureGuaranteedInvestmentContractWithEmpower1</Role>
      <ShortName>Guaranteed Investment Contract with Empower</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>11</Position>
    </Report>
    <Report instance="unty-20251231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R12.htm</HtmlFileName>
      <LongName>75110 - Disclosure - Risks and Uncertainties</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.unitybank.com/20251231/taxonomy/role/DisclosureRisksAndUncertainties</Role>
      <ShortName>Risks and Uncertainties</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>12</Position>
    </Report>
    <Report instance="unty-20251231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R13.htm</HtmlFileName>
      <LongName>75120 - Disclosure - Schedule H</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.unitybank.com/20251231/taxonomy/role/DisclosureScheduleH1</Role>
      <ShortName>Schedule H</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>13</Position>
    </Report>
    <Report instance="unty-20251231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R14.htm</HtmlFileName>
      <LongName>75130 - Disclosure - Summary of Significant Accounting Policies (Policies)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.unitybank.com/20251231/taxonomy/role/DisclosureSummaryOfSignificantAccountingPoliciesPolicies</Role>
      <ShortName>Summary of Significant Accounting Policies (Policies)</ShortName>
      <MenuCategory>Policies</MenuCategory>
      <ParentRole>http://www.unitybank.com/20251231/taxonomy/role/DisclosureSummaryOfSignificantAccountingPolicies</ParentRole>
      <Position>14</Position>
    </Report>
    <Report instance="unty-20251231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R15.htm</HtmlFileName>
      <LongName>75140 - Disclosure - Fair Value Measurement (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.unitybank.com/20251231/taxonomy/role/DisclosureFairValueMeasurementTables</Role>
      <ShortName>Fair Value Measurement (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://www.unitybank.com/20251231/taxonomy/role/DisclosureFairValueMeasurement</ParentRole>
      <Position>15</Position>
    </Report>
    <Report instance="unty-20251231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R16.htm</HtmlFileName>
      <LongName>75150 - Disclosure - Schedule H (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.unitybank.com/20251231/taxonomy/role/DisclosureScheduleHTables</Role>
      <ShortName>Schedule H (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://www.unitybank.com/20251231/taxonomy/role/DisclosureScheduleH1</ParentRole>
      <Position>16</Position>
    </Report>
    <Report instance="unty-20251231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R17.htm</HtmlFileName>
      <LongName>75160 - Disclosure - Description of Plan - Additional Information (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.unitybank.com/20251231/taxonomy/role/DisclosureDescriptionOfPlanAdditionalInformationDetails</Role>
      <ShortName>Description of Plan - Additional Information (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>17</Position>
    </Report>
    <Report instance="unty-20251231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R18.htm</HtmlFileName>
      <LongName>75170 - Disclosure - Notes Receivable from Participants - Additional Information (Details)</LongName>
      <ReportType>Notes</ReportType>
      <Role>http://www.unitybank.com/20251231/taxonomy/role/DisclosureNotesReceivableFromParticipantsAdditionalInformationDetails</Role>
      <ShortName>Notes Receivable from Participants - Additional Information (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>18</Position>
    </Report>
    <Report instance="unty-20251231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R19.htm</HtmlFileName>
      <LongName>75180 - Disclosure - Tax Status - Additional Information (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.unitybank.com/20251231/taxonomy/role/DisclosureTaxStatusAdditionalInformationDetails</Role>
      <ShortName>Tax Status - Additional Information (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>19</Position>
    </Report>
    <Report instance="unty-20251231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R20.htm</HtmlFileName>
      <LongName>75190 - Disclosure - Fair Value Measurement - Summary of Level within Fair Value Hierarchy, Plan's Assets at Fair Value (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.unitybank.com/20251231/taxonomy/role/DisclosureFairValueMeasurementSummaryOfLevelWithinFairValueHierarchyPlansAssetsAtFairValueDetails</Role>
      <ShortName>Fair Value Measurement - Summary of Level within Fair Value Hierarchy, Plan's Assets at Fair Value (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>20</Position>
    </Report>
    <Report instance="unty-20251231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R21.htm</HtmlFileName>
      <LongName>75200 - Disclosure - Guaranteed Investment Contract with Empower - Additional Information (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.unitybank.com/20251231/taxonomy/role/DisclosureGuaranteedInvestmentContractWithEmpowerAdditionalInformationDetails</Role>
      <ShortName>Guaranteed Investment Contract with Empower - Additional Information (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>21</Position>
    </Report>
    <Report instance="unty-20251231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R22.htm</HtmlFileName>
      <LongName>75210 - Disclosure - Schedule H, Line 4(a) - Schedule of Delinquent Participant Contributions (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.unitybank.com/20251231/taxonomy/role/DisclosureScheduleHLine4aScheduleOfDelinquentParticipantContributionsDetails</Role>
      <ShortName>Schedule H, Line 4(a) - Schedule of Delinquent Participant Contributions (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>22</Position>
    </Report>
    <Report instance="unty-20251231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R23.htm</HtmlFileName>
      <LongName>75220 - Disclosure - Schedule H, Line 4(i) - Schedule of Assets (Held at End of Year) (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.unitybank.com/20251231/taxonomy/role/DisclosureScheduleHLine4iScheduleOfAssetsHeldAtEndOfYearDetails</Role>
      <ShortName>Schedule H, Line 4(i) - Schedule of Assets (Held at End of Year) (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>23</Position>
    </Report>
    <Report>
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <LongName>All Reports</LongName>
      <ReportType>Book</ReportType>
      <ShortName>All Reports</ShortName>
    </Report>
  </MyReports>
  <InputFiles>
    <File doctype="11-K" isDefinitelyFs="true" isUsgaap="true" original="unty-20251231.htm">unty-20251231.htm</File>
    <File>unty-20251231.xsd</File>
  </InputFiles>
  <SupplementalFiles/>
  <BaseTaxonomies>
    <BaseTaxonomy items="240">http://fasb.org/us-gaap-ebp/2025</BaseTaxonomy>
    <BaseTaxonomy items="9">http://xbrl.sec.gov/dei/2025</BaseTaxonomy>
  </BaseTaxonomies>
  <HasPresentationLinkbase>false</HasPresentationLinkbase>
  <HasCalculationLinkbase>false</HasCalculationLinkbase>
</FilingSummary>
