<?xml version='1.0' encoding='utf-8'?>
<FilingSummary>
  <Version>3.25.4</Version>
  <ProcessingTime/>
  <ReportFormat>html</ReportFormat>
  <ContextCount>26</ContextCount>
  <ElementCount>28</ElementCount>
  <EntityCount>1</EntityCount>
  <FootnotesReported>false</FootnotesReported>
  <SegmentCount>6</SegmentCount>
  <ScenarioCount>0</ScenarioCount>
  <TuplesReported>false</TuplesReported>
  <UnitCount>2</UnitCount>
  <MyReports>
    <Report instance="unty-20251231xdef14a.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R1.htm</HtmlFileName>
      <LongName>995200090 - Document - Document and Entity Information</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.unitybank.com/role/DocumentDocumentAndEntityInformation</Role>
      <ShortName>Document and Entity Information</ShortName>
      <MenuCategory>Cover</MenuCategory>
      <Position>1</Position>
    </Report>
    <Report instance="unty-20251231xdef14a.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R2.htm</HtmlFileName>
      <LongName>995410 - Disclosure - Pay vs Performance Disclosure</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://xbrl.sec.gov/ecd/role/PvpDisclosure</Role>
      <ShortName>Pay vs Performance Disclosure</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>2</Position>
    </Report>
    <Report instance="unty-20251231xdef14a.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R3.htm</HtmlFileName>
      <LongName>995443 - Disclosure - Award Timing Disclosure</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://xbrl.sec.gov/ecd/role/AwardTimingDisclosure</Role>
      <ShortName>Award Timing Disclosure</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>3</Position>
    </Report>
    <Report instance="unty-20251231xdef14a.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R4.htm</HtmlFileName>
      <LongName>995447 - Disclosure - Insider Trading Policies and Procedures</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://xbrl.sec.gov/ecd/role/InsiderTradingPoliciesProc</Role>
      <ShortName>Insider Trading Policies and Procedures</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>4</Position>
    </Report>
    <Report>
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <LongName>All Reports</LongName>
      <ReportType>Book</ReportType>
      <ShortName>All Reports</ShortName>
    </Report>
  </MyReports>
  <InputFiles>
    <File>unty-20251231.xsd</File>
    <File>unty-20251231_def.xml</File>
    <File>unty-20251231_lab.xml</File>
    <File>unty-20251231_pre.xml</File>
    <File doctype="DEF 14A" isProxy="true" isUsgaap="true" original="unty-20251231xdef14a.htm">unty-20251231xdef14a.htm</File>
  </InputFiles>
  <SupplementalFiles>
    <File>unty-20251231xdef14a001.jpg</File>
    <File>unty-20251231xdef14a002.jpg</File>
    <File>unty-20251231xdef14a003.jpg</File>
    <File>unty-20251231xdef14a004.jpg</File>
    <File>unty-20251231xdef14a005.jpg</File>
    <File>unty-20251231xdef14a006.jpg</File>
    <File>unty-20251231xdef14a007.jpg</File>
    <File>unty-20251231xdef14a009.jpg</File>
    <File>unty-20251231xdef14a010.jpg</File>
    <File>unty-20251231xdef14a014.jpg</File>
    <File>unty-20251231xdef14a015.jpg</File>
    <File>unty-20251231xdef14a016.jpg</File>
    <File>unty-20251231xdef14a017.jpg</File>
    <File>unty-20251231xdef14a018.jpg</File>
    <File>unty-20251231xdef14a019.jpg</File>
    <File>unty-20251231xdef14a020.jpg</File>
    <File>unty-20251231xdef14a021.jpg</File>
    <File>unty-20251231xdef14a026.jpg</File>
    <File>unty-20251231xdef14a027.jpg</File>
    <File>unty-20251231xdef14a028.jpg</File>
    <File>unty-20251231xdef14a029.jpg</File>
    <File>unty-20251231xdef14a033.jpg</File>
    <File>unty-20251231xdef14a059.jpg</File>
    <File>unty-20251231xdef14a060.jpg</File>
    <File>unty-20251231xdef14a061.jpg</File>
    <File>unty-20251231xdef14a062.jpg</File>
    <File>unty-20251231xdef14a063.jpg</File>
    <File>unty-20251231xdef14a064.jpg</File>
  </SupplementalFiles>
  <BaseTaxonomies>
    <BaseTaxonomy items="4">http://fasb.org/us-gaap/2025</BaseTaxonomy>
    <BaseTaxonomy items="4">http://xbrl.sec.gov/dei/2025</BaseTaxonomy>
    <BaseTaxonomy items="64">http://xbrl.sec.gov/ecd/2025</BaseTaxonomy>
  </BaseTaxonomies>
  <HasPresentationLinkbase>true</HasPresentationLinkbase>
  <HasCalculationLinkbase>false</HasCalculationLinkbase>
</FilingSummary>
