XML 118 R105.htm IDEA: XBRL DOCUMENT
v3.22.0.1

Employee Benefit Plans - Schedule of changes in other comprehensive income (loss) (Detail) - USD ($) $ in Thousands | 12 Months Ended
--- | ---
Dec. 31, 2021 | Dec. 31, 2020 | Dec. 31, 2019
Retirement Benefits [Abstract] |  |  |
Net actuarial loss | $ 9,019 | $ (5,891) |
Amortization of net actuarial loss | 1,379 | 2,242 |
Deferred income taxes | (3,859) | 894 |
Net prior service credit/(cost) | 170 | 219 |
Curtailment | 181 | 0 |
Settlements | 519 | 0 |
Effect of exchange rate changes | 179 | 491 |
Other comprehensive income (loss), net | $ (7,588) | $ 2,045 | $ 6,542

X
- Definition Deferred income taxes changes in accumulated other comprehensive income loss + References No definition available. + Details
Name: | g_DeferredIncomeTaxesChangesInAccumulatedOtherComprehensiveIncomeLoss
Namespace Prefix: | g_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | duration

X
- Definition Effect of exchange rate changes in accumulated other comprehensive income (loss). + References No definition available. + Details
Name: | g_EffectOfExchangeRateChangesInAccumulatedOtherComprehensiveIncomeLoss
Namespace Prefix: | g_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | duration

X
- Definition Other Comprehensive Income (Loss), Defined Benefit Plan, Curtailment Gain (Loss), Before Tax + References No definition available. + Details
Name: | g_OtherComprehensiveIncomeLossDefinedBenefitPlanCurtailmentGainLossBeforeTax
Namespace Prefix: | g_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | duration

X
- Definition Other Comprehensive Income (Loss), Defined Benefit Plan, Settlement Gain (Loss), Before Tax + References No definition available. + Details
Name: | g_OtherComprehensiveIncomeLossDefinedBenefitPlanSettlementGainLossBeforeTax
Namespace Prefix: | g_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | duration

X
- References No definition available. + Details
Name: | us-gaap_CompensationAndRetirementDisclosureAbstract
Namespace Prefix: | us-gaap_
Data Type: | xbrli:stringItemType
Balance Type: | na
Period Type: | duration

X
- Definition Amount of prior service cost (credit) recognized in net periodic benefit cost (credit) of defined benefit plan. + References Reference 1: http://www.xbrl.org/2003/role/exampleRef -Publisher FASB -Name Accounting Standards Codification -Topic 715 -SubTopic 20 -Section 55 -Paragraph 17 -URI http://asc.fasb.org/extlink&oid=123450688&loc=d3e4179-114921 Reference 2: http://www.xbrl.org/2003/role/disclosureRef -Publisher FASB -Name Accounting Standards Codification -Topic 715 -SubTopic 20 -Section 50 -Paragraph 1 -Subparagraph (h)(5) -URI http://asc.fasb.org/extlink&oid=123447040&loc=d3e1928-114920 Reference 3: http://www.xbrl.org/2003/role/disclosureRef -Publisher FASB -Name Accounting Standards Codification -Topic 715 -SubTopic 20 -Section 45 -Paragraph 3A -Subparagraph (b) -URI http://asc.fasb.org/extlink&oid=123453770&loc=SL108413299-114919 Reference 4: http://www.xbrl.org/2003/role/exampleRef -Publisher FASB -Name Accounting Standards Codification -Topic 715 -SubTopic 20 -Section 55 -Paragraph 18 -URI http://asc.fasb.org/extlink&oid=123450688&loc=d3e4587-114921 Reference 5: http://www.xbrl.org/2003/role/disclosureRef -Publisher FASB -Name Accounting Standards Codification -Topic 715 -SubTopic 20 -Section 50 -Paragraph 6 -Subparagraph (a)(5) -URI http://asc.fasb.org/extlink&oid=123447040&loc=d3e2709-114920 + Details
Name: | us-gaap_DefinedBenefitPlanAmortizationOfPriorServiceCostCredit
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | duration

X
- Definition Amount, after tax and reclassification adjustment, of (increase) decrease in accumulated other comprehensive income for defined benefit plan. + References Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 220 -SubTopic 10 -Section 45 -Paragraph 11 -URI http://asc.fasb.org/extlink&oid=124509347&loc=d3e637-108580 Reference 2: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 220 -SubTopic 10 -Section 45 -Paragraph 10A -Subparagraph (i-k) -URI http://asc.fasb.org/extlink&oid=124509347&loc=SL7669646-108580 + Details
Name: | us-gaap_OtherComprehensiveIncomeLossPensionAndOtherPostretirementBenefitPlansAdjustmentNetOfTax
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | duration

X
- Definition Amount, before tax, of gain (loss) for (increase) decrease in value of benefit obligation for change in actuarial assumptions and increase (decrease) in value of plan assets from experience different from that assumed of defined benefit plan, that has not been recognized in net periodic benefit (cost) credit. + References Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 220 -SubTopic 10 -Section 45 -Paragraph 10A -Subparagraph (i) -URI http://asc.fasb.org/extlink&oid=124509347&loc=SL7669646-108580 Reference 2: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 220 -SubTopic 10 -Section 45 -Paragraph 11 -URI http://asc.fasb.org/extlink&oid=124509347&loc=d3e637-108580 Reference 3: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 715 -SubTopic 20 -Section 50 -Paragraph 1 -Subparagraph (i) -URI http://asc.fasb.org/extlink&oid=123447040&loc=d3e1928-114920 + Details
Name: | us-gaap_OtherComprehensiveIncomeLossPensionAndOtherPostretirementBenefitPlansNetUnamortizedGainLossArisingDuringPeriodBeforeTax
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | duration

X
- Definition Amount, before tax, of reclassification adjustment from accumulated other comprehensive income (loss) for gain (loss) of defined benefit plan. + References Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 220 -SubTopic 10 -Section 45 -Paragraph 11 -URI http://asc.fasb.org/extlink&oid=124509347&loc=d3e637-108580 Reference 2: http://www.xbrl.org/2003/role/disclosureRef -Publisher FASB -Name Accounting Standards Codification -Topic 715 -SubTopic 20 -Section 50 -Paragraph 1 -Subparagraph (i) -URI http://asc.fasb.org/extlink&oid=123447040&loc=d3e1928-114920 Reference 3: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 220 -SubTopic 10 -Section 45 -Paragraph 15 -URI http://asc.fasb.org/extlink&oid=124509347&loc=d3e689-108580 Reference 4: http://www.xbrl.org/2003/role/disclosureRef -Publisher FASB -Name Accounting Standards Codification -Topic 220 -SubTopic 10 -Section 45 -Paragraph 17A -URI http://asc.fasb.org/extlink&oid=124509347&loc=SL34724391-108580 + Details
Name: | us-gaap_OtherComprehensiveIncomeLossReclassificationAdjustmentFromAOCIPensionAndOtherPostretirementBenefitPlansForNetGainLossBeforeTax
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | duration