<?xml version='1.0' encoding='utf-8'?>
<FilingSummary>
  <Version>3.21.2</Version>
  <ProcessingTime/>
  <ReportFormat>html</ReportFormat>
  <ContextCount>223</ContextCount>
  <ElementCount>406</ElementCount>
  <EntityCount>1</EntityCount>
  <FootnotesReported>false</FootnotesReported>
  <SegmentCount>67</SegmentCount>
  <ScenarioCount>0</ScenarioCount>
  <TuplesReported>false</TuplesReported>
  <UnitCount>4</UnitCount>
  <MyReports>
    <Report instance="ghm-10q_20210930.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R1.htm</HtmlFileName>
      <LongName>100000 - Document - Document and Entity Information</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.graham-mfg.com/20210930/taxonomy/role/DocumentDocumentAndEntityInformation</Role>
      <ShortName>Document and Entity Information</ShortName>
      <MenuCategory>Cover</MenuCategory>
      <Position>1</Position>
    </Report>
    <Report instance="ghm-10q_20210930.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R2.htm</HtmlFileName>
      <LongName>100010 - Statement - Condensed Consolidated Statements of Operations (Unaudited)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.graham-mfg.com/20210930/taxonomy/role/StatementCondensedConsolidatedStatementsOfOperationsUnaudited</Role>
      <ShortName>Condensed Consolidated Statements of Operations (Unaudited)</ShortName>
      <MenuCategory>Statements</MenuCategory>
      <Position>2</Position>
    </Report>
    <Report instance="ghm-10q_20210930.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R3.htm</HtmlFileName>
      <LongName>100020 - Statement - Condensed Consolidated Statements of Comprehensive (Loss) Income (Unaudited)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.graham-mfg.com/20210930/taxonomy/role/StatementCondensedConsolidatedStatementsOfComprehensiveLossIncomeUnaudited</Role>
      <ShortName>Condensed Consolidated Statements of Comprehensive (Loss) Income (Unaudited)</ShortName>
      <MenuCategory>Statements</MenuCategory>
      <Position>3</Position>
    </Report>
    <Report instance="ghm-10q_20210930.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R4.htm</HtmlFileName>
      <LongName>100030 - Statement - Condensed Consolidated Statements of Comprehensive (Loss) Income (Unaudited) (Parenthetical)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.graham-mfg.com/20210930/taxonomy/role/StatementCondensedConsolidatedStatementsOfComprehensiveLossIncomeUnauditedParenthetical</Role>
      <ShortName>Condensed Consolidated Statements of Comprehensive (Loss) Income (Unaudited) (Parenthetical)</ShortName>
      <MenuCategory>Statements</MenuCategory>
      <Position>4</Position>
    </Report>
    <Report instance="ghm-10q_20210930.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R5.htm</HtmlFileName>
      <LongName>100040 - Statement - Condensed Consolidated Balance Sheets (Unaudited)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.graham-mfg.com/20210930/taxonomy/role/StatementCondensedConsolidatedBalanceSheetsUnaudited</Role>
      <ShortName>Condensed Consolidated Balance Sheets (Unaudited)</ShortName>
      <MenuCategory>Statements</MenuCategory>
      <Position>5</Position>
    </Report>
    <Report instance="ghm-10q_20210930.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R6.htm</HtmlFileName>
      <LongName>100050 - Statement - Condensed Consolidated Balance Sheets (Unaudited) (Parenthetical)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.graham-mfg.com/20210930/taxonomy/role/StatementCondensedConsolidatedBalanceSheetsUnauditedParenthetical</Role>
      <ShortName>Condensed Consolidated Balance Sheets (Unaudited) (Parenthetical)</ShortName>
      <MenuCategory>Statements</MenuCategory>
      <Position>6</Position>
    </Report>
    <Report instance="ghm-10q_20210930.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R7.htm</HtmlFileName>
      <LongName>100060 - Statement - Condensed Consolidated Statements of Cash Flows (Unaudited)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.graham-mfg.com/20210930/taxonomy/role/StatementCondensedConsolidatedStatementsOfCashFlowsUnaudited</Role>
      <ShortName>Condensed Consolidated Statements of Cash Flows (Unaudited)</ShortName>
      <MenuCategory>Statements</MenuCategory>
      <Position>7</Position>
    </Report>
    <Report instance="ghm-10q_20210930.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R8.htm</HtmlFileName>
      <LongName>100070 - Statement - Condensed Consolidated Statements of Changes in Stockholders' Equity</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.graham-mfg.com/20210930/taxonomy/role/StatementCondensedConsolidatedStatementsOfChangesInStockholdersEquity</Role>
      <ShortName>Condensed Consolidated Statements of Changes in Stockholders' Equity</ShortName>
      <MenuCategory>Statements</MenuCategory>
      <Position>8</Position>
    </Report>
    <Report instance="ghm-10q_20210930.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R9.htm</HtmlFileName>
      <LongName>100080 - Disclosure - Basis of Presentation</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.graham-mfg.com/20210930/taxonomy/role/DisclosureBasisOfPresentation</Role>
      <ShortName>Basis of Presentation</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>9</Position>
    </Report>
    <Report instance="ghm-10q_20210930.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R10.htm</HtmlFileName>
      <LongName>100090 - Disclosure - Acquisition</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.graham-mfg.com/20210930/taxonomy/role/DisclosureAcquisition</Role>
      <ShortName>Acquisition</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>10</Position>
    </Report>
    <Report instance="ghm-10q_20210930.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R11.htm</HtmlFileName>
      <LongName>100100 - Disclosure - Revenue Recognition</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.graham-mfg.com/20210930/taxonomy/role/DisclosureRevenueRecognition</Role>
      <ShortName>Revenue Recognition</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>11</Position>
    </Report>
    <Report instance="ghm-10q_20210930.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R12.htm</HtmlFileName>
      <LongName>100110 - Disclosure - Investments</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.graham-mfg.com/20210930/taxonomy/role/DisclosureInvestments</Role>
      <ShortName>Investments</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>12</Position>
    </Report>
    <Report instance="ghm-10q_20210930.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R13.htm</HtmlFileName>
      <LongName>100120 - Disclosure - Inventories</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.graham-mfg.com/20210930/taxonomy/role/DisclosureInventories</Role>
      <ShortName>Inventories</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>13</Position>
    </Report>
    <Report instance="ghm-10q_20210930.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R14.htm</HtmlFileName>
      <LongName>100130 - Disclosure - Equity-Based Compensation</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.graham-mfg.com/20210930/taxonomy/role/DisclosureEquityBasedCompensation</Role>
      <ShortName>Equity-Based Compensation</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>14</Position>
    </Report>
    <Report instance="ghm-10q_20210930.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R15.htm</HtmlFileName>
      <LongName>100140 - Disclosure - (Loss) Income Per Share</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.graham-mfg.com/20210930/taxonomy/role/DisclosureLossIncomePerShare</Role>
      <ShortName>(Loss) Income Per Share</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>15</Position>
    </Report>
    <Report instance="ghm-10q_20210930.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R16.htm</HtmlFileName>
      <LongName>100150 - Disclosure - Product Warranty Liability</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.graham-mfg.com/20210930/taxonomy/role/DisclosureProductWarrantyLiability</Role>
      <ShortName>Product Warranty Liability</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>16</Position>
    </Report>
    <Report instance="ghm-10q_20210930.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R17.htm</HtmlFileName>
      <LongName>100160 - Disclosure - Cash Flow Statement</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.graham-mfg.com/20210930/taxonomy/role/DisclosureCashFlowStatement</Role>
      <ShortName>Cash Flow Statement</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>17</Position>
    </Report>
    <Report instance="ghm-10q_20210930.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R18.htm</HtmlFileName>
      <LongName>100170 - Disclosure - Employee Benefit Plans</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.graham-mfg.com/20210930/taxonomy/role/DisclosureEmployeeBenefitPlans</Role>
      <ShortName>Employee Benefit Plans</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>18</Position>
    </Report>
    <Report instance="ghm-10q_20210930.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R19.htm</HtmlFileName>
      <LongName>100180 - Disclosure - Commitments and Contingencies</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.graham-mfg.com/20210930/taxonomy/role/DisclosureCommitmentsAndContingencies</Role>
      <ShortName>Commitments and Contingencies</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>19</Position>
    </Report>
    <Report instance="ghm-10q_20210930.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R20.htm</HtmlFileName>
      <LongName>100190 - Disclosure - Income Taxes</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.graham-mfg.com/20210930/taxonomy/role/DisclosureIncomeTaxes</Role>
      <ShortName>Income Taxes</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>20</Position>
    </Report>
    <Report instance="ghm-10q_20210930.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R21.htm</HtmlFileName>
      <LongName>100200 - Disclosure - Changes in Accumulated Other Comprehensive Loss</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.graham-mfg.com/20210930/taxonomy/role/DisclosureChangesInAccumulatedOtherComprehensiveLoss</Role>
      <ShortName>Changes in Accumulated Other Comprehensive Loss</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>21</Position>
    </Report>
    <Report instance="ghm-10q_20210930.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R22.htm</HtmlFileName>
      <LongName>100210 - Disclosure - Leases</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.graham-mfg.com/20210930/taxonomy/role/DisclosureLeases</Role>
      <ShortName>Leases</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>22</Position>
    </Report>
    <Report instance="ghm-10q_20210930.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R23.htm</HtmlFileName>
      <LongName>100220 - Disclosure - Debt</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.graham-mfg.com/20210930/taxonomy/role/DisclosureDebt</Role>
      <ShortName>Debt</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>23</Position>
    </Report>
    <Report instance="ghm-10q_20210930.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R24.htm</HtmlFileName>
      <LongName>100230 - Disclosure - Accounting and Reporting Changes</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.graham-mfg.com/20210930/taxonomy/role/DisclosureAccountingAndReportingChanges</Role>
      <ShortName>Accounting and Reporting Changes</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>24</Position>
    </Report>
    <Report instance="ghm-10q_20210930.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R25.htm</HtmlFileName>
      <LongName>100240 - Disclosure - Other Operating Income, Net</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.graham-mfg.com/20210930/taxonomy/role/DisclosureOtherOperatingIncomeNet</Role>
      <ShortName>Other Operating Income, Net</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>25</Position>
    </Report>
    <Report instance="ghm-10q_20210930.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R26.htm</HtmlFileName>
      <LongName>100250 - Disclosure - Subsequent Events</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.graham-mfg.com/20210930/taxonomy/role/DisclosureSubsequentEvents</Role>
      <ShortName>Subsequent Events</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>26</Position>
    </Report>
    <Report instance="ghm-10q_20210930.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R27.htm</HtmlFileName>
      <LongName>100260 - Disclosure - Acquisition  (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.graham-mfg.com/20210930/taxonomy/role/DisclosureAcquisitionTables</Role>
      <ShortName>Acquisition  (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://www.graham-mfg.com/20210930/taxonomy/role/DisclosureAcquisition</ParentRole>
      <Position>27</Position>
    </Report>
    <Report instance="ghm-10q_20210930.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R28.htm</HtmlFileName>
      <LongName>100270 - Disclosure - Revenue Recognition (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.graham-mfg.com/20210930/taxonomy/role/DisclosureRevenueRecognitionTables</Role>
      <ShortName>Revenue Recognition (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://www.graham-mfg.com/20210930/taxonomy/role/DisclosureRevenueRecognition</ParentRole>
      <Position>28</Position>
    </Report>
    <Report instance="ghm-10q_20210930.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R29.htm</HtmlFileName>
      <LongName>100280 - Disclosure - Inventories (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.graham-mfg.com/20210930/taxonomy/role/DisclosureInventoriesTables</Role>
      <ShortName>Inventories (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://www.graham-mfg.com/20210930/taxonomy/role/DisclosureInventories</ParentRole>
      <Position>29</Position>
    </Report>
    <Report instance="ghm-10q_20210930.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R30.htm</HtmlFileName>
      <LongName>100290 - Disclosure - (Loss) Income Per Share (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.graham-mfg.com/20210930/taxonomy/role/DisclosureLossIncomePerShareTables</Role>
      <ShortName>(Loss) Income Per Share (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://www.graham-mfg.com/20210930/taxonomy/role/DisclosureLossIncomePerShare</ParentRole>
      <Position>30</Position>
    </Report>
    <Report instance="ghm-10q_20210930.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R31.htm</HtmlFileName>
      <LongName>100300 - Disclosure - Product Warranty Liability (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.graham-mfg.com/20210930/taxonomy/role/DisclosureProductWarrantyLiabilityTables</Role>
      <ShortName>Product Warranty Liability (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://www.graham-mfg.com/20210930/taxonomy/role/DisclosureProductWarrantyLiability</ParentRole>
      <Position>31</Position>
    </Report>
    <Report instance="ghm-10q_20210930.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R32.htm</HtmlFileName>
      <LongName>100310 - Disclosure - Employee Benefit Plans (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.graham-mfg.com/20210930/taxonomy/role/DisclosureEmployeeBenefitPlansTables</Role>
      <ShortName>Employee Benefit Plans (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://www.graham-mfg.com/20210930/taxonomy/role/DisclosureEmployeeBenefitPlans</ParentRole>
      <Position>32</Position>
    </Report>
    <Report instance="ghm-10q_20210930.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R33.htm</HtmlFileName>
      <LongName>100320 - Disclosure - Changes in Accumulated Other Comprehensive Loss (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.graham-mfg.com/20210930/taxonomy/role/DisclosureChangesInAccumulatedOtherComprehensiveLossTables</Role>
      <ShortName>Changes in Accumulated Other Comprehensive Loss (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://www.graham-mfg.com/20210930/taxonomy/role/DisclosureChangesInAccumulatedOtherComprehensiveLoss</ParentRole>
      <Position>33</Position>
    </Report>
    <Report instance="ghm-10q_20210930.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R34.htm</HtmlFileName>
      <LongName>100330 - Disclosure - Leases (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.graham-mfg.com/20210930/taxonomy/role/DisclosureLeasesTables</Role>
      <ShortName>Leases (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://www.graham-mfg.com/20210930/taxonomy/role/DisclosureLeases</ParentRole>
      <Position>34</Position>
    </Report>
    <Report instance="ghm-10q_20210930.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R35.htm</HtmlFileName>
      <LongName>100340 - Disclosure - Acquisition - Additional Information (Detail)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.graham-mfg.com/20210930/taxonomy/role/DisclosureAcquisitionAdditionalInformationDetail</Role>
      <ShortName>Acquisition - Additional Information (Detail)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>35</Position>
    </Report>
    <Report instance="ghm-10q_20210930.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R36.htm</HtmlFileName>
      <LongName>100350 - Disclosure - Acquisition - Schedule of Purchase Price Allocated to Intangible Assets on Preliminary Basis (Detail)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.graham-mfg.com/20210930/taxonomy/role/DisclosureAcquisitionScheduleOfPurchasePriceAllocatedToIntangibleAssetsOnPreliminaryBasisDetail</Role>
      <ShortName>Acquisition - Schedule of Purchase Price Allocated to Intangible Assets on Preliminary Basis (Detail)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>36</Position>
    </Report>
    <Report instance="ghm-10q_20210930.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R37.htm</HtmlFileName>
      <LongName>100360 - Disclosure - Acquisition - Schedule of Estimated Annual Amortization Expense (Detail)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.graham-mfg.com/20210930/taxonomy/role/DisclosureAcquisitionScheduleOfEstimatedAnnualAmortizationExpenseDetail</Role>
      <ShortName>Acquisition - Schedule of Estimated Annual Amortization Expense (Detail)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>37</Position>
    </Report>
    <Report instance="ghm-10q_20210930.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R38.htm</HtmlFileName>
      <LongName>100370 - Disclosure - Acquisition - Schedule of Preliminary Allocation of Cost of Acquisition to Assets Acquired and Liabilities Assumed (Detail)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.graham-mfg.com/20210930/taxonomy/role/DisclosureAcquisitionScheduleOfPreliminaryAllocationOfCostOfAcquisitionToAssetsAcquiredAndLiabilitiesAssumedDetail</Role>
      <ShortName>Acquisition - Schedule of Preliminary Allocation of Cost of Acquisition to Assets Acquired and Liabilities Assumed (Detail)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>38</Position>
    </Report>
    <Report instance="ghm-10q_20210930.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R39.htm</HtmlFileName>
      <LongName>100380 - Disclosure - Acquisition - Schedule of Unaudited Pro Forma Information (Detail)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.graham-mfg.com/20210930/taxonomy/role/DisclosureAcquisitionScheduleOfUnauditedProFormaInformationDetail</Role>
      <ShortName>Acquisition - Schedule of Unaudited Pro Forma Information (Detail)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>39</Position>
    </Report>
    <Report instance="ghm-10q_20210930.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R40.htm</HtmlFileName>
      <LongName>100390 - Disclosure - Revenue Recognition - Revenue Disaggregated by Product Line and Geographic Area (Detail)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.graham-mfg.com/20210930/taxonomy/role/DisclosureRevenueRecognitionRevenueDisaggregatedByProductLineAndGeographicAreaDetail</Role>
      <ShortName>Revenue Recognition - Revenue Disaggregated by Product Line and Geographic Area (Detail)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>40</Position>
    </Report>
    <Report instance="ghm-10q_20210930.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R41.htm</HtmlFileName>
      <LongName>100400 - Disclosure - Revenue Recognition - Additional Information (Detail)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.graham-mfg.com/20210930/taxonomy/role/DisclosureRevenueRecognitionAdditionalInformationDetail</Role>
      <ShortName>Revenue Recognition - Additional Information (Detail)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>41</Position>
    </Report>
    <Report instance="ghm-10q_20210930.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R42.htm</HtmlFileName>
      <LongName>100410 - Disclosure - Revenue Recognition - Schedule of Net Contract Assets (Liabilities) (Detail)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.graham-mfg.com/20210930/taxonomy/role/DisclosureRevenueRecognitionScheduleOfNetContractAssetsLiabilitiesDetail</Role>
      <ShortName>Revenue Recognition - Schedule of Net Contract Assets (Liabilities) (Detail)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>42</Position>
    </Report>
    <Report instance="ghm-10q_20210930.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R43.htm</HtmlFileName>
      <LongName>100420 - Disclosure - Revenue Recognition - Additional Information (Detail1)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.graham-mfg.com/20210930/taxonomy/role/DisclosureRevenueRecognitionAdditionalInformationDetail1</Role>
      <ShortName>Revenue Recognition - Additional Information (Detail1)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>43</Position>
    </Report>
    <Report instance="ghm-10q_20210930.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R44.htm</HtmlFileName>
      <LongName>100430 - Disclosure - Investments - Additional Information (Detail)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.graham-mfg.com/20210930/taxonomy/role/DisclosureInvestmentsAdditionalInformationDetail</Role>
      <ShortName>Investments - Additional Information (Detail)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>44</Position>
    </Report>
    <Report instance="ghm-10q_20210930.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R45.htm</HtmlFileName>
      <LongName>100440 - Disclosure - Inventories - Major Classifications of Inventories (Detail)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.graham-mfg.com/20210930/taxonomy/role/DisclosureInventoriesMajorClassificationsOfInventoriesDetail</Role>
      <ShortName>Inventories - Major Classifications of Inventories (Detail)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>45</Position>
    </Report>
    <Report instance="ghm-10q_20210930.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R46.htm</HtmlFileName>
      <LongName>100450 - Disclosure - Equity-Based Compensation - Additional Information (Detail)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.graham-mfg.com/20210930/taxonomy/role/DisclosureEquityBasedCompensationAdditionalInformationDetail</Role>
      <ShortName>Equity-Based Compensation - Additional Information (Detail)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>46</Position>
    </Report>
    <Report instance="ghm-10q_20210930.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R47.htm</HtmlFileName>
      <LongName>100460 - Disclosure - (Loss) Income Per Share - Reconciliation of Numerators and Denominators of Basic and Diluted (Loss) Income Per Share (Detail)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.graham-mfg.com/20210930/taxonomy/role/DisclosureLossIncomePerShareReconciliationOfNumeratorsAndDenominatorsOfBasicAndDilutedLossIncomePerShareDetail</Role>
      <ShortName>(Loss) Income Per Share - Reconciliation of Numerators and Denominators of Basic and Diluted (Loss) Income Per Share (Detail)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>47</Position>
    </Report>
    <Report instance="ghm-10q_20210930.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R48.htm</HtmlFileName>
      <LongName>100470 - Disclosure - (Loss) Income Per Share - Additional Information (Detail)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.graham-mfg.com/20210930/taxonomy/role/DisclosureLossIncomePerShareAdditionalInformationDetail</Role>
      <ShortName>(Loss) Income Per Share - Additional Information (Detail)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>48</Position>
    </Report>
    <Report instance="ghm-10q_20210930.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R49.htm</HtmlFileName>
      <LongName>100480 - Disclosure - Product Warranty Liability - Reconciliation of the Changes in Product Warranty Liability (Detail)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.graham-mfg.com/20210930/taxonomy/role/DisclosureProductWarrantyLiabilityReconciliationOfChangesInProductWarrantyLiabilityDetail</Role>
      <ShortName>Product Warranty Liability - Reconciliation of the Changes in Product Warranty Liability (Detail)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>49</Position>
    </Report>
    <Report instance="ghm-10q_20210930.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R50.htm</HtmlFileName>
      <LongName>100490 - Disclosure - Product Warranty Liability - Additional Information (Detail)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.graham-mfg.com/20210930/taxonomy/role/DisclosureProductWarrantyLiabilityAdditionalInformationDetail</Role>
      <ShortName>Product Warranty Liability - Additional Information (Detail)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>50</Position>
    </Report>
    <Report instance="ghm-10q_20210930.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R51.htm</HtmlFileName>
      <LongName>100500 - Disclosure - Cash Flow Statement - Additional Information (Detail)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.graham-mfg.com/20210930/taxonomy/role/DisclosureCashFlowStatementAdditionalInformationDetail</Role>
      <ShortName>Cash Flow Statement - Additional Information (Detail)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>51</Position>
    </Report>
    <Report instance="ghm-10q_20210930.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R52.htm</HtmlFileName>
      <LongName>100510 - Disclosure - Employee Benefit Plans - Components of Postretirement Benefit Cost and Pension Cost (Detail)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.graham-mfg.com/20210930/taxonomy/role/DisclosureEmployeeBenefitPlansComponentsOfPostretirementBenefitCostAndPensionCostDetail</Role>
      <ShortName>Employee Benefit Plans - Components of Postretirement Benefit Cost and Pension Cost (Detail)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>52</Position>
    </Report>
    <Report instance="ghm-10q_20210930.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R53.htm</HtmlFileName>
      <LongName>100520 - Disclosure - Employee Benefit Plans - Additional Information (Detail)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.graham-mfg.com/20210930/taxonomy/role/DisclosureEmployeeBenefitPlansAdditionalInformationDetail</Role>
      <ShortName>Employee Benefit Plans - Additional Information (Detail)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>53</Position>
    </Report>
    <Report instance="ghm-10q_20210930.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R54.htm</HtmlFileName>
      <LongName>100530 - Disclosure - Income Taxes - Additional Information (Detail)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.graham-mfg.com/20210930/taxonomy/role/DisclosureIncomeTaxesAdditionalInformationDetail</Role>
      <ShortName>Income Taxes - Additional Information (Detail)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>54</Position>
    </Report>
    <Report instance="ghm-10q_20210930.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R55.htm</HtmlFileName>
      <LongName>100540 - 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/20210930/taxonomy/role/DisclosureChangesInAccumulatedOtherComprehensiveLossChangesInAccumulatedOtherComprehensiveLossByComponentDetail</Role>
      <ShortName>Changes in Accumulated Other Comprehensive Loss - Changes in Accumulated Other Comprehensive Loss by Component (Detail)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>55</Position>
    </Report>
    <Report instance="ghm-10q_20210930.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R56.htm</HtmlFileName>
      <LongName>100550 - 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/20210930/taxonomy/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>56</Position>
    </Report>
    <Report instance="ghm-10q_20210930.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R57.htm</HtmlFileName>
      <LongName>100560 - Disclosure - Leases - Additional Information (Detail)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.graham-mfg.com/20210930/taxonomy/role/DisclosureLeasesAdditionalInformationDetail</Role>
      <ShortName>Leases - Additional Information (Detail)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>57</Position>
    </Report>
    <Report instance="ghm-10q_20210930.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R58.htm</HtmlFileName>
      <LongName>100570 - 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/20210930/taxonomy/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>58</Position>
    </Report>
    <Report instance="ghm-10q_20210930.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R59.htm</HtmlFileName>
      <LongName>100580 - Disclosure - Leases - Summary of Components of Lease Expense (Detail)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.graham-mfg.com/20210930/taxonomy/role/DisclosureLeasesSummaryOfComponentsOfLeaseExpenseDetail</Role>
      <ShortName>Leases - Summary of Components of Lease Expense (Detail)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>59</Position>
    </Report>
    <Report instance="ghm-10q_20210930.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R60.htm</HtmlFileName>
      <LongName>100590 - Disclosure - Leases - Future Minimum Payments Required under Non-cancelable Leases (Detail)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.graham-mfg.com/20210930/taxonomy/role/DisclosureLeasesFutureMinimumPaymentsRequiredUnderNonCancelableLeasesDetail</Role>
      <ShortName>Leases - Future Minimum Payments Required under Non-cancelable Leases (Detail)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>60</Position>
    </Report>
    <Report instance="ghm-10q_20210930.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R61.htm</HtmlFileName>
      <LongName>100610 - Disclosure - Debt - Additional Information (Detail)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.graham-mfg.com/20210930/taxonomy/role/DisclosureDebtAdditionalInformationDetail</Role>
      <ShortName>Debt - Additional Information (Detail)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>61</Position>
    </Report>
    <Report instance="ghm-10q_20210930.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R62.htm</HtmlFileName>
      <LongName>100620 - Disclosure - Accounting and Reporting Changes - Additional Information (Detail)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.graham-mfg.com/20210930/taxonomy/role/DisclosureAccountingAndReportingChangesAdditionalInformationDetail</Role>
      <ShortName>Accounting and Reporting Changes - Additional Information (Detail)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>62</Position>
    </Report>
    <Report instance="ghm-10q_20210930.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R63.htm</HtmlFileName>
      <LongName>100630 - Disclosure - Other Operating Income, Net - Additional Information (Detail)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.graham-mfg.com/20210930/taxonomy/role/DisclosureOtherOperatingIncomeNetAdditionalInformationDetail</Role>
      <ShortName>Other Operating Income, Net - Additional Information (Detail)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>63</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-Q" original="ghm-10q_20210930.htm">ghm-10q_20210930.htm</File>
    <File>ghm-20210930.xsd</File>
    <File>ghm-20210930_cal.xml</File>
    <File>ghm-20210930_def.xml</File>
    <File>ghm-20210930_lab.xml</File>
    <File>ghm-20210930_pre.xml</File>
    <File>ghm-ex101_144.htm</File>
    <File>ghm-ex311_8.htm</File>
    <File>ghm-ex312_7.htm</File>
    <File>ghm-ex321_6.htm</File>
  </InputFiles>
  <SupplementalFiles>
    <File>gqrmmmu10hbg000001.jpg</File>
  </SupplementalFiles>
  <BaseTaxonomies>
    <BaseTaxonomy>http://xbrl.sec.gov/country/2021</BaseTaxonomy>
    <BaseTaxonomy>http://fasb.org/us-gaap/2021-01-31</BaseTaxonomy>
    <BaseTaxonomy>http://xbrl.sec.gov/dei/2021</BaseTaxonomy>
    <BaseTaxonomy>http://fasb.org/srt/2021-01-31</BaseTaxonomy>
  </BaseTaxonomies>
  <HasPresentationLinkbase>true</HasPresentationLinkbase>
  <HasCalculationLinkbase>true</HasCalculationLinkbase>
</FilingSummary>
