<?xml version='1.0' encoding='utf-8'?>
<FilingSummary>
  <Version>3.26.1</Version>
  <ProcessingTime/>
  <ReportFormat>html</ReportFormat>
  <ContextCount>311</ContextCount>
  <ElementCount>530</ElementCount>
  <EntityCount>1</EntityCount>
  <FootnotesReported>true</FootnotesReported>
  <SegmentCount>92</SegmentCount>
  <ScenarioCount>0</ScenarioCount>
  <TuplesReported>false</TuplesReported>
  <UnitCount>8</UnitCount>
  <MyReports>
    <Report instance="ghm-20260331.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.graham-mfg.com/20260331/taxonomy/role/Role_DocumentDocumentAndEntityInformation</Role>
      <ShortName>Document and Entity Information</ShortName>
      <MenuCategory>Cover</MenuCategory>
      <Position>1</Position>
    </Report>
    <Report instance="ghm-20260331.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R2.htm</HtmlFileName>
      <LongName>75010 - Statement - Consolidated Statements of Operations</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.graham-mfg.com/20260331/taxonomy/role/Role_StatementConsolidatedStatementsOfOperations</Role>
      <ShortName>Consolidated Statements of Operations</ShortName>
      <MenuCategory>Statements</MenuCategory>
      <Position>2</Position>
    </Report>
    <Report instance="ghm-20260331.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R3.htm</HtmlFileName>
      <LongName>75020 - Statement - Consolidated Statements of Comprehensive Income</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.graham-mfg.com/20260331/taxonomy/role/StatementConsolidatedStatementsOfComprehensiveIncome1</Role>
      <ShortName>Consolidated Statements of Comprehensive Income</ShortName>
      <MenuCategory>Statements</MenuCategory>
      <Position>3</Position>
    </Report>
    <Report instance="ghm-20260331.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R4.htm</HtmlFileName>
      <LongName>75030 - Statement - Consolidated Statements of Comprehensive Income (Parenthetical)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.graham-mfg.com/20260331/taxonomy/role/StatementConsolidatedStatementsOfComprehensiveIncomeParenthetical</Role>
      <ShortName>Consolidated Statements of Comprehensive Income (Parenthetical)</ShortName>
      <MenuCategory>Statements</MenuCategory>
      <Position>4</Position>
    </Report>
    <Report instance="ghm-20260331.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R5.htm</HtmlFileName>
      <LongName>75040 - Statement - Consolidated Balance Sheets</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.graham-mfg.com/20260331/taxonomy/role/Role_StatementConsolidatedBalanceSheets</Role>
      <ShortName>Consolidated Balance Sheets</ShortName>
      <MenuCategory>Statements</MenuCategory>
      <Position>5</Position>
    </Report>
    <Report instance="ghm-20260331.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R6.htm</HtmlFileName>
      <LongName>75050 - Statement - Consolidated Balance Sheets (Parenthetical)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.graham-mfg.com/20260331/taxonomy/role/Role_StatementConsolidatedBalanceSheetsParenthetical</Role>
      <ShortName>Consolidated Balance Sheets (Parenthetical)</ShortName>
      <MenuCategory>Statements</MenuCategory>
      <Position>6</Position>
    </Report>
    <Report instance="ghm-20260331.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R7.htm</HtmlFileName>
      <LongName>75060 - Statement - Consolidated Statements of Cash Flows</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.graham-mfg.com/20260331/taxonomy/role/Role_StatementConsolidatedStatementsOfCashFlows</Role>
      <ShortName>Consolidated Statements of Cash Flows</ShortName>
      <MenuCategory>Statements</MenuCategory>
      <Position>7</Position>
    </Report>
    <Report instance="ghm-20260331.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R8.htm</HtmlFileName>
      <LongName>75070 - Statement - Consolidated Statements of Changes in Stockholders' Equity</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.graham-mfg.com/20260331/taxonomy/role/Role_StatementConsolidatedStatementsOfChangesInStockholdersEquity</Role>
      <ShortName>Consolidated Statements of Changes in Stockholders' Equity</ShortName>
      <MenuCategory>Statements</MenuCategory>
      <Position>8</Position>
    </Report>
    <Report instance="ghm-20260331.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R9.htm</HtmlFileName>
      <LongName>75080 - Disclosure - Cybersecurity Risk Management, Strategy and Governance</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.graham-mfg.com/20260331/taxonomy/role/DisclosureCybersecurityRiskManagementStrategyAndGovernance</Role>
      <ShortName>Cybersecurity Risk Management, Strategy and Governance</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>9</Position>
    </Report>
    <Report instance="ghm-20260331.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R10.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>10</Position>
    </Report>
    <Report instance="ghm-20260331.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R11.htm</HtmlFileName>
      <LongName>995445 - Disclosure - Insider Trading Arrangements</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://xbrl.sec.gov/ecd/role/InsiderTradingArrangements</Role>
      <ShortName>Insider Trading Arrangements</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>11</Position>
    </Report>
    <Report instance="ghm-20260331.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R12.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>12</Position>
    </Report>
    <Report instance="ghm-20260331.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R13.htm</HtmlFileName>
      <LongName>995457 - Disclosure - The Company and Its Accounting Policies</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.graham-mfg.com/20260331/taxonomy/role/Role_DisclosureTheCompanyAndItsAccountingPolicies</Role>
      <ShortName>The Company and Its Accounting Policies</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>13</Position>
    </Report>
    <Report instance="ghm-20260331.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R14.htm</HtmlFileName>
      <LongName>995467 - Disclosure - Acquisition</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.graham-mfg.com/20260331/taxonomy/role/DisclosureAcquisition1</Role>
      <ShortName>Acquisition</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>14</Position>
    </Report>
    <Report instance="ghm-20260331.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R15.htm</HtmlFileName>
      <LongName>995477 - Disclosure - Revenue Recognition</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.graham-mfg.com/20260331/taxonomy/role/Role_DisclosureRevenueRecognition</Role>
      <ShortName>Revenue Recognition</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>15</Position>
    </Report>
    <Report instance="ghm-20260331.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R16.htm</HtmlFileName>
      <LongName>995487 - Disclosure - Inventories</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.graham-mfg.com/20260331/taxonomy/role/Role_DisclosureInventories</Role>
      <ShortName>Inventories</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>16</Position>
    </Report>
    <Report instance="ghm-20260331.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R17.htm</HtmlFileName>
      <LongName>995497 - Disclosure - Property, Plant and Equipment</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.graham-mfg.com/20260331/taxonomy/role/Role_DisclosurePropertyPlantAndEquipment</Role>
      <ShortName>Property, Plant and Equipment</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>17</Position>
    </Report>
    <Report instance="ghm-20260331.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R18.htm</HtmlFileName>
      <LongName>995507 - Disclosure - Intangible Assets</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.graham-mfg.com/20260331/taxonomy/role/DisclosureIntangibleAssets</Role>
      <ShortName>Intangible Assets</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>18</Position>
    </Report>
    <Report instance="ghm-20260331.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R19.htm</HtmlFileName>
      <LongName>995517 - Disclosure - Product Warranty Liability</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.graham-mfg.com/20260331/taxonomy/role/Role_DisclosureProductWarrantyLiability</Role>
      <ShortName>Product Warranty Liability</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>19</Position>
    </Report>
    <Report instance="ghm-20260331.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R20.htm</HtmlFileName>
      <LongName>995527 - Disclosure - Leases</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.graham-mfg.com/20260331/taxonomy/role/Role_DisclosureLeases</Role>
      <ShortName>Leases</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>20</Position>
    </Report>
    <Report instance="ghm-20260331.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R21.htm</HtmlFileName>
      <LongName>995537 - Disclosure - Debt</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.graham-mfg.com/20260331/taxonomy/role/Role_DisclosureDebt</Role>
      <ShortName>Debt</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>21</Position>
    </Report>
    <Report instance="ghm-20260331.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R22.htm</HtmlFileName>
      <LongName>995547 - Disclosure - Financial Instruments and Derivative Financial Instruments</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.graham-mfg.com/20260331/taxonomy/role/Role_DisclosureFinancialInstrumentsAndDerivativeFinancialInstruments</Role>
      <ShortName>Financial Instruments and Derivative Financial Instruments</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>22</Position>
    </Report>
    <Report instance="ghm-20260331.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R23.htm</HtmlFileName>
      <LongName>995557 - Disclosure - Income Taxes</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.graham-mfg.com/20260331/taxonomy/role/Role_DisclosureIncomeTaxes</Role>
      <ShortName>Income Taxes</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>23</Position>
    </Report>
    <Report instance="ghm-20260331.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R24.htm</HtmlFileName>
      <LongName>995567 - Disclosure - Employee Benefit Plans</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.graham-mfg.com/20260331/taxonomy/role/Role_DisclosureEmployeeBenefitPlans</Role>
      <ShortName>Employee Benefit Plans</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>24</Position>
    </Report>
    <Report instance="ghm-20260331.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R25.htm</HtmlFileName>
      <LongName>995577 - Disclosure - Stock Compensation Plans</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.graham-mfg.com/20260331/taxonomy/role/DisclosureStockCompensationPlans</Role>
      <ShortName>Stock Compensation Plans</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>25</Position>
    </Report>
    <Report instance="ghm-20260331.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R26.htm</HtmlFileName>
      <LongName>995587 - Disclosure - Changes in Accumulated Other Comprehensive Loss</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.graham-mfg.com/20260331/taxonomy/role/Role_DisclosureChangesInAccumulatedOtherComprehensiveLoss</Role>
      <ShortName>Changes in Accumulated Other Comprehensive Loss</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>26</Position>
    </Report>
    <Report instance="ghm-20260331.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R27.htm</HtmlFileName>
      <LongName>995597 - Disclosure - Segment Information</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.graham-mfg.com/20260331/taxonomy/role/Role_DisclosureSegmentInformation</Role>
      <ShortName>Segment Information</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>27</Position>
    </Report>
    <Report instance="ghm-20260331.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R28.htm</HtmlFileName>
      <LongName>995607 - Disclosure - Purchase of Treasury Stock</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.graham-mfg.com/20260331/taxonomy/role/Role_DisclosurePurchaseOfTreasuryStock</Role>
      <ShortName>Purchase of Treasury Stock</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>28</Position>
    </Report>
    <Report instance="ghm-20260331.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R29.htm</HtmlFileName>
      <LongName>995617 - Disclosure - Commitments and Contingencies</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.graham-mfg.com/20260331/taxonomy/role/Role_DisclosureCommitmentsAndContingencies</Role>
      <ShortName>Commitments and Contingencies</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>29</Position>
    </Report>
    <Report instance="ghm-20260331.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R30.htm</HtmlFileName>
      <LongName>995627 - Disclosure - Subsequent Events</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.graham-mfg.com/20260331/taxonomy/role/Role_DisclosureSubsequentEvents</Role>
      <ShortName>Subsequent Events</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>30</Position>
    </Report>
    <Report instance="ghm-20260331.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R31.htm</HtmlFileName>
      <LongName>995637 - Disclosure - Schedule II - Valuation and Qualifying Accounts</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.graham-mfg.com/20260331/taxonomy/role/Role_DisclosureScheduleIIValuationAndQualifyingAccounts</Role>
      <ShortName>Schedule II - Valuation and Qualifying Accounts</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>31</Position>
    </Report>
    <Report instance="ghm-20260331.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R32.htm</HtmlFileName>
      <LongName>995647 - Disclosure - The Company and Its Accounting Policies (Policies)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.graham-mfg.com/20260331/taxonomy/role/Role_DisclosureTheCompanyAndItsAccountingPoliciesPolicies</Role>
      <ShortName>The Company and Its Accounting Policies (Policies)</ShortName>
      <MenuCategory>Policies</MenuCategory>
      <ParentRole>http://www.graham-mfg.com/20260331/taxonomy/role/Role_DisclosureTheCompanyAndItsAccountingPolicies</ParentRole>
      <Position>32</Position>
    </Report>
    <Report instance="ghm-20260331.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R33.htm</HtmlFileName>
      <LongName>995657 - Disclosure - The Company and Its Accounting Policies (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.graham-mfg.com/20260331/taxonomy/role/Role_DisclosureTheCompanyAndItsAccountingPoliciesTables</Role>
      <ShortName>The Company and Its Accounting Policies (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://www.graham-mfg.com/20260331/taxonomy/role/Role_DisclosureTheCompanyAndItsAccountingPolicies</ParentRole>
      <Position>33</Position>
    </Report>
    <Report instance="ghm-20260331.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R34.htm</HtmlFileName>
      <LongName>995667 - Disclosure - Acquisition (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.graham-mfg.com/20260331/taxonomy/role/DisclosureAcquisitionTables</Role>
      <ShortName>Acquisition (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://www.graham-mfg.com/20260331/taxonomy/role/DisclosureAcquisition1</ParentRole>
      <Position>34</Position>
    </Report>
    <Report instance="ghm-20260331.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R35.htm</HtmlFileName>
      <LongName>995677 - Disclosure - Revenue Recognition (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.graham-mfg.com/20260331/taxonomy/role/Role_DisclosureRevenueRecognitionTables</Role>
      <ShortName>Revenue Recognition (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://www.graham-mfg.com/20260331/taxonomy/role/Role_DisclosureRevenueRecognition</ParentRole>
      <Position>35</Position>
    </Report>
    <Report instance="ghm-20260331.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R36.htm</HtmlFileName>
      <LongName>995687 - Disclosure - Inventories (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.graham-mfg.com/20260331/taxonomy/role/Role_DisclosureInventoriesTables</Role>
      <ShortName>Inventories (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://www.graham-mfg.com/20260331/taxonomy/role/Role_DisclosureInventories</ParentRole>
      <Position>36</Position>
    </Report>
    <Report instance="ghm-20260331.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R37.htm</HtmlFileName>
      <LongName>995697 - Disclosure - Property, Plant and Equipment (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.graham-mfg.com/20260331/taxonomy/role/Role_DisclosurePropertyPlantAndEquipmentTables</Role>
      <ShortName>Property, Plant and Equipment (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://www.graham-mfg.com/20260331/taxonomy/role/Role_DisclosurePropertyPlantAndEquipment</ParentRole>
      <Position>37</Position>
    </Report>
    <Report instance="ghm-20260331.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R38.htm</HtmlFileName>
      <LongName>995707 - Disclosure - Intangible Assets (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.graham-mfg.com/20260331/taxonomy/role/DisclosureIntangibleAssetsTables</Role>
      <ShortName>Intangible Assets (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://www.graham-mfg.com/20260331/taxonomy/role/DisclosureIntangibleAssets</ParentRole>
      <Position>38</Position>
    </Report>
    <Report instance="ghm-20260331.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R39.htm</HtmlFileName>
      <LongName>995717 - Disclosure - Product Warranty Liability (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.graham-mfg.com/20260331/taxonomy/role/Role_DisclosureProductWarrantyLiabilityTables</Role>
      <ShortName>Product Warranty Liability (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://www.graham-mfg.com/20260331/taxonomy/role/Role_DisclosureProductWarrantyLiability</ParentRole>
      <Position>39</Position>
    </Report>
    <Report instance="ghm-20260331.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R40.htm</HtmlFileName>
      <LongName>995727 - Disclosure - Leases (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.graham-mfg.com/20260331/taxonomy/role/Role_DisclosureLeasesTables</Role>
      <ShortName>Leases (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://www.graham-mfg.com/20260331/taxonomy/role/Role_DisclosureLeases</ParentRole>
      <Position>40</Position>
    </Report>
    <Report instance="ghm-20260331.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R41.htm</HtmlFileName>
      <LongName>995737 - Disclosure - Income Taxes (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.graham-mfg.com/20260331/taxonomy/role/Role_DisclosureIncomeTaxesTables</Role>
      <ShortName>Income Taxes (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://www.graham-mfg.com/20260331/taxonomy/role/Role_DisclosureIncomeTaxes</ParentRole>
      <Position>41</Position>
    </Report>
    <Report instance="ghm-20260331.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R42.htm</HtmlFileName>
      <LongName>995747 - Disclosure - Employee Benefit Plans (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.graham-mfg.com/20260331/taxonomy/role/Role_DisclosureEmployeeBenefitPlansTables</Role>
      <ShortName>Employee Benefit Plans (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://www.graham-mfg.com/20260331/taxonomy/role/Role_DisclosureEmployeeBenefitPlans</ParentRole>
      <Position>42</Position>
    </Report>
    <Report instance="ghm-20260331.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R43.htm</HtmlFileName>
      <LongName>995757 - Disclosure - Stock Compensation Plans (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.graham-mfg.com/20260331/taxonomy/role/DisclosureStockCompensationPlansTables</Role>
      <ShortName>Stock Compensation Plans (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://www.graham-mfg.com/20260331/taxonomy/role/DisclosureStockCompensationPlans</ParentRole>
      <Position>43</Position>
    </Report>
    <Report instance="ghm-20260331.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R44.htm</HtmlFileName>
      <LongName>995767 - Disclosure - Changes in Accumulated Other Comprehensive Loss (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.graham-mfg.com/20260331/taxonomy/role/Role_DisclosureChangesInAccumulatedOtherComprehensiveLossTables</Role>
      <ShortName>Changes in Accumulated Other Comprehensive Loss (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://www.graham-mfg.com/20260331/taxonomy/role/Role_DisclosureChangesInAccumulatedOtherComprehensiveLoss</ParentRole>
      <Position>44</Position>
    </Report>
    <Report instance="ghm-20260331.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R45.htm</HtmlFileName>
      <LongName>995777 - Disclosure - Segment Information (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.graham-mfg.com/20260331/taxonomy/role/DisclosureSegmentInformationTables</Role>
      <ShortName>Segment Information (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://www.graham-mfg.com/20260331/taxonomy/role/Role_DisclosureSegmentInformation</ParentRole>
      <Position>45</Position>
    </Report>
    <Report instance="ghm-20260331.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R46.htm</HtmlFileName>
      <LongName>995787 - Disclosure - The Company and Its Accounting Policies - Additional Information (Detail)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.graham-mfg.com/20260331/taxonomy/role/Role_DisclosureTheCompanyAndItsAccountingPoliciesAdditionalInformationDetail</Role>
      <ShortName>The Company and Its Accounting Policies - Additional Information (Detail)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>46</Position>
    </Report>
    <Report instance="ghm-20260331.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R47.htm</HtmlFileName>
      <LongName>995797 - Disclosure - The Company and Its Accounting Policies - Reconciliation of Numerators and Denominators of Basic and Diluted Income (Loss) Per Share (Detail)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.graham-mfg.com/20260331/taxonomy/role/DisclosureTheCompanyAndItsAccountingPoliciesReconciliationOfNumeratorsAndDenominatorsOfBasicAndDilutedIncomeLossPerShareDetail</Role>
      <ShortName>The Company and Its Accounting Policies - Reconciliation of Numerators and Denominators of Basic and Diluted Income (Loss) Per Share (Detail)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>47</Position>
    </Report>
    <Report instance="ghm-20260331.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R48.htm</HtmlFileName>
      <LongName>995807 - Disclosure - The Company and Its Accounting Policies - Schedule Of Non-Cash Investing and Financing Activities (Detail)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.graham-mfg.com/20260331/taxonomy/role/DisclosureTheCompanyAndItsAccountingPoliciesScheduleOfNoncashInvestingAndFinancingActivitiesDetail</Role>
      <ShortName>The Company and Its Accounting Policies - Schedule Of Non-Cash Investing and Financing Activities (Detail)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>48</Position>
    </Report>
    <Report instance="ghm-20260331.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R49.htm</HtmlFileName>
      <LongName>995817 - Disclosure - Acquisition - Additional Information (Detail)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.graham-mfg.com/20260331/taxonomy/role/DisclosureAcquisitionAdditionalInformationDetail</Role>
      <ShortName>Acquisition - Additional Information (Detail)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>49</Position>
    </Report>
    <Report instance="ghm-20260331.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R50.htm</HtmlFileName>
      <LongName>995827 - Disclosure - Acquisition - Schedule of Final Purchase Price Allocation, After Adjustments of the Assets Acquired and Liabilities Assumed (Detail)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.graham-mfg.com/20260331/taxonomy/role/DisclosureAcquisitionScheduleOfFinalPurchasePriceAllocationAfterAdjustmentsOfTheAssetsAcquiredAndLiabilitiesAssumedDetail</Role>
      <ShortName>Acquisition - Schedule of Final Purchase Price Allocation, After Adjustments of the Assets Acquired and Liabilities Assumed (Detail)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>50</Position>
    </Report>
    <Report instance="ghm-20260331.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R51.htm</HtmlFileName>
      <LongName>995837 - Disclosure - Acquisition - Schedule of Contingent Earn Out Liability (Detail)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.graham-mfg.com/20260331/taxonomy/role/DisclosureAcquisitionScheduleOfContingentEarnOutLiabilityDetail</Role>
      <ShortName>Acquisition - Schedule of Contingent Earn Out Liability (Detail)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>51</Position>
    </Report>
    <Report instance="ghm-20260331.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R52.htm</HtmlFileName>
      <LongName>995847 - Disclosure - Acquisition - Schedule of Unaudited Pro Forma Information (Detail)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.graham-mfg.com/20260331/taxonomy/role/DisclosureAcquisitionScheduleOfUnauditedProFormaInformationDetail</Role>
      <ShortName>Acquisition - Schedule of Unaudited Pro Forma Information (Detail)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>52</Position>
    </Report>
    <Report instance="ghm-20260331.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R53.htm</HtmlFileName>
      <LongName>995857 - Disclosure - Revenue Recognition - Revenue Disaggregated by Product Line and Geographic Area (Detail)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.graham-mfg.com/20260331/taxonomy/role/DisclosureRevenueRecognitionRevenueDisaggregatedByProductLineAndGeographicAreaDetail</Role>
      <ShortName>Revenue Recognition - Revenue Disaggregated by Product Line and Geographic Area (Detail)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>53</Position>
    </Report>
    <Report instance="ghm-20260331.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R54.htm</HtmlFileName>
      <LongName>995867 - Disclosure - Revenue Recognition - Schedule of Disaggregation of Revenue (Detail)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.graham-mfg.com/20260331/taxonomy/role/DisclosureRevenueRecognitionScheduleOfDisaggregationOfRevenueDetail</Role>
      <ShortName>Revenue Recognition - Schedule of Disaggregation of Revenue (Detail)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>54</Position>
    </Report>
    <Report instance="ghm-20260331.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R55.htm</HtmlFileName>
      <LongName>995877 - Disclosure - Revenue Recognition - Additional Information (Detail)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.graham-mfg.com/20260331/taxonomy/role/Role_DisclosureRevenueRecognitionAdditionalInformationDetail</Role>
      <ShortName>Revenue Recognition - Additional Information (Detail)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>55</Position>
    </Report>
    <Report instance="ghm-20260331.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R56.htm</HtmlFileName>
      <LongName>995887 - Disclosure - Revenue Recognition - Schedule of Net Contract Assets (Liabilities) (Detail)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.graham-mfg.com/20260331/taxonomy/role/Role_DisclosureRevenueRecognitionScheduleOfNetContractAssetsLiabilitiesDetail</Role>
      <ShortName>Revenue Recognition - Schedule of Net Contract Assets (Liabilities) (Detail)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>56</Position>
    </Report>
    <Report instance="ghm-20260331.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R57.htm</HtmlFileName>
      <LongName>995897 - Disclosure - Revenue Recognition - Additional Information (Detail1)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.graham-mfg.com/20260331/taxonomy/role/Role_DisclosureRevenueRecognitionAdditionalInformationDetail1</Role>
      <ShortName>Revenue Recognition - Additional Information (Detail1)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>57</Position>
    </Report>
    <Report instance="ghm-20260331.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R58.htm</HtmlFileName>
      <LongName>995907 - Disclosure - Inventories - Major Classifications of Inventories (Detail)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.graham-mfg.com/20260331/taxonomy/role/Role_DisclosureInventoriesMajorClassificationsOfInventoriesDetail</Role>
      <ShortName>Inventories - Major Classifications of Inventories (Detail)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>58</Position>
    </Report>
    <Report instance="ghm-20260331.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R59.htm</HtmlFileName>
      <LongName>995917 - Disclosure - Property, Plant and Equipment - Summary of Property, Plant and Equipment (Detail)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.graham-mfg.com/20260331/taxonomy/role/Role_DisclosurePropertyPlantAndEquipmentSummaryOfPropertyPlantAndEquipmentDetail</Role>
      <ShortName>Property, Plant and Equipment - Summary of Property, Plant and Equipment (Detail)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>59</Position>
    </Report>
    <Report instance="ghm-20260331.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R60.htm</HtmlFileName>
      <LongName>995927 - Disclosure - Property, Plant and Equipment - Additional Information (Detail)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.graham-mfg.com/20260331/taxonomy/role/Role_DisclosurePropertyPlantAndEquipmentAdditionalInformationDetail</Role>
      <ShortName>Property, Plant and Equipment - Additional Information (Detail)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>60</Position>
    </Report>
    <Report instance="ghm-20260331.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R61.htm</HtmlFileName>
      <LongName>995937 - Disclosure - Intangible Assets - Schedule of Intangible assets (Detail)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.graham-mfg.com/20260331/taxonomy/role/DisclosureIntangibleAssetsScheduleOfIntangibleAssetsDetail</Role>
      <ShortName>Intangible Assets - Schedule of Intangible assets (Detail)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>61</Position>
    </Report>
    <Report instance="ghm-20260331.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R62.htm</HtmlFileName>
      <LongName>995957 - Disclosure - Intangible Assets - Additional Information (Detail)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.graham-mfg.com/20260331/taxonomy/role/DisclosureIntangibleAssetsAdditionalInformationDetail</Role>
      <ShortName>Intangible Assets - Additional Information (Detail)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>62</Position>
    </Report>
    <Report instance="ghm-20260331.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R63.htm</HtmlFileName>
      <LongName>995967 - Disclosure - Intangible Assets - Schedule of Estimated Annual Amortization Expense (Detail)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.graham-mfg.com/20260331/taxonomy/role/DisclosureIntangibleAssetsScheduleOfEstimatedAnnualAmortizationExpenseDetail</Role>
      <ShortName>Intangible Assets - Schedule of Estimated Annual Amortization Expense (Detail)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>63</Position>
    </Report>
    <Report instance="ghm-20260331.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R64.htm</HtmlFileName>
      <LongName>995977 - Disclosure - Product Warranty Liability - Reconciliation of the Changes in Product Warranty Liability (Detail)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.graham-mfg.com/20260331/taxonomy/role/Role_DisclosureProductWarrantyLiabilityReconciliationOfChangesInProductWarrantyLiabilityDetail</Role>
      <ShortName>Product Warranty Liability - Reconciliation of the Changes in Product Warranty Liability (Detail)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>64</Position>
    </Report>
    <Report instance="ghm-20260331.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R65.htm</HtmlFileName>
      <LongName>995987 - Disclosure - Leases - Additional Information (Detail)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.graham-mfg.com/20260331/taxonomy/role/Role_DisclosureLeasesAdditionalInformationDetail</Role>
      <ShortName>Leases - Additional Information (Detail)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>65</Position>
    </Report>
    <Report instance="ghm-20260331.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R66.htm</HtmlFileName>
      <LongName>995997 - Disclosure - Leases - Summary of Weighted Average Remaining Lease Term and Discount Rate for Finance and Operating Leases (Detail)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.graham-mfg.com/20260331/taxonomy/role/Role_DisclosureLeasesSummaryOfWeightedAverageRemainingLeaseTermAndDiscountRateForFinanceAndOperatingLeasesDetail</Role>
      <ShortName>Leases - Summary of Weighted Average Remaining Lease Term and Discount Rate for Finance and Operating Leases (Detail)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>66</Position>
    </Report>
    <Report instance="ghm-20260331.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R67.htm</HtmlFileName>
      <LongName>996007 - Disclosure - Leases - Summary of Components of Lease Expense (Detail)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.graham-mfg.com/20260331/taxonomy/role/Role_DisclosureLeasesSummaryOfComponentsOfLeaseExpenseDetail</Role>
      <ShortName>Leases - Summary of Components of Lease Expense (Detail)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>67</Position>
    </Report>
    <Report instance="ghm-20260331.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R68.htm</HtmlFileName>
      <LongName>996017 - Disclosure - Leases - Future Minimum Payments Required under Non-cancelable Leases (Detail)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.graham-mfg.com/20260331/taxonomy/role/Role_DisclosureLeasesFutureMinimumPaymentsRequiredUnderNonCancelableLeasesDetail</Role>
      <ShortName>Leases - Future Minimum Payments Required under Non-cancelable Leases (Detail)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>68</Position>
    </Report>
    <Report instance="ghm-20260331.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R69.htm</HtmlFileName>
      <LongName>996037 - Disclosure - Debt - Additional Information (Detail)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.graham-mfg.com/20260331/taxonomy/role/Role_DisclosureDebtAdditionalInformationDetail</Role>
      <ShortName>Debt - Additional Information (Detail)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>69</Position>
    </Report>
    <Report instance="ghm-20260331.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R70.htm</HtmlFileName>
      <LongName>996047 - Disclosure - Financial Instruments and Derivative Financial Instruments - Additional Information (Detail)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.graham-mfg.com/20260331/taxonomy/role/Role_DisclosureFinancialInstrumentsAndDerivativeFinancialInstrumentsAdditionalInformationDetail</Role>
      <ShortName>Financial Instruments and Derivative Financial Instruments - Additional Information (Detail)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>70</Position>
    </Report>
    <Report instance="ghm-20260331.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R71.htm</HtmlFileName>
      <LongName>996057 - Disclosure - Income Taxes - Components of Income Before Provision for Income Taxes (Detail)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.graham-mfg.com/20260331/taxonomy/role/DisclosureIncomeTaxesComponentsOfIncomeBeforeProvisionForIncomeTaxesDetail</Role>
      <ShortName>Income Taxes - Components of Income Before Provision for Income Taxes (Detail)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>71</Position>
    </Report>
    <Report instance="ghm-20260331.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R72.htm</HtmlFileName>
      <LongName>996067 - Disclosure - Income Taxes - The Provision for Income Taxes (Detail)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.graham-mfg.com/20260331/taxonomy/role/DisclosureIncomeTaxesTheProvisionForIncomeTaxesDetail</Role>
      <ShortName>Income Taxes - The Provision for Income Taxes (Detail)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>72</Position>
    </Report>
    <Report instance="ghm-20260331.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R73.htm</HtmlFileName>
      <LongName>996077 - Disclosure - Income Taxes - Reconciliation of the Provision for Income Taxes (Detail)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.graham-mfg.com/20260331/taxonomy/role/DisclosureIncomeTaxesReconciliationOfTheProvisionForIncomeTaxesDetail</Role>
      <ShortName>Income Taxes - Reconciliation of the Provision for Income Taxes (Detail)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>73</Position>
    </Report>
    <Report instance="ghm-20260331.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R74.htm</HtmlFileName>
      <LongName>996097 - Disclosure - Income Taxes - Summary of Cash Paid for Income Taxes, Net of Refunds (Detail)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.graham-mfg.com/20260331/taxonomy/role/DisclosureIncomeTaxesSummaryOfCashPaidForIncomeTaxesNetOfRefundsDetail</Role>
      <ShortName>Income Taxes - Summary of Cash Paid for Income Taxes, Net of Refunds (Detail)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>74</Position>
    </Report>
    <Report instance="ghm-20260331.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R75.htm</HtmlFileName>
      <LongName>996107 - Disclosure - Income Taxes - Summary of Net Deferred Income Tax Liability (Detail)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.graham-mfg.com/20260331/taxonomy/role/Role_DisclosureIncomeTaxesSummaryOfNetDeferredIncomeTaxLiabilityDetail</Role>
      <ShortName>Income Taxes - Summary of Net Deferred Income Tax Liability (Detail)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>75</Position>
    </Report>
    <Report instance="ghm-20260331.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R76.htm</HtmlFileName>
      <LongName>996127 - Disclosure - Income Taxes - Additional Information (Detail)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.graham-mfg.com/20260331/taxonomy/role/Role_DisclosureIncomeTaxesAdditionalInformationDetail</Role>
      <ShortName>Income Taxes - Additional Information (Detail)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>76</Position>
    </Report>
    <Report instance="ghm-20260331.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R77.htm</HtmlFileName>
      <LongName>996137 - Disclosure - Employee Benefit Plans - Additional Information (Detail)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.graham-mfg.com/20260331/taxonomy/role/Role_DisclosureEmployeeBenefitPlansAdditionalInformationDetail</Role>
      <ShortName>Employee Benefit Plans - Additional Information (Detail)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>77</Position>
    </Report>
    <Report instance="ghm-20260331.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R78.htm</HtmlFileName>
      <LongName>996147 - Disclosure - Employee Benefit Plans - Components of Pension Cost (Detail)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.graham-mfg.com/20260331/taxonomy/role/DisclosureEmployeeBenefitPlansComponentsOfPensionCostDetail</Role>
      <ShortName>Employee Benefit Plans - Components of Pension Cost (Detail)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>78</Position>
    </Report>
    <Report instance="ghm-20260331.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R79.htm</HtmlFileName>
      <LongName>996157 - Disclosure - Employee Benefit Plans - Weighted Average Actuarial Assumptions Used to Determine Net Pension Cost (Detail)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.graham-mfg.com/20260331/taxonomy/role/Role_DisclosureEmployeeBenefitPlansWeightedAverageActuarialAssumptionsUsedToDetermineNetPensionCostDetail</Role>
      <ShortName>Employee Benefit Plans - Weighted Average Actuarial Assumptions Used to Determine Net Pension Cost (Detail)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>79</Position>
    </Report>
    <Report instance="ghm-20260331.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R80.htm</HtmlFileName>
      <LongName>996167 - Disclosure - Employee Benefit Plans - Changes in Company's Benefit Obligation, Plan Assets and Funded Status for Plan (Detail)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.graham-mfg.com/20260331/taxonomy/role/Role_DisclosureEmployeeBenefitPlansChangesInCompanySBenefitObligationPlanAssetsAndFundedStatusForPlanDetail</Role>
      <ShortName>Employee Benefit Plans - Changes in Company's Benefit Obligation, Plan Assets and Funded Status for Plan (Detail)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>80</Position>
    </Report>
    <Report instance="ghm-20260331.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R81.htm</HtmlFileName>
      <LongName>996177 - Disclosure - Employee Benefit Plans - Weighted Average Actuarial Assumptions Used to Determine Benefit Obligation (Detail)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.graham-mfg.com/20260331/taxonomy/role/Role_DisclosureEmployeeBenefitPlansWeightedAverageActuarialAssumptionsUsedToDetermineBenefitObligationDetail</Role>
      <ShortName>Employee Benefit Plans - Weighted Average Actuarial Assumptions Used to Determine Benefit Obligation (Detail)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>81</Position>
    </Report>
    <Report instance="ghm-20260331.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R82.htm</HtmlFileName>
      <LongName>996187 - Disclosure - Employee Benefit Plans - Summary of Amounts Recognized in Accumulated Other Comprehensive Loss, Net of Income Tax (Detail)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.graham-mfg.com/20260331/taxonomy/role/Role_DisclosureEmployeeBenefitPlansSummaryOfAmountsRecognizedInAccumulatedOtherComprehensiveLossNetOfIncomeTaxDetail</Role>
      <ShortName>Employee Benefit Plans - Summary of Amounts Recognized in Accumulated Other Comprehensive Loss, Net of Income Tax (Detail)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>82</Position>
    </Report>
    <Report instance="ghm-20260331.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R83.htm</HtmlFileName>
      <LongName>996197 - Disclosure - Employee Benefit Plans - Summary of Increase (Decrease) in Accumulated Other Comprehensive Loss, Net of Income Tax (Detail)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.graham-mfg.com/20260331/taxonomy/role/Role_DisclosureEmployeeBenefitPlansSummaryOfIncreaseDecreaseInAccumulatedOtherComprehensiveLossNetOfIncomeTaxDetail</Role>
      <ShortName>Employee Benefit Plans - Summary of Increase (Decrease) in Accumulated Other Comprehensive Loss, Net of Income Tax (Detail)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>83</Position>
    </Report>
    <Report instance="ghm-20260331.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R84.htm</HtmlFileName>
      <LongName>996207 - Disclosure - Employee Benefit Plans - Summary of Benefit Payments, Which Reflect Future Service, are Expected to be Paid (Detail)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.graham-mfg.com/20260331/taxonomy/role/Role_DisclosureEmployeeBenefitPlansSummaryOfBenefitPaymentsWhichReflectFutureServiceAreExpectedToBePaidDetail</Role>
      <ShortName>Employee Benefit Plans - Summary of Benefit Payments, Which Reflect Future Service, are Expected to be Paid (Detail)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>84</Position>
    </Report>
    <Report instance="ghm-20260331.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R85.htm</HtmlFileName>
      <LongName>996217 - Disclosure - Employee Benefit Plans - Summary of Weighted Average Asset Allocation of Plan Assets by Asset Category (Detail)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.graham-mfg.com/20260331/taxonomy/role/Role_DisclosureEmployeeBenefitPlansSummaryOfWeightedAverageAssetAllocationOfPlanAssetsByAssetCategoryDetail</Role>
      <ShortName>Employee Benefit Plans - Summary of Weighted Average Asset Allocation of Plan Assets by Asset Category (Detail)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>85</Position>
    </Report>
    <Report instance="ghm-20260331.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R86.htm</HtmlFileName>
      <LongName>996227 - Disclosure - Employee Benefit Plans - Fair Values of Company's Pension Plan Assets by Asset Category (Detail)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.graham-mfg.com/20260331/taxonomy/role/Role_DisclosureEmployeeBenefitPlansFairValuesOfCompanySPensionPlanAssetsByAssetCategoryDetail</Role>
      <ShortName>Employee Benefit Plans - Fair Values of Company's Pension Plan Assets by Asset Category (Detail)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>86</Position>
    </Report>
    <Report instance="ghm-20260331.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R87.htm</HtmlFileName>
      <LongName>996237 - Disclosure - Stock Compensation Plans - Additional Information (Detail)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.graham-mfg.com/20260331/taxonomy/role/DisclosureStockCompensationPlansAdditionalInformationDetail</Role>
      <ShortName>Stock Compensation Plans - Additional Information (Detail)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>87</Position>
    </Report>
    <Report instance="ghm-20260331.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R88.htm</HtmlFileName>
      <LongName>996247 - Disclosure - Stock Compensation Plans - Schedule of Time-Vesting Restricted Stock Units ("RSUs") and Performance-Vesting Restricted Stock Units ("PSUs") Granted (Detail)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.graham-mfg.com/20260331/taxonomy/role/DisclosureStockCompensationPlansScheduleOfTimevestingRestrictedStockUnitsRsusAndPerformancevestingRestrictedStockUnitsPsusGrantedDetail</Role>
      <ShortName>Stock Compensation Plans - Schedule of Time-Vesting Restricted Stock Units ("RSUs") and Performance-Vesting Restricted Stock Units ("PSUs") Granted (Detail)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>88</Position>
    </Report>
    <Report instance="ghm-20260331.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R89.htm</HtmlFileName>
      <LongName>996257 - Disclosure - Stock Compensation Plans - Schedule of Restricted Stock Units ("RSUs"), Performance Stock Units ("PSUs"), and Restricted Stock Awards ("RSAs") Granted (Parenthetical) (Detail)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.graham-mfg.com/20260331/taxonomy/role/DisclosureStockCompensationPlansScheduleOfRestrictedStockUnitsRsusPerformanceStockUnitsPsusAndRestrictedStockAwardsRsasGrantedParenthetica</Role>
      <ShortName>Stock Compensation Plans - Schedule of Restricted Stock Units ("RSUs"), Performance Stock Units ("PSUs"), and Restricted Stock Awards ("RSAs") Granted (Parenthetical) (Detail)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>89</Position>
    </Report>
    <Report instance="ghm-20260331.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R90.htm</HtmlFileName>
      <LongName>996267 - Disclosure - Stock Compensation Plans - Summary of Stock-Based Compensation Cost and Related Tax Benefits (Detail)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.graham-mfg.com/20260331/taxonomy/role/DisclosureStockCompensationPlansSummaryOfStockbasedCompensationCostAndRelatedTaxBenefitsDetail</Role>
      <ShortName>Stock Compensation Plans - Summary of Stock-Based Compensation Cost and Related Tax Benefits (Detail)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>90</Position>
    </Report>
    <Report instance="ghm-20260331.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R91.htm</HtmlFileName>
      <LongName>996277 - Disclosure - Stock Compensation Plans - Schedule of Restricted Stock Awards (Detail)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.graham-mfg.com/20260331/taxonomy/role/DisclosureStockCompensationPlansScheduleOfRestrictedStockAwardsDetail</Role>
      <ShortName>Stock Compensation Plans - Schedule of Restricted Stock Awards (Detail)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>91</Position>
    </Report>
    <Report instance="ghm-20260331.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R92.htm</HtmlFileName>
      <LongName>996287 - Disclosure - Stock Compensation Plans - Summary of Issuance of Shares, Stock-Based Compensation Cost and Related Tax Benefits (Detail)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.graham-mfg.com/20260331/taxonomy/role/DisclosureStockCompensationPlansSummaryOfIssuanceOfSharesStockbasedCompensationCostAndRelatedTaxBenefitsDetail</Role>
      <ShortName>Stock Compensation Plans - Summary of Issuance of Shares, Stock-Based Compensation Cost and Related Tax Benefits (Detail)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>92</Position>
    </Report>
    <Report instance="ghm-20260331.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R93.htm</HtmlFileName>
      <LongName>996297 - Disclosure - Changes in Accumulated Other Comprehensive Loss - Changes in Accumulated Other Comprehensive Loss by Component (Detail)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.graham-mfg.com/20260331/taxonomy/role/Role_DisclosureChangesInAccumulatedOtherComprehensiveLossChangesInAccumulatedOtherComprehensiveLossByComponentDetail</Role>
      <ShortName>Changes in Accumulated Other Comprehensive Loss - Changes in Accumulated Other Comprehensive Loss by Component (Detail)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>93</Position>
    </Report>
    <Report instance="ghm-20260331.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R94.htm</HtmlFileName>
      <LongName>996307 - Disclosure - Changes in Accumulated Other Comprehensive Loss - Reclassifications Out of Accumulated Other Comprehensive Loss by Component (Detail)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.graham-mfg.com/20260331/taxonomy/role/Role_DisclosureChangesInAccumulatedOtherComprehensiveLossReclassificationsOutOfAccumulatedOtherComprehensiveLossByComponentDetail</Role>
      <ShortName>Changes in Accumulated Other Comprehensive Loss - Reclassifications Out of Accumulated Other Comprehensive Loss by Component (Detail)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>94</Position>
    </Report>
    <Report instance="ghm-20260331.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R95.htm</HtmlFileName>
      <LongName>996317 - Disclosure - Segment Information - Additional Information (Detail)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.graham-mfg.com/20260331/taxonomy/role/Role_DisclosureSegmentInformationAdditionalInformationDetail</Role>
      <ShortName>Segment Information - Additional Information (Detail)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>95</Position>
    </Report>
    <Report instance="ghm-20260331.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R96.htm</HtmlFileName>
      <LongName>996327 - Disclosure - Segment Information - Schedule of Reconciliation from Consolidated Net income to Consolidated Adjusted EBITDA (Detail)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.graham-mfg.com/20260331/taxonomy/role/DisclosureSegmentInformationScheduleOfReconciliationFromConsolidatedNetIncomeToConsolidatedAdjustedEbitdaDetail</Role>
      <ShortName>Segment Information - Schedule of Reconciliation from Consolidated Net income to Consolidated Adjusted EBITDA (Detail)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>96</Position>
    </Report>
    <Report instance="ghm-20260331.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R97.htm</HtmlFileName>
      <LongName>996337 - Disclosure - Purchase of Treasury Stock - Additional Information (Detail)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.graham-mfg.com/20260331/taxonomy/role/Role_DisclosurePurchaseOfTreasuryStockAdditionalInformationDetail</Role>
      <ShortName>Purchase of Treasury Stock - Additional Information (Detail)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>97</Position>
    </Report>
    <Report instance="ghm-20260331.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R98.htm</HtmlFileName>
      <LongName>996347 - Disclosure - Subsequent Events - Additional Information (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.graham-mfg.com/20260331/taxonomy/role/DisclosureSubsequentEventsAdditionalInformationDetails</Role>
      <ShortName>Subsequent Events - Additional Information (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>98</Position>
    </Report>
    <Report instance="ghm-20260331.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R99.htm</HtmlFileName>
      <LongName>996357 - Disclosure - Schedule II - Valuation and Qualifying Accounts (Detail)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.graham-mfg.com/20260331/taxonomy/role/Role_DisclosureScheduleIIValuationAndQualifyingAccountsDetail</Role>
      <ShortName>Schedule II - Valuation and Qualifying Accounts (Detail)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://www.graham-mfg.com/20260331/taxonomy/role/Role_DisclosureScheduleIIValuationAndQualifyingAccounts</ParentRole>
      <Position>99</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="10-K" isDefinitelyFs="true" isUsgaap="true" original="ghm-20260331.htm">ghm-20260331.htm</File>
    <File>ghm-20260331.xsd</File>
  </InputFiles>
  <SupplementalFiles>
    <File>img25959575_0.gif</File>
    <File>img25959575_1.jpg</File>
  </SupplementalFiles>
  <BaseTaxonomies>
    <BaseTaxonomy items="3">http://fasb.org/srt/2025</BaseTaxonomy>
    <BaseTaxonomy items="1119">http://fasb.org/us-gaap/2025</BaseTaxonomy>
    <BaseTaxonomy items="15">http://xbrl.sec.gov/cyd/2025</BaseTaxonomy>
    <BaseTaxonomy items="38">http://xbrl.sec.gov/dei/2025</BaseTaxonomy>
    <BaseTaxonomy items="5">http://xbrl.sec.gov/ecd/2025</BaseTaxonomy>
  </BaseTaxonomies>
  <HasPresentationLinkbase>false</HasPresentationLinkbase>
  <HasCalculationLinkbase>false</HasCalculationLinkbase>
</FilingSummary>
