XML 53 R40.htm IDEA: XBRL DOCUMENT
v3.22.2

Revenue Recognition - Additional Information (Detail1) | Jun. 30, 2022
--- | ---
Revenue, Remaining Performance Obligation, Expected Timing of Satisfaction, Start Date: 2024-01-01 |
Contract With Customer Assets And Liabilities [Line Items] |
Revenue remaining performance obligation, expected timing of satisfaction, period | 1 year
Minimum [Member] | Revenue, Remaining Performance Obligation, Expected Timing of Satisfaction, Start Date: 2022-01-01 |
Contract With Customer Assets And Liabilities [Line Items] |
Revenue remaining performance obligation percentage | 40.00%
Minimum [Member] | Revenue, Remaining Performance Obligation, Expected Timing of Satisfaction, Start Date: 2023-01-01 |
Contract With Customer Assets And Liabilities [Line Items] |
Revenue remaining performance obligation percentage | 25.00%
Maximum [Member] | Revenue, Remaining Performance Obligation, Expected Timing of Satisfaction, Start Date: 2022-01-01 |
Contract With Customer Assets And Liabilities [Line Items] |
Revenue remaining performance obligation percentage | 50.00%
Revenue remaining performance obligation, expected timing of satisfaction, period | 1 year
Maximum [Member] | Revenue, Remaining Performance Obligation, Expected Timing of Satisfaction, Start Date: 2023-01-01 |
Contract With Customer Assets And Liabilities [Line Items] |
Revenue remaining performance obligation percentage | 35.00%
Revenue remaining performance obligation, expected timing of satisfaction, period | 2 years

X
- Definition Contract with customer assets and liabilities. + References No definition available. + Details
Name: | ghm_ContractWithCustomerAssetsAndLiabilitiesLineItems
Namespace Prefix: | ghm_
Data Type: | xbrli:stringItemType
Balance Type: | na
Period Type: | duration

X
- Definition Period in which remaining performance obligation is expected to be recognized as revenue, in 'PnYnMnDTnHnMnS' format, for example, 'P1Y5M13D' represents reported fact of one year, five months, and thirteen days. + References Reference 1: http://www.xbrl.org/2003/role/disclosureRef -Publisher FASB -Name Accounting Standards Codification -Topic 606 -SubTopic 10 -Section 50 -Paragraph 13 -Subparagraph (b)(1) -URI https://asc.fasb.org/extlink&oid=126920106&loc=SL49130556-203045 + Details
Name: | us-gaap_RevenueRemainingPerformanceObligationExpectedTimingOfSatisfactionPeriod1
Namespace Prefix: | us-gaap_
Data Type: | xbrli:durationItemType
Balance Type: | na
Period Type: | instant

X
- Definition Percentage of remaining performance obligation to total remaining performance obligation not recognized as revenue. + References Reference 1: http://www.xbrl.org/2009/role/commonPracticeRef -Publisher FASB -Name Accounting Standards Codification -Topic 606 -SubTopic 10 -Section 50 -Paragraph 13 -Subparagraph (b)(1) -URI https://asc.fasb.org/extlink&oid=126920106&loc=SL49130556-203045 + Details
Name: | us-gaap_RevenueRemainingPerformanceObligationPercentage
Namespace Prefix: | us-gaap_
Data Type: | dtr-types:percentItemType
Balance Type: | na
Period Type: | instant

X
- Details
Name: | us-gaap_RevenueRemainingPerformanceObligationExpectedTimingOfSatisfactionStartDateAxis=2024-01-01
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | srt_RangeAxis=srt_MinimumMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_RevenueRemainingPerformanceObligationExpectedTimingOfSatisfactionStartDateAxis=2022-01-01
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_RevenueRemainingPerformanceObligationExpectedTimingOfSatisfactionStartDateAxis=2023-01-01
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | srt_RangeAxis=srt_MaximumMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |