| | | | | | | | | | | | | | | | | | | | | |
<?xml version="1.0" encoding="windows-1252"?> |
<FilingSummary> |
| <Version> 3.24.0.1 </Version> |
| <ProcessingTime/> |
| <ReportFormat> html </ReportFormat> |
| <ContextCount> 256 </ContextCount> |
| <ElementCount> 278 </ElementCount> |
| <EntityCount> 1 </EntityCount> |
| <FootnotesReported> true </FootnotesReported> |
| <SegmentCount> 63 </SegmentCount> |
| <ScenarioCount> 0 </ScenarioCount> |
| <TuplesReported> false </TuplesReported> |
| <UnitCount> 4 </UnitCount> |
| <MyReports> |
| | <Report instance="ghm-20231231.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/20231231/taxonomy/role/Role_DocumentDocumentAndEntityInformation </Role> |
| | | <ShortName> Document and Entity Information </ShortName> |
| | | <MenuCategory> Cover </MenuCategory> |
| | | <Position> 1 </Position> |
| | | </Report> |
| | <Report instance="ghm-20231231.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/20231231/taxonomy/role/Role_StatementCondensedConsolidatedStatementsOfOperationsUnaudited </Role> |
| | | <ShortName> Condensed Consolidated Statements of Operations (Unaudited) </ShortName> |
| | | <MenuCategory> Statements </MenuCategory> |
| | | <Position> 2 </Position> |
| | | </Report> |
| | <Report instance="ghm-20231231.htm"> |
| | | <IsDefault> false </IsDefault> |
| | | <HasEmbeddedReports> false </HasEmbeddedReports> |
| | | <HtmlFileName> R3.htm </HtmlFileName> |
| | | <LongName> 100030 - Statement - Condensed Consolidated Statements of Comprehensive Income (Unaudited) </LongName> |
| | | <ReportType> Sheet </ReportType> |
| | | <Role> http://www.graham-mfg.com/20231231/taxonomy/role/StatementCondensedConsolidatedStatementsOfComprehensiveIncomeUnaudited </Role> |
| | | <ShortName> Condensed Consolidated Statements of Comprehensive Income (Unaudited) </ShortName> |
| | | <MenuCategory> Statements </MenuCategory> |
| | | <Position> 3 </Position> |
| | | </Report> |
| | <Report instance="ghm-20231231.htm"> |
| | | <IsDefault> false </IsDefault> |
| | | <HasEmbeddedReports> false </HasEmbeddedReports> |
| | | <HtmlFileName> R4.htm </HtmlFileName> |
| | | <LongName> 100040 - Statement - Condensed Consolidated Statements of Comprehensive Income (Unaudited) (Parenthetical) </LongName> |
| | | <ReportType> Sheet </ReportType> |
| | | <Role> http://www.graham-mfg.com/20231231/taxonomy/role/StatementCondensedConsolidatedStatementsOfComprehensiveIncomeUnauditedParenthetical </Role> |
| | | <ShortName> Condensed Consolidated Statements of Comprehensive Income (Unaudited) (Parenthetical) </ShortName> |
| | | <MenuCategory> Statements </MenuCategory> |
| | | <Position> 4 </Position> |
| | | </Report> |
| | <Report instance="ghm-20231231.htm"> |
| | | <IsDefault> false </IsDefault> |
| | | <HasEmbeddedReports> false </HasEmbeddedReports> |
| | | <HtmlFileName> R5.htm </HtmlFileName> |
| | | <LongName> 100050 - Statement - Condensed Consolidated Balance Sheets (Unaudited) </LongName> |
| | | <ReportType> Sheet </ReportType> |
| | | <Role> http://www.graham-mfg.com/20231231/taxonomy/role/Role_StatementCondensedConsolidatedBalanceSheetsUnaudited </Role> |
| | | <ShortName> Condensed Consolidated Balance Sheets (Unaudited) </ShortName> |
| | | <MenuCategory> Statements </MenuCategory> |
| | | <Position> 5 </Position> |
| | | </Report> |
| | <Report instance="ghm-20231231.htm"> |
| | | <IsDefault> false </IsDefault> |
| | | <HasEmbeddedReports> false </HasEmbeddedReports> |
| | | <HtmlFileName> R6.htm </HtmlFileName> |
| | | <LongName> 100060 - Statement - Condensed Consolidated Balance Sheets (Unaudited) (Parenthetical) </LongName> |
| | | <ReportType> Sheet </ReportType> |
| | | <Role> http://www.graham-mfg.com/20231231/taxonomy/role/Role_StatementCondensedConsolidatedBalanceSheetsUnauditedParenthetical </Role> |
| | | <ShortName> Condensed Consolidated Balance Sheets (Unaudited) (Parenthetical) </ShortName> |
| | | <MenuCategory> Statements </MenuCategory> |
| | | <Position> 6 </Position> |
| | | </Report> |
| | <Report instance="ghm-20231231.htm"> |
| | | <IsDefault> false </IsDefault> |
| | | <HasEmbeddedReports> false </HasEmbeddedReports> |
| | | <HtmlFileName> R7.htm </HtmlFileName> |
| | | <LongName> 100070 - Statement - Condensed Consolidated Statements of Cash Flows (Unaudited) </LongName> |
| | | <ReportType> Sheet </ReportType> |
| | | <Role> http://www.graham-mfg.com/20231231/taxonomy/role/Role_StatementCondensedConsolidatedStatementsOfCashFlowsUnaudited </Role> |
| | | <ShortName> Condensed Consolidated Statements of Cash Flows (Unaudited) </ShortName> |
| | | <MenuCategory> Statements </MenuCategory> |
| | | <Position> 7 </Position> |
| | | </Report> |
| | <Report instance="ghm-20231231.htm"> |
| | | <IsDefault> false </IsDefault> |
| | | <HasEmbeddedReports> false </HasEmbeddedReports> |
| | | <HtmlFileName> R8.htm </HtmlFileName> |
| | | <LongName> 100080 - Statement - Condensed Consolidated Statements of Changes in Stockholders' Equity (Unaudited) </LongName> |
| | | <ReportType> Sheet </ReportType> |
| | | <Role> http://www.graham-mfg.com/20231231/taxonomy/role/StatementCondensedConsolidatedStatementsOfChangesInStockholdersEquityUnaudited </Role> |
| | | <ShortName> Condensed Consolidated Statements of Changes in Stockholders' Equity (Unaudited) </ShortName> |
| | | <MenuCategory> Statements </MenuCategory> |
| | | <Position> 8 </Position> |
| | | </Report> |
| | <Report instance="ghm-20231231.htm"> |
| | | <IsDefault> false </IsDefault> |
| | | <HasEmbeddedReports> false </HasEmbeddedReports> |
| | | <HtmlFileName> R9.htm </HtmlFileName> |
| | | <LongName> 100090 - Disclosure - Basis of Presentation </LongName> |
| | | <ReportType> Sheet </ReportType> |
| | | <Role> http://www.graham-mfg.com/20231231/taxonomy/role/Role_DisclosureBasisOfPresentation </Role> |
| | | <ShortName> Basis of Presentation </ShortName> |
| | | <MenuCategory> Notes </MenuCategory> |
| | | <Position> 9 </Position> |
| | | </Report> |
| | <Report instance="ghm-20231231.htm"> |
| | | <IsDefault> false </IsDefault> |
| | | <HasEmbeddedReports> false </HasEmbeddedReports> |
| | | <HtmlFileName> R10.htm </HtmlFileName> |
| | | <LongName> 100100 - Disclosure - Acquisition </LongName> |
| | | <ReportType> Sheet </ReportType> |
| | | <Role> http://www.graham-mfg.com/20231231/taxonomy/role/Role_DisclosureAcquisition </Role> |
| | | <ShortName> Acquisition </ShortName> |
| | | <MenuCategory> Notes </MenuCategory> |
| | | <Position> 10 </Position> |
| | | </Report> |
| | <Report instance="ghm-20231231.htm"> |
| | | <IsDefault> false </IsDefault> |
| | | <HasEmbeddedReports> false </HasEmbeddedReports> |
| | | <HtmlFileName> R11.htm </HtmlFileName> |
| | | <LongName> 100110 - Disclosure - Revenue Recognition </LongName> |
| | | <ReportType> Sheet </ReportType> |
| | | <Role> http://www.graham-mfg.com/20231231/taxonomy/role/Role_DisclosureRevenueRecognition </Role> |
| | | <ShortName> Revenue Recognition </ShortName> |
| | | <MenuCategory> Notes </MenuCategory> |
| | | <Position> 11 </Position> |
| | | </Report> |
| | <Report instance="ghm-20231231.htm"> |
| | | <IsDefault> false </IsDefault> |
| | | <HasEmbeddedReports> false </HasEmbeddedReports> |
| | | <HtmlFileName> R12.htm </HtmlFileName> |
| | | <LongName> 100130 - Disclosure - Inventories </LongName> |
| | | <ReportType> Sheet </ReportType> |
| | | <Role> http://www.graham-mfg.com/20231231/taxonomy/role/Role_DisclosureInventories </Role> |
| | | <ShortName> Inventories </ShortName> |
| | | <MenuCategory> Notes </MenuCategory> |
| | | <Position> 12 </Position> |
| | | </Report> |
| | <Report instance="ghm-20231231.htm"> |
| | | <IsDefault> false </IsDefault> |
| | | <HasEmbeddedReports> false </HasEmbeddedReports> |
| | | <HtmlFileName> R13.htm </HtmlFileName> |
| | | <LongName> 100140 - Disclosure - Intangible Assets </LongName> |
| | | <ReportType> Sheet </ReportType> |
| | | <Role> http://www.graham-mfg.com/20231231/taxonomy/role/DisclosureIntangibleAssets </Role> |
| | | <ShortName> Intangible Assets </ShortName> |
| | | <MenuCategory> Notes </MenuCategory> |
| | | <Position> 13 </Position> |
| | | </Report> |
| | <Report instance="ghm-20231231.htm"> |
| | | <IsDefault> false </IsDefault> |
| | | <HasEmbeddedReports> false </HasEmbeddedReports> |
| | | <HtmlFileName> R14.htm </HtmlFileName> |
| | | <LongName> 100150 - Disclosure - Equity-Based Compensation </LongName> |
| | | <ReportType> Sheet </ReportType> |
| | | <Role> http://www.graham-mfg.com/20231231/taxonomy/role/Role_DisclosureEquityBasedCompensation </Role> |
| | | <ShortName> Equity-Based Compensation </ShortName> |
| | | <MenuCategory> Notes </MenuCategory> |
| | | <Position> 14 </Position> |
| | | </Report> |
| | <Report instance="ghm-20231231.htm"> |
| | | <IsDefault> false </IsDefault> |
| | | <HasEmbeddedReports> false </HasEmbeddedReports> |
| | | <HtmlFileName> R15.htm </HtmlFileName> |
| | | <LongName> 100160 - Disclosure - Income (Loss) Per Share </LongName> |
| | | <ReportType> Sheet </ReportType> |
| | | <Role> http://www.graham-mfg.com/20231231/taxonomy/role/DisclosureIncomeLossPerShare </Role> |
| | | <ShortName> Income (Loss) Per Share </ShortName> |
| | | <MenuCategory> Notes </MenuCategory> |
| | | <Position> 15 </Position> |
| | | </Report> |
| | <Report instance="ghm-20231231.htm"> |
| | | <IsDefault> false </IsDefault> |
| | | <HasEmbeddedReports> false </HasEmbeddedReports> |
| | | <HtmlFileName> R16.htm </HtmlFileName> |
| | | <LongName> 100170 - Disclosure - Product Warranty Liability </LongName> |
| | | <ReportType> Sheet </ReportType> |
| | | <Role> http://www.graham-mfg.com/20231231/taxonomy/role/Role_DisclosureProductWarrantyLiability </Role> |
| | | <ShortName> Product Warranty Liability </ShortName> |
| | | <MenuCategory> Notes </MenuCategory> |
| | | <Position> 16 </Position> |
| | | </Report> |
| | <Report instance="ghm-20231231.htm"> |
| | | <IsDefault> false </IsDefault> |
| | | <HasEmbeddedReports> false </HasEmbeddedReports> |
| | | <HtmlFileName> R17.htm </HtmlFileName> |
| | | <LongName> 100180 - Disclosure - Cash Flow Statement </LongName> |
| | | <ReportType> Sheet </ReportType> |
| | | <Role> http://www.graham-mfg.com/20231231/taxonomy/role/Role_DisclosureCashFlowStatement </Role> |
| | | <ShortName> Cash Flow Statement </ShortName> |
| | | <MenuCategory> Notes </MenuCategory> |
| | | <Position> 17 </Position> |
| | | </Report> |
| | <Report instance="ghm-20231231.htm"> |
| | | <IsDefault> false </IsDefault> |
| | | <HasEmbeddedReports> false </HasEmbeddedReports> |
| | | <HtmlFileName> R18.htm </HtmlFileName> |
| | | <LongName> 100200 - Disclosure - Commitments and Contingencies </LongName> |
| | | <ReportType> Sheet </ReportType> |
| | | <Role> http://www.graham-mfg.com/20231231/taxonomy/role/Role_DisclosureCommitmentsAndContingencies </Role> |
| | | <ShortName> Commitments and Contingencies </ShortName> |
| | | <MenuCategory> Notes </MenuCategory> |
| | | <Position> 18 </Position> |
| | | </Report> |
| | <Report instance="ghm-20231231.htm"> |
| | | <IsDefault> false </IsDefault> |
| | | <HasEmbeddedReports> false </HasEmbeddedReports> |
| | | <HtmlFileName> R19.htm </HtmlFileName> |
| | | <LongName> 100210 - Disclosure - Income Taxes </LongName> |
| | | <ReportType> Sheet </ReportType> |
| | | <Role> http://www.graham-mfg.com/20231231/taxonomy/role/Role_DisclosureIncomeTaxes </Role> |
| | | <ShortName> Income Taxes </ShortName> |
| | | <MenuCategory> Notes </MenuCategory> |
| | | <Position> 19 </Position> |
| | | </Report> |
| | <Report instance="ghm-20231231.htm"> |
| | | <IsDefault> false </IsDefault> |
| | | <HasEmbeddedReports> false </HasEmbeddedReports> |
| | | <HtmlFileName> R20.htm </HtmlFileName> |
| | | <LongName> 100220 - Disclosure - Changes in Accumulated Other Comprehensive Loss </LongName> |
| | | <ReportType> Sheet </ReportType> |
| | | <Role> http://www.graham-mfg.com/20231231/taxonomy/role/Role_DisclosureChangesInAccumulatedOtherComprehensiveLoss </Role> |
| | | <ShortName> Changes in Accumulated Other Comprehensive Loss </ShortName> |
| | | <MenuCategory> Notes </MenuCategory> |
| | | <Position> 20 </Position> |
| | | </Report> |
| | <Report instance="ghm-20231231.htm"> |
| | | <IsDefault> false </IsDefault> |
| | | <HasEmbeddedReports> false </HasEmbeddedReports> |
| | | <HtmlFileName> R21.htm </HtmlFileName> |
| | | <LongName> 100240 - Disclosure - Debt </LongName> |
| | | <ReportType> Sheet </ReportType> |
| | | <Role> http://www.graham-mfg.com/20231231/taxonomy/role/Role_DisclosureDebt </Role> |
| | | <ShortName> Debt </ShortName> |
| | | <MenuCategory> Notes </MenuCategory> |
| | | <Position> 21 </Position> |
| | | </Report> |
| | <Report instance="ghm-20231231.htm"> |
| | | <IsDefault> false </IsDefault> |
| | | <HasEmbeddedReports> false </HasEmbeddedReports> |
| | | <HtmlFileName> R22.htm </HtmlFileName> |
| | | <LongName> 100280 - Disclosure - Acquisition (Tables) </LongName> |
| | | <ReportType> Sheet </ReportType> |
| | | <Role> http://www.graham-mfg.com/20231231/taxonomy/role/Role_DisclosureAcquisitionTables </Role> |
| | | <ShortName> Acquisition (Tables) </ShortName> |
| | | <MenuCategory> Tables </MenuCategory> |
| | | <ParentRole> http://www.graham-mfg.com/20231231/taxonomy/role/Role_DisclosureAcquisition </ParentRole> |
| | | <Position> 22 </Position> |
| | | </Report> |
| | <Report instance="ghm-20231231.htm"> |
| | | <IsDefault> false </IsDefault> |
| | | <HasEmbeddedReports> false </HasEmbeddedReports> |
| | | <HtmlFileName> R23.htm </HtmlFileName> |
| | | <LongName> 100290 - Disclosure - Revenue Recognition (Tables) </LongName> |
| | | <ReportType> Sheet </ReportType> |
| | | <Role> http://www.graham-mfg.com/20231231/taxonomy/role/Role_DisclosureRevenueRecognitionTables </Role> |
| | | <ShortName> Revenue Recognition (Tables) </ShortName> |
| | | <MenuCategory> Tables </MenuCategory> |
| | | <ParentRole> http://www.graham-mfg.com/20231231/taxonomy/role/Role_DisclosureRevenueRecognition </ParentRole> |
| | | <Position> 23 </Position> |
| | | </Report> |
| | <Report instance="ghm-20231231.htm"> |
| | | <IsDefault> false </IsDefault> |
| | | <HasEmbeddedReports> false </HasEmbeddedReports> |
| | | <HtmlFileName> R24.htm </HtmlFileName> |
| | | <LongName> 100300 - Disclosure - Inventories (Tables) </LongName> |
| | | <ReportType> Sheet </ReportType> |
| | | <Role> http://www.graham-mfg.com/20231231/taxonomy/role/Role_DisclosureInventoriesTables </Role> |
| | | <ShortName> Inventories (Tables) </ShortName> |
| | | <MenuCategory> Tables </MenuCategory> |
| | | <ParentRole> http://www.graham-mfg.com/20231231/taxonomy/role/Role_DisclosureInventories </ParentRole> |
| | | <Position> 24 </Position> |
| | | </Report> |
| | <Report instance="ghm-20231231.htm"> |
| | | <IsDefault> false </IsDefault> |
| | | <HasEmbeddedReports> false </HasEmbeddedReports> |
| | | <HtmlFileName> R25.htm </HtmlFileName> |
| | | <LongName> 100310 - Disclosure - Intangible Assets (Tables) </LongName> |
| | | <ReportType> Sheet </ReportType> |
| | | <Role> http://www.graham-mfg.com/20231231/taxonomy/role/DisclosureIntangibleAssetsTables </Role> |
| | | <ShortName> Intangible Assets (Tables) </ShortName> |
| | | <MenuCategory> Tables </MenuCategory> |
| | | <ParentRole> http://www.graham-mfg.com/20231231/taxonomy/role/DisclosureIntangibleAssets </ParentRole> |
| | | <Position> 25 </Position> |
| | | </Report> |
| | <Report instance="ghm-20231231.htm"> |
| | | <IsDefault> false </IsDefault> |
| | | <HasEmbeddedReports> false </HasEmbeddedReports> |
| | | <HtmlFileName> R26.htm </HtmlFileName> |
| | | <LongName> 100320 - Disclosure - Equity based compensation (Tables) </LongName> |
| | | <ReportType> Sheet </ReportType> |
| | | <Role> http://www.graham-mfg.com/20231231/taxonomy/role/DisclosureEquityBasedCompensationTables </Role> |
| | | <ShortName> Equity based compensation (Tables) </ShortName> |
| | | <MenuCategory> Tables </MenuCategory> |
| | | <Position> 26 </Position> |
| | | </Report> |
| | <Report instance="ghm-20231231.htm"> |
| | | <IsDefault> false </IsDefault> |
| | | <HasEmbeddedReports> false </HasEmbeddedReports> |
| | | <HtmlFileName> R27.htm </HtmlFileName> |
| | | <LongName> 100330 - Disclosure - Income (Loss) Per Share (Tables) </LongName> |
| | | <ReportType> Sheet </ReportType> |
| | | <Role> http://www.graham-mfg.com/20231231/taxonomy/role/DisclosureIncomeLossPerShareTables </Role> |
| | | <ShortName> Income (Loss) Per Share (Tables) </ShortName> |
| | | <MenuCategory> Tables </MenuCategory> |
| | | <ParentRole> http://www.graham-mfg.com/20231231/taxonomy/role/DisclosureIncomeLossPerShare </ParentRole> |
| | | <Position> 27 </Position> |
| | | </Report> |
| | <Report instance="ghm-20231231.htm"> |
| | | <IsDefault> false </IsDefault> |
| | | <HasEmbeddedReports> false </HasEmbeddedReports> |
| | | <HtmlFileName> R28.htm </HtmlFileName> |
| | | <LongName> 100340 - Disclosure - Product Warranty Liability (Tables) </LongName> |
| | | <ReportType> Sheet </ReportType> |
| | | <Role> http://www.graham-mfg.com/20231231/taxonomy/role/Role_DisclosureProductWarrantyLiabilityTables </Role> |
| | | <ShortName> Product Warranty Liability (Tables) </ShortName> |
| | | <MenuCategory> Tables </MenuCategory> |
| | | <ParentRole> http://www.graham-mfg.com/20231231/taxonomy/role/Role_DisclosureProductWarrantyLiability </ParentRole> |
| | | <Position> 28 </Position> |
| | | </Report> |
| | <Report instance="ghm-20231231.htm"> |
| | | <IsDefault> false </IsDefault> |
| | | <HasEmbeddedReports> false </HasEmbeddedReports> |
| | | <HtmlFileName> R29.htm </HtmlFileName> |
| | | <LongName> 100350 - Disclosure - Cash Flow Statement (Tables) </LongName> |
| | | <ReportType> Sheet </ReportType> |
| | | <Role> http://www.graham-mfg.com/20231231/taxonomy/role/DisclosureCashFlowStatementTables </Role> |
| | | <ShortName> Cash Flow Statement (Tables) </ShortName> |
| | | <MenuCategory> Tables </MenuCategory> |
| | | <ParentRole> http://www.graham-mfg.com/20231231/taxonomy/role/Role_DisclosureCashFlowStatement </ParentRole> |
| | | <Position> 29 </Position> |
| | | </Report> |
| | <Report instance="ghm-20231231.htm"> |
| | | <IsDefault> false </IsDefault> |
| | | <HasEmbeddedReports> false </HasEmbeddedReports> |
| | | <HtmlFileName> R30.htm </HtmlFileName> |
| | | <LongName> 100370 - Disclosure - Changes in Accumulated Other Comprehensive Loss (Tables) </LongName> |
| | | <ReportType> Sheet </ReportType> |
| | | <Role> http://www.graham-mfg.com/20231231/taxonomy/role/Role_DisclosureChangesInAccumulatedOtherComprehensiveLossTables </Role> |
| | | <ShortName> Changes in Accumulated Other Comprehensive Loss (Tables) </ShortName> |
| | | <MenuCategory> Tables </MenuCategory> |
| | | <ParentRole> http://www.graham-mfg.com/20231231/taxonomy/role/Role_DisclosureChangesInAccumulatedOtherComprehensiveLoss </ParentRole> |
| | | <Position> 30 </Position> |
| | | </Report> |
| | <Report instance="ghm-20231231.htm"> |
| | | <IsDefault> false </IsDefault> |
| | | <HasEmbeddedReports> false </HasEmbeddedReports> |
| | | <HtmlFileName> R31.htm </HtmlFileName> |
| | | <LongName> 100390 - Disclosure - Debt (Tables) </LongName> |
| | | <ReportType> Sheet </ReportType> |
| | | <Role> http://www.graham-mfg.com/20231231/taxonomy/role/DisclosureDebtTables </Role> |
| | | <ShortName> Debt (Tables) </ShortName> |
| | | <MenuCategory> Tables </MenuCategory> |
| | | <ParentRole> http://www.graham-mfg.com/20231231/taxonomy/role/Role_DisclosureDebt </ParentRole> |
| | | <Position> 31 </Position> |
| | | </Report> |
| | <Report instance="ghm-20231231.htm"> |
| | | <IsDefault> false </IsDefault> |
| | | <HasEmbeddedReports> false </HasEmbeddedReports> |
| | | <HtmlFileName> R32.htm </HtmlFileName> |
| | | <LongName> 100400 - Disclosure - Basis of Presentation - Additional Information (Detail) </LongName> |
| | | <ReportType> Sheet </ReportType> |
| | | <Role> http://www.graham-mfg.com/20231231/taxonomy/role/DisclosureBasisOfPresentationAdditionalInformationDetail </Role> |
| | | <ShortName> Basis of Presentation - Additional Information (Detail) </ShortName> |
| | | <MenuCategory> Details </MenuCategory> |
| | | <Position> 32 </Position> |
| | | </Report> |
| | <Report instance="ghm-20231231.htm"> |
| | | <IsDefault> false </IsDefault> |
| | | <HasEmbeddedReports> false </HasEmbeddedReports> |
| | | <HtmlFileName> R33.htm </HtmlFileName> |
| | | <LongName> 100410 - Disclosure - Acquisition - Additional Information (Detail) </LongName> |
| | | <ReportType> Sheet </ReportType> |
| | | <Role> http://www.graham-mfg.com/20231231/taxonomy/role/Role_DisclosureAcquisitionAdditionalInformationDetail </Role> |
| | | <ShortName> Acquisition - Additional Information (Detail) </ShortName> |
| | | <MenuCategory> Details </MenuCategory> |
| | | <Position> 33 </Position> |
| | | </Report> |
| | <Report instance="ghm-20231231.htm"> |
| | | <IsDefault> false </IsDefault> |
| | | <HasEmbeddedReports> false </HasEmbeddedReports> |
| | | <HtmlFileName> R34.htm </HtmlFileName> |
| | | <LongName> 100420 - 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/20231231/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> 34 </Position> |
| | | </Report> |
| | <Report instance="ghm-20231231.htm"> |
| | | <IsDefault> false </IsDefault> |
| | | <HasEmbeddedReports> false </HasEmbeddedReports> |
| | | <HtmlFileName> R35.htm </HtmlFileName> |
| | | <LongName> 100430 - Disclosure - Acquisition - Schedule of Unaudited Pro Forma Information (Detail) </LongName> |
| | | <ReportType> Sheet </ReportType> |
| | | <Role> http://www.graham-mfg.com/20231231/taxonomy/role/Role_DisclosureAcquisitionScheduleOfUnauditedProFormaInformationDetail </Role> |
| | | <ShortName> Acquisition - Schedule of Unaudited Pro Forma Information (Detail) </ShortName> |
| | | <MenuCategory> Details </MenuCategory> |
| | | <Position> 35 </Position> |
| | | </Report> |
| | <Report instance="ghm-20231231.htm"> |
| | | <IsDefault> false </IsDefault> |
| | | <HasEmbeddedReports> false </HasEmbeddedReports> |
| | | <HtmlFileName> R36.htm </HtmlFileName> |
| | | <LongName> 100440 - Disclosure - Revenue Recognition - Revenue Disaggregated by Product Line and Geographic Area (Detail) </LongName> |
| | | <ReportType> Sheet </ReportType> |
| | | <Role> http://www.graham-mfg.com/20231231/taxonomy/role/Role_DisclosureRevenueRecognitionRevenueDisaggregatedByProductLineAndGeographicAreaDetail </Role> |
| | | <ShortName> Revenue Recognition - Revenue Disaggregated by Product Line and Geographic Area (Detail) </ShortName> |
| | | <MenuCategory> Details </MenuCategory> |
| | | <Position> 36 </Position> |
| | | </Report> |
| | <Report instance="ghm-20231231.htm"> |
| | | <IsDefault> false </IsDefault> |
| | | <HasEmbeddedReports> false </HasEmbeddedReports> |
| | | <HtmlFileName> R37.htm </HtmlFileName> |
| | | <LongName> 100450 - Disclosure - Revenue Recognition - Schedule of Disaggregation of Revenue (Detail) </LongName> |
| | | <ReportType> Sheet </ReportType> |
| | | <Role> http://www.graham-mfg.com/20231231/taxonomy/role/DisclosureRevenueRecognitionScheduleOfDisaggregationOfRevenueDetail </Role> |
| | | <ShortName> Revenue Recognition - Schedule of Disaggregation of Revenue (Detail) </ShortName> |
| | | <MenuCategory> Details </MenuCategory> |
| | | <Position> 37 </Position> |
| | | </Report> |
| | <Report instance="ghm-20231231.htm"> |
| | | <IsDefault> false </IsDefault> |
| | | <HasEmbeddedReports> false </HasEmbeddedReports> |
| | | <HtmlFileName> R38.htm </HtmlFileName> |
| | | <LongName> 100460 - Disclosure - Revenue Recognition - Additional Information (Detail) </LongName> |
| | | <ReportType> Sheet </ReportType> |
| | | <Role> http://www.graham-mfg.com/20231231/taxonomy/role/Role_DisclosureRevenueRecognitionAdditionalInformationDetail </Role> |
| | | <ShortName> Revenue Recognition - Additional Information (Detail) </ShortName> |
| | | <MenuCategory> Details </MenuCategory> |
| | | <Position> 38 </Position> |
| | | </Report> |
| | <Report instance="ghm-20231231.htm"> |
| | | <IsDefault> false </IsDefault> |
| | | <HasEmbeddedReports> false </HasEmbeddedReports> |
| | | <HtmlFileName> R39.htm </HtmlFileName> |
| | | <LongName> 100470 - Disclosure - Revenue Recognition - Schedule of Net Contract Assets (Liabilities) (Detail) </LongName> |
| | | <ReportType> Sheet </ReportType> |
| | | <Role> http://www.graham-mfg.com/20231231/taxonomy/role/Role_DisclosureRevenueRecognitionScheduleOfNetContractAssetsLiabilitiesDetail </Role> |
| | | <ShortName> Revenue Recognition - Schedule of Net Contract Assets (Liabilities) (Detail) </ShortName> |
| | | <MenuCategory> Details </MenuCategory> |
| | | <Position> 39 </Position> |
| | | </Report> |
| | <Report instance="ghm-20231231.htm"> |
| | | <IsDefault> false </IsDefault> |
| | | <HasEmbeddedReports> false </HasEmbeddedReports> |
| | | <HtmlFileName> R40.htm </HtmlFileName> |
| | | <LongName> 100480 - Disclosure - Revenue Recognition - Additional Information (Detail1) </LongName> |
| | | <ReportType> Sheet </ReportType> |
| | | <Role> http://www.graham-mfg.com/20231231/taxonomy/role/Role_DisclosureRevenueRecognitionAdditionalInformationDetail1 </Role> |
| | | <ShortName> Revenue Recognition - Additional Information (Detail1) </ShortName> |
| | | <MenuCategory> Details </MenuCategory> |
| | | <Position> 40 </Position> |
| | | </Report> |
| | <Report instance="ghm-20231231.htm"> |
| | | <IsDefault> false </IsDefault> |
| | | <HasEmbeddedReports> false </HasEmbeddedReports> |
| | | <HtmlFileName> R41.htm </HtmlFileName> |
| | | <LongName> 100500 - Disclosure - Inventories - Major Classifications of Inventories (Detail) </LongName> |
| | | <ReportType> Sheet </ReportType> |
| | | <Role> http://www.graham-mfg.com/20231231/taxonomy/role/Role_DisclosureInventoriesMajorClassificationsOfInventoriesDetail </Role> |
| | | <ShortName> Inventories - Major Classifications of Inventories (Detail) </ShortName> |
| | | <MenuCategory> Details </MenuCategory> |
| | | <Position> 41 </Position> |
| | | </Report> |
| | <Report instance="ghm-20231231.htm"> |
| | | <IsDefault> false </IsDefault> |
| | | <HasEmbeddedReports> false </HasEmbeddedReports> |
| | | <HtmlFileName> R42.htm </HtmlFileName> |
| | | <LongName> 100510 - Disclosure - Intangible Assets - Schedule of Intangible assets (Detail) </LongName> |
| | | <ReportType> Sheet </ReportType> |
| | | <Role> http://www.graham-mfg.com/20231231/taxonomy/role/DisclosureIntangibleAssetsScheduleOfIntangibleAssetsDetail </Role> |
| | | <ShortName> Intangible Assets - Schedule of Intangible assets (Detail) </ShortName> |
| | | <MenuCategory> Details </MenuCategory> |
| | | <Position> 42 </Position> |
| | | </Report> |
| | <Report instance="ghm-20231231.htm"> |
| | | <IsDefault> false </IsDefault> |
| | | <HasEmbeddedReports> false </HasEmbeddedReports> |
| | | <HtmlFileName> R43.htm </HtmlFileName> |
| | | <LongName> 100520 - Disclosure - Intangible Assets - Schedule of Estimated Annual Amortization Expense (Detail) </LongName> |
| | | <ReportType> Sheet </ReportType> |
| | | <Role> http://www.graham-mfg.com/20231231/taxonomy/role/DisclosureIntangibleAssetsScheduleOfEstimatedAnnualAmortizationExpenseDetail </Role> |
| | | <ShortName> Intangible Assets - Schedule of Estimated Annual Amortization Expense (Detail) </ShortName> |
| | | <MenuCategory> Details </MenuCategory> |
| | | <Position> 43 </Position> |
| | | </Report> |
| | <Report instance="ghm-20231231.htm"> |
| | | <IsDefault> false </IsDefault> |
| | | <HasEmbeddedReports> false </HasEmbeddedReports> |
| | | <HtmlFileName> R44.htm </HtmlFileName> |
| | | <LongName> 100530 - Disclosure - Intangible Assets - Additional Information (Detail) </LongName> |
| | | <ReportType> Sheet </ReportType> |
| | | <Role> http://www.graham-mfg.com/20231231/taxonomy/role/DisclosureIntangibleAssetsAdditionalInformationDetail </Role> |
| | | <ShortName> Intangible Assets - Additional Information (Detail) </ShortName> |
| | | <MenuCategory> Details </MenuCategory> |
| | | <Position> 44 </Position> |
| | | </Report> |
| | <Report instance="ghm-20231231.htm"> |
| | | <IsDefault> false </IsDefault> |
| | | <HasEmbeddedReports> false </HasEmbeddedReports> |
| | | <HtmlFileName> R45.htm </HtmlFileName> |
| | | <LongName> 100540 - Disclosure - Equity - Based Compensation - Schedule of Restricted Stock Units ("RSUs"), Performance Stock Units ("PSUs"), and Restricted Stock Awards ("RSAs") Granted (Detail) </LongName> |
| | | <ReportType> Sheet </ReportType> |
| | | <Role> http://www.graham-mfg.com/20231231/taxonomy/role/DisclosureEquityBasedCompensationScheduleOfRestrictedStockUnitsRsusPerformanceStockUnitsPsusAndRestrictedStockAwardsRsasGrantedDetail </Role> |
| | | <ShortName> Equity - Based Compensation - Schedule of Restricted Stock Units ("RSUs"), Performance Stock Units ("PSUs"), and Restricted Stock Awards ("RSAs") Granted (Detail) </ShortName> |
| | | <MenuCategory> Details </MenuCategory> |
| | | <Position> 45 </Position> |
| | | </Report> |
| | <Report instance="ghm-20231231.htm"> |
| | | <IsDefault> false </IsDefault> |
| | | <HasEmbeddedReports> false </HasEmbeddedReports> |
| | | <HtmlFileName> R46.htm </HtmlFileName> |
| | | <LongName> 100560 - Disclosure - Equity Based Compensation - Recoganized equity based compensation costs (Details) </LongName> |
| | | <ReportType> Sheet </ReportType> |
| | | <Role> http://www.graham-mfg.com/20231231/taxonomy/role/DisclosureEquityBasedCompensationRecoganizedEquityBasedCompensationCostsDetails </Role> |
| | | <ShortName> Equity Based Compensation - Recoganized equity based compensation costs (Details) </ShortName> |
| | | <MenuCategory> Details </MenuCategory> |
| | | <Position> 46 </Position> |
| | | </Report> |
| | <Report instance="ghm-20231231.htm"> |
| | | <IsDefault> false </IsDefault> |
| | | <HasEmbeddedReports> false </HasEmbeddedReports> |
| | | <HtmlFileName> R47.htm </HtmlFileName> |
| | | <LongName> 100570 - Disclosure - Equity-Based Compensation - Additional Information (Detail) </LongName> |
| | | <ReportType> Sheet </ReportType> |
| | | <Role> http://www.graham-mfg.com/20231231/taxonomy/role/Role_DisclosureEquityBasedCompensationAdditionalInformationDetail </Role> |
| | | <ShortName> Equity-Based Compensation - Additional Information (Detail) </ShortName> |
| | | <MenuCategory> Details </MenuCategory> |
| | | <Position> 47 </Position> |
| | | </Report> |
| | <Report instance="ghm-20231231.htm"> |
| | | <IsDefault> false </IsDefault> |
| | | <HasEmbeddedReports> false </HasEmbeddedReports> |
| | | <HtmlFileName> R48.htm </HtmlFileName> |
| | | <LongName> 100580 - Disclosure - Income (Loss) Per Share - Reconciliation of Numerators and Denominators of Basic and Diluted Income (Loss) Per Share (Detail) </LongName> |
| | | <ReportType> Sheet </ReportType> |
| | | <Role> http://www.graham-mfg.com/20231231/taxonomy/role/DisclosureIncomeLossPerShareReconciliationOfNumeratorsAndDenominatorsOfBasicAndDilutedIncomeLossPerShareDetail </Role> |
| | | <ShortName> Income (Loss) Per Share - Reconciliation of Numerators and Denominators of Basic and Diluted Income (Loss) Per Share (Detail) </ShortName> |
| | | <MenuCategory> Details </MenuCategory> |
| | | <ParentRole> http://www.graham-mfg.com/20231231/taxonomy/role/DisclosureIncomeLossPerShareTables </ParentRole> |
| | | <Position> 48 </Position> |
| | | </Report> |
| | <Report instance="ghm-20231231.htm"> |
| | | <IsDefault> false </IsDefault> |
| | | <HasEmbeddedReports> false </HasEmbeddedReports> |
| | | <HtmlFileName> R49.htm </HtmlFileName> |
| | | <LongName> 100600 - Disclosure - Product Warranty Liability - Reconciliation of the Changes in Product Warranty Liability (Detail) </LongName> |
| | | <ReportType> Sheet </ReportType> |
| | | <Role> http://www.graham-mfg.com/20231231/taxonomy/role/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-20231231.htm"> |
| | | <IsDefault> false </IsDefault> |
| | | <HasEmbeddedReports> false </HasEmbeddedReports> |
| | | <HtmlFileName> R50.htm </HtmlFileName> |
| | | <LongName> 100620 - Disclosure - Cash Flow Statement- Schedule of Cash Flow Supplemental Disclosure (Details) </LongName> |
| | | <ReportType> Sheet </ReportType> |
| | | <Role> http://www.graham-mfg.com/20231231/taxonomy/role/DisclosureCashFlowStatementScheduleOfCashFlowSupplementalDisclosureDetails </Role> |
| | | <ShortName> Cash Flow Statement- Schedule of Cash Flow Supplemental Disclosure (Details) </ShortName> |
| | | <MenuCategory> Details </MenuCategory> |
| | | <Position> 50 </Position> |
| | | </Report> |
| | <Report instance="ghm-20231231.htm"> |
| | | <IsDefault> false </IsDefault> |
| | | <HasEmbeddedReports> false </HasEmbeddedReports> |
| | | <HtmlFileName> R51.htm </HtmlFileName> |
| | | <LongName> 100630 - Disclosure - Cash Flow Statement - Additional Information (Detail) </LongName> |
| | | <ReportType> Sheet </ReportType> |
| | | <Role> http://www.graham-mfg.com/20231231/taxonomy/role/Role_DisclosureCashFlowStatementAdditionalInformationDetail </Role> |
| | | <ShortName> Cash Flow Statement - Additional Information (Detail) </ShortName> |
| | | <MenuCategory> Details </MenuCategory> |
| | | <Position> 51 </Position> |
| | | </Report> |
| | <Report instance="ghm-20231231.htm"> |
| | | <IsDefault> false </IsDefault> |
| | | <HasEmbeddedReports> false </HasEmbeddedReports> |
| | | <HtmlFileName> R52.htm </HtmlFileName> |
| | | <LongName> 100670 - Disclosure - Commitments and Contingencies - Additional Information (Detail) </LongName> |
| | | <ReportType> Sheet </ReportType> |
| | | <Role> http://www.graham-mfg.com/20231231/taxonomy/role/DisclosureCommitmentsAndContingenciesAdditionalInformationDetail </Role> |
| | | <ShortName> Commitments and Contingencies - Additional Information (Detail) </ShortName> |
| | | <MenuCategory> Details </MenuCategory> |
| | | <Position> 52 </Position> |
| | | </Report> |
| | <Report instance="ghm-20231231.htm"> |
| | | <IsDefault> false </IsDefault> |
| | | <HasEmbeddedReports> false </HasEmbeddedReports> |
| | | <HtmlFileName> R53.htm </HtmlFileName> |
| | | <LongName> 100680 - Disclosure - Income Taxes - Additional Information (Detail) </LongName> |
| | | <ReportType> Sheet </ReportType> |
| | | <Role> http://www.graham-mfg.com/20231231/taxonomy/role/Role_DisclosureIncomeTaxesAdditionalInformationDetail </Role> |
| | | <ShortName> Income Taxes - Additional Information (Detail) </ShortName> |
| | | <MenuCategory> Details </MenuCategory> |
| | | <Position> 53 </Position> |
| | | </Report> |
| | <Report instance="ghm-20231231.htm"> |
| | | <IsDefault> false </IsDefault> |
| | | <HasEmbeddedReports> false </HasEmbeddedReports> |
| | | <HtmlFileName> R54.htm </HtmlFileName> |
| | | <LongName> 100690 - 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/20231231/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> 54 </Position> |
| | | </Report> |
| | <Report instance="ghm-20231231.htm"> |
| | | <IsDefault> false </IsDefault> |
| | | <HasEmbeddedReports> false </HasEmbeddedReports> |
| | | <HtmlFileName> R55.htm </HtmlFileName> |
| | | <LongName> 100700 - 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/20231231/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> 55 </Position> |
| | | </Report> |
| | <Report instance="ghm-20231231.htm"> |
| | | <IsDefault> false </IsDefault> |
| | | <HasEmbeddedReports> false </HasEmbeddedReports> |
| | | <HtmlFileName> R56.htm </HtmlFileName> |
| | | <LongName> 100710 - Disclosure - Leases - Additional Information (Detail) </LongName> |
| | | <ReportType> Sheet </ReportType> |
| | | <Role> http://www.graham-mfg.com/20231231/taxonomy/role/Role_DisclosureLeasesAdditionalInformationDetail </Role> |
| | | <ShortName> Leases - Additional Information (Detail) </ShortName> |
| | | <MenuCategory> Details </MenuCategory> |
| | | <Position> 56 </Position> |
| | | </Report> |
| | <Report instance="ghm-20231231.htm"> |
| | | <IsDefault> false </IsDefault> |
| | | <HasEmbeddedReports> false </HasEmbeddedReports> |
| | | <HtmlFileName> R57.htm </HtmlFileName> |
| | | <LongName> 100750 - Disclosure - Debt - Additional Information (Detail) </LongName> |
| | | <ReportType> Sheet </ReportType> |
| | | <Role> http://www.graham-mfg.com/20231231/taxonomy/role/Role_DisclosureDebtAdditionalInformationDetail </Role> |
| | | <ShortName> Debt - Additional Information (Detail) </ShortName> |
| | | <MenuCategory> Details </MenuCategory> |
| | | <Position> 57 </Position> |
| | | </Report> |
| | <Report instance="ghm-20231231.htm"> |
| | | <IsDefault> false </IsDefault> |
| | | <HasEmbeddedReports> false </HasEmbeddedReports> |
| | | <HtmlFileName> R58.htm </HtmlFileName> |
| | | <LongName> 100760 - Disclosure - Debt - Schedule of Long Term Debt (Detail) </LongName> |
| | | <ReportType> Sheet </ReportType> |
| | | <Role> http://www.graham-mfg.com/20231231/taxonomy/role/DisclosureDebtScheduleOfLongTermDebtDetail </Role> |
| | | <ShortName> Debt - Schedule of Long Term Debt (Detail) </ShortName> |
| | | <MenuCategory> Details </MenuCategory> |
| | | <Position> 58 </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" isDefinitelyFs="true" isUsgaap="true" original="ghm-20231231.htm"> ghm-20231231.htm </File> |
| | <File> ghm-20231231.xsd </File> |
| | </InputFiles> |
| <SupplementalFiles> |
| | <File> img101497535_0.jpg </File> |
| | <File> img101497535_1.jpg </File> |
| | <File> img101497535_2.jpg </File> |
| | </SupplementalFiles> |
| <BaseTaxonomies> |
| | <BaseTaxonomy items="1"> http://fasb.org/srt/2023 </BaseTaxonomy> |
| | <BaseTaxonomy items="728"> http://fasb.org/us-gaap/2023 </BaseTaxonomy> |
| | <BaseTaxonomy items="29"> http://xbrl.sec.gov/dei/2023 </BaseTaxonomy> |
| | </BaseTaxonomies> |
| <HasPresentationLinkbase> false </HasPresentationLinkbase> |
| <HasCalculationLinkbase> false </HasCalculationLinkbase> |
| </FilingSummary> |