XML 94 R81.htm IDEA: XBRL DOCUMENT
v3.22.0.1

Derivative Financial Instruments - Schedule of gains or losses recognized in other comprehensive income (loss) (Detail) - USD ($) $ in Thousands | 12 Months Ended
--- | ---
Dec. 31, 2021 | Dec. 31, 2020 | Dec. 31, 2019
Other Comprehensive Income (Loss) [Line Items] |  |  |
Amount of Gain (Loss) recognized in OCI on Derivatives (Effective Portion) | $ 36,017 | $ (12,966) | $ 17,686
Amount of Gain (Loss) reclassified from OCI into Statement of Income (Effective Portion) | 7,628 | (6,171) | 19,401
Amount of Gain (Loss) recognized in Statement of Income on Derivatives | 12,116 | (4,092) | 4,299
Revenue |  |  |
Other Comprehensive Income (Loss) [Line Items] |  |  |
Amount of Gain (Loss) reclassified from OCI into Statement of Income (Effective Portion) | 1,354 | 4,432 | 6,782
Cost of Revenue |  |  |
Other Comprehensive Income (Loss) [Line Items] |  |  |
Amount of Gain (Loss) reclassified from OCI into Statement of Income (Effective Portion) | 11,155 | (4,553) | 6,435
Selling, general and administrative expenses |  |  |
Other Comprehensive Income (Loss) [Line Items] |  |  |
Amount of Gain (Loss) reclassified from OCI into Statement of Income (Effective Portion) | 3,012 | (1,266) | 1,732
Interest expense |  |  |
Other Comprehensive Income (Loss) [Line Items] |  |  |
Amount of Gain (Loss) reclassified from OCI into Statement of Income (Effective Portion) | (7,893) | (4,784) | 4,452
Forward foreign exchange contracts |  |  |
Other Comprehensive Income (Loss) [Line Items] |  |  |
Amount of Gain (Loss) recognized in OCI on Derivatives (Effective Portion) | 32,270 | 6,933 | 24,581
Forward foreign exchange contracts | Foreign exchange (gains) losses, net | Not designated as hedging instrument |  |  |
Other Comprehensive Income (Loss) [Line Items] |  |  |
Amount of Gain (Loss) recognized in Statement of Income on Derivatives | 12,116 | (8,055) | 4,299
Forward foreign exchange contracts | Foreign exchange (gains) losses, net | Designated as hedging instrument |  |  |
Other Comprehensive Income (Loss) [Line Items] |  |  |
Amount of Gain (Loss) recognized in Statement of Income on Derivatives | 0 | 3,963 | 0
Interest rate swaps |  |  |
Other Comprehensive Income (Loss) [Line Items] |  |  |
Amount of Gain (Loss) recognized in OCI on Derivatives (Effective Portion) | 2,931 | (19,899) | (6,895)
Treasury rate lock |  |  |
Other Comprehensive Income (Loss) [Line Items] |  |  |
Amount of Gain (Loss) recognized in OCI on Derivatives (Effective Portion) | $ 816 | $ 0 | $ 0

X
- Definition Other Comprehensive Income (Loss) [Line Items] + References No definition available. + Details
Name: | g_OtherComprehensiveIncomeLossLineItems
Namespace Prefix: | g_
Data Type: | xbrli:stringItemType
Balance Type: | na
Period Type: | duration

X
- Definition Amount of gain (loss) recognized in earnings in the period from the increase (decrease) in fair value of foreign currency derivatives not designated as hedging instruments. + References Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 815 -SubTopic 10 -Section 50 -Paragraph 4A -Subparagraph (b) -URI http://asc.fasb.org/extlink&oid=125515794&loc=SL5618551-113959 Reference 2: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 815 -SubTopic 10 -Section 50 -Paragraph 4C -Subparagraph (e) -URI http://asc.fasb.org/extlink&oid=125515794&loc=SL5624171-113959 + Details
Name: | us-gaap_GainLossOnForeignCurrencyDerivativeInstrumentsNotDesignatedAsHedgingInstruments
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | duration

X
- Definition Amount, before tax and reclassification, of gain (loss) from derivative instrument designated and qualifying cash flow hedge included in assessment of hedge effectiveness. + References Reference 1: http://www.xbrl.org/2003/role/disclosureRef -Publisher FASB -Name Accounting Standards Codification -Topic 815 -SubTopic 20 -Section 45 -Paragraph 3 -URI http://asc.fasb.org/extlink&oid=121577181&loc=SL110061190-113977 Reference 2: http://www.xbrl.org/2003/role/disclosureRef -Publisher FASB -Name Accounting Standards Codification -Topic 815 -SubTopic 10 -Section 50 -Paragraph 4A -Subparagraph (b)(2) -URI http://asc.fasb.org/extlink&oid=125515794&loc=SL5618551-113959 Reference 3: http://www.xbrl.org/2003/role/disclosureRef -Publisher FASB -Name Accounting Standards Codification -Topic 815 -SubTopic 10 -Section 50 -Paragraph 4C -Subparagraph (b) -URI http://asc.fasb.org/extlink&oid=125515794&loc=SL5624171-113959 Reference 4: http://www.xbrl.org/2003/role/disclosureRef -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 5: http://www.xbrl.org/2003/role/disclosureRef -Publisher FASB -Name Accounting Standards Codification -Topic 220 -SubTopic 10 -Section 45 -Paragraph 10A -Subparagraph (d) -URI http://asc.fasb.org/extlink&oid=124509347&loc=SL7669646-108580 + Details
Name: | us-gaap_OtherComprehensiveIncomeLossCashFlowHedgeGainLossBeforeReclassificationAndTax
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | duration

X
- Definition Amount, before tax, of reclassification of gain (loss) from accumulated other comprehensive income (AOCI) for derivative instrument designated and qualifying as cash flow hedge included in assessment of hedge effectiveness. + References Reference 1: http://www.xbrl.org/2003/role/disclosureRef -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 2: http://www.xbrl.org/2003/role/disclosureRef -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://www.xbrl.org/2003/role/disclosureRef -Publisher FASB -Name Accounting Standards Codification -Topic 815 -SubTopic 10 -Section 50 -Paragraph 4C -Subparagraph (c) -URI http://asc.fasb.org/extlink&oid=125515794&loc=SL5624171-113959 + Details
Name: | us-gaap_OtherComprehensiveIncomeLossCashFlowHedgeGainLossReclassificationBeforeTax
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | duration

X
- Details
Name: | us-gaap_IncomeStatementLocationAxis=us-gaap_SalesMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_IncomeStatementLocationAxis=us-gaap_CostOfSalesMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_IncomeStatementLocationAxis=us-gaap_SellingGeneralAndAdministrativeExpensesMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_IncomeStatementLocationAxis=us-gaap_InterestExpenseMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_DerivativeInstrumentRiskAxis=us-gaap_ForeignExchangeContractMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_IncomeStatementLocationAxis=g_ForwardForeignExchangeContractsMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_HedgingDesignationAxis=us-gaap_NondesignatedMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_HedgingDesignationAxis=us-gaap_DesignatedAsHedgingInstrumentMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_DerivativeInstrumentRiskAxis=us-gaap_InterestRateSwapMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_DerivativeInstrumentRiskAxis=us-gaap_TreasuryLockMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |