XML 80 R67.htm IDEA: XBRL DOCUMENT
v3.24.1.1.u2

Derivative Financial Instruments - Schedule of gains or losses recognized in other comprehensive income (loss) (Detail) - USD ($) $ in Thousands | 3 Months Ended
--- | ---
Mar. 31, 2024 | Mar. 31, 2023
Other Comprehensive Income (Loss) [Line Items] |  |
Amount of gain (Loss) recognized in OCI on derivatives (effective portion) | $ 19,287 | $ 18,824
Amount of gain (loss) reclassified from OCI into statement of income (effective portion) | 2,960 | 2,191
Non designated hedges, amount of (gain) loss recognized in statement of income on derivatives | 730 | 7,851
Revenue |  |
Other Comprehensive Income (Loss) [Line Items] |  |
Amount of gain (loss) reclassified from OCI into statement of income (effective portion) | 391 | 635
Cost of revenue |  |
Other Comprehensive Income (Loss) [Line Items] |  |
Amount of gain (loss) reclassified from OCI into statement of income (effective portion) | 1,745 | (1,413)
Selling, general and administrative expenses |  |
Other Comprehensive Income (Loss) [Line Items] |  |
Amount of gain (loss) reclassified from OCI into statement of income (effective portion) | 508 | (191)
Interest expense |  |
Other Comprehensive Income (Loss) [Line Items] |  |
Amount of gain (loss) reclassified from OCI into statement of income (effective portion) | 316 | 3,160
Forward foreign exchange contracts |  |
Other Comprehensive Income (Loss) [Line Items] |  |
Amount of gain (Loss) recognized in OCI on derivatives (effective portion) | 16,449 | 17,375
Forward foreign exchange contracts | Foreign exchange gains (losses), net | Non-designated |  |
Other Comprehensive Income (Loss) [Line Items] |  |
Non designated hedges, amount of (gain) loss recognized in statement of income on derivatives | 730 | 7,851
Interest rate swaps |  |
Other Comprehensive Income (Loss) [Line Items] |  |
Amount of gain (Loss) recognized in OCI on derivatives (effective portion) | $ 2,838 | $ 1,449

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 -Name Accounting Standards Codification -Topic 815 -SubTopic 10 -Section 50 -Paragraph 4C -Subparagraph (e) -Publisher FASB -URI https://asc.fasb.org//1943274/2147480434/815-10-50-4C Reference 2: http://fasb.org/us-gaap/role/ref/legacyRef -Name Accounting Standards Codification -Topic 815 -SubTopic 10 -Section 50 -Paragraph 4A -Subparagraph (b) -Publisher FASB -URI https://asc.fasb.org//1943274/2147480434/815-10-50-4A + 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 -Topic 220 -SubTopic 10 -Name Accounting Standards Codification -Section 45 -Paragraph 11 -Publisher FASB -URI https://asc.fasb.org//1943274/2147482790/220-10-45-11 Reference 2: http://www.xbrl.org/2003/role/disclosureRef -Topic 815 -SubTopic 10 -Name Accounting Standards Codification -Section 50 -Paragraph 4C -Subparagraph (b) -Publisher FASB -URI https://asc.fasb.org//1943274/2147480434/815-10-50-4C Reference 3: http://www.xbrl.org/2003/role/disclosureRef -Topic 815 -SubTopic 20 -Name Accounting Standards Codification -Section 45 -Paragraph 3 -Publisher FASB -URI https://asc.fasb.org//1943274/2147480627/815-20-45-3 Reference 4: http://www.xbrl.org/2003/role/disclosureRef -Topic 815 -SubTopic 10 -Name Accounting Standards Codification -Section 50 -Paragraph 4A -Subparagraph (b)(2) -Publisher FASB -URI https://asc.fasb.org//1943274/2147480434/815-10-50-4A Reference 5: http://www.xbrl.org/2003/role/disclosureRef -Topic 220 -SubTopic 10 -Name Accounting Standards Codification -Section 45 -Paragraph 10A -Subparagraph (d) -Publisher FASB -URI https://asc.fasb.org//1943274/2147482790/220-10-45-10A + 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 -Topic 220 -SubTopic 10 -Name Accounting Standards Codification -Section 45 -Paragraph 11 -Publisher FASB -URI https://asc.fasb.org//1943274/2147482790/220-10-45-11 Reference 2: http://www.xbrl.org/2003/role/disclosureRef -Topic 220 -SubTopic 10 -Name Accounting Standards Codification -Section 45 -Paragraph 15 -Publisher FASB -URI https://asc.fasb.org//1943274/2147482790/220-10-45-15 Reference 3: http://www.xbrl.org/2003/role/disclosureRef -Name Accounting Standards Codification -Section 50 -Paragraph 4C -Subparagraph (c) -SubTopic 10 -Topic 815 -Publisher FASB -URI https://asc.fasb.org//1943274/2147480434/815-10-50-4C + 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_DerivativeInstrumentRiskAxis=us-gaap_InterestRateSwapMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |