<?xml version='1.0' encoding='utf-8'?>
<FilingSummary>
  <Version>3.26.1</Version>
  <ProcessingTime/>
  <ReportFormat>html</ReportFormat>
  <ContextCount>67</ContextCount>
  <ElementCount>38</ElementCount>
  <EntityCount>1</EntityCount>
  <FootnotesReported>false</FootnotesReported>
  <SegmentCount>10</SegmentCount>
  <ScenarioCount>0</ScenarioCount>
  <TuplesReported>false</TuplesReported>
  <UnitCount>2</UnitCount>
  <MyReports>
    <Report instance="agx-20260610xdef14a.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.arganinc.com/role/DocumentDocumentAndEntityInformation</Role>
      <ShortName>Document and Entity Information</ShortName>
      <MenuCategory>Cover</MenuCategory>
      <Position>1</Position>
    </Report>
    <Report instance="agx-20260610xdef14a.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="agx-20260610xdef14a.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="agx-20260610xdef14a.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>agx-20260610.xsd</File>
    <File>agx-20260610_def.xml</File>
    <File>agx-20260610_lab.xml</File>
    <File>agx-20260610_pre.xml</File>
    <File doctype="DEF 14A" isProxy="true" isUsgaap="true" original="agx-20260610xdef14a.htm">agx-20260610xdef14a.htm</File>
  </InputFiles>
  <SupplementalFiles>
    <File>agx-20260610xdef14a_a001.jpg</File>
    <File>agx-20260610xdef14a_a002.jpg</File>
    <File>agx-20260610xdef14a_a003.jpg</File>
    <File>agx-20260610xdef14a_a004.jpg</File>
    <File>agx-20260610xdef14a_a005.jpg</File>
    <File>agx-20260610xdef14a_a006.jpg</File>
    <File>agx-20260610xdef14a_a007.jpg</File>
    <File>agx-20260610xdef14a_a008.jpg</File>
    <File>agx-20260610xdef14a_a009.jpg</File>
    <File>agx-20260610xdef14a_a010.jpg</File>
    <File>agx-20260610xdef14a_a011.jpg</File>
    <File>agx-20260610xdef14a_a012.gif</File>
    <File>agx-20260610xdef14a_a015.jpg</File>
    <File>agx-20260610xdef14a_a016.jpg</File>
    <File>agx-20260610xdef14a_a017.jpg</File>
    <File>agx-20260610xdef14a_a018.jpg</File>
    <File>agx-20260610xdef14a_a019.jpg</File>
    <File>agx-20260610xdef14a_a020.jpg</File>
    <File>agx-20260610xdef14a_a021.jpg</File>
    <File>agx-20260610xdef14a_a022.jpg</File>
    <File>agx-20260610xdef14a_a023.gif</File>
    <File>agx-20260610xdef14a_a024.gif</File>
    <File>agx-20260610xdef14a_a025.gif</File>
    <File>agx-20260610xdef14a_a026.gif</File>
    <File>agx-20260610xdef14a_a027.gif</File>
    <File>agx-20260610xdef14a_a028.jpg</File>
    <File>agx-20260610xdef14a_a029.gif</File>
    <File>agx-20260610xdef14a_a034.jpg</File>
    <File>agx-20260610xdef14a_a036.gif</File>
    <File>agx-20260610xdef14a_a040.jpg</File>
    <File>agx-20260610xdef14a_a045.jpg</File>
    <File>agx-20260610xdef14a_a051.jpg</File>
    <File>agx-20260610xdef14a_a058.jpg</File>
    <File>agx-20260610xdef14a_a062.gif</File>
    <File>agx-20260610xdef14a_a064.jpg</File>
    <File>agx-20260610xdef14a_a070.jpg</File>
    <File>agx-20260610xdef14a_a077.jpg</File>
    <File>agx-20260610xdef14a_a078.jpg</File>
    <File>agx-20260610xdef14a_a083.jpg</File>
    <File>agx-20260610xdef14a_a093.jpg</File>
    <File>agx-20260610xdef14a_a094.jpg</File>
    <File>agx-20260610xdef14a_a096.jpg</File>
    <File>agx-20260610xdef14a_a097.jpg</File>
    <File>agx-20260610xdef14a_a098.jpg</File>
    <File>agx-20260610xdef14a_a099.jpg</File>
    <File>agx-20260610xdef14a_a100.jpg</File>
    <File>agx-20260610xdef14a_a102.jpg</File>
    <File>agx-20260610xdef14a_a104.jpg</File>
    <File>agx-20260610xdef14a_a106.jpg</File>
    <File>agx-20260610xdef14a_a107.jpg</File>
    <File>agx-20260610xdef14a_a108.jpg</File>
    <File>agx-20260610xdef14a_a109.jpg</File>
    <File>agx-20260610xdef14a_a110.jpg</File>
    <File>agx-20260610xdef14a_a111.jpg</File>
    <File>agx-20260610xdef14a_a112.gif</File>
    <File>agx-20260610xdef14a_a117.jpg</File>
    <File>agx-20260610xdef14a_a121.gif</File>
    <File>agx-20260610xdef14a_a126.jpg</File>
    <File>agx-20260610xdef14a_a127.jpg</File>
    <File>agx-20260610xdef14a_a132.jpg</File>
    <File>agx-20260610xdef14a_bg001.jpg</File>
    <File>agx-20260610xdef14a_bg002.jpg</File>
  </SupplementalFiles>
  <BaseTaxonomies>
    <BaseTaxonomy items="30">http://fasb.org/us-gaap/2025</BaseTaxonomy>
    <BaseTaxonomy items="4">http://xbrl.sec.gov/dei/2025</BaseTaxonomy>
    <BaseTaxonomy items="136">http://xbrl.sec.gov/ecd/2025</BaseTaxonomy>
  </BaseTaxonomies>
  <HasPresentationLinkbase>true</HasPresentationLinkbase>
  <HasCalculationLinkbase>false</HasCalculationLinkbase>
</FilingSummary>
