XML 147 R134.htm IDEA: XBRL DOCUMENT
v3.22.0.1

Income taxes - Narrative (Detail) - USD ($) $ / shares in Units, $ in Thousands | 12 Months Ended
--- | ---
Dec. 31, 2021 | Dec. 31, 2020 | Dec. 31, 2019
Income Tax Disclosure [Line Items] |  |  |
Internal restructuring, consideration transferred for marketing intangibles |  | $ 650,000 |
Net excess tax benefits on share-based compensation | $ 7,773 | 7,310 | $ 2,743
Net operating loss carryforwards | 145,525 |  |
Deferred tax assets related to net operating loss carryforwards, excluding state | 34,459 |  |
Net operating loss of subsidiary, carried forward | 47,025 |  |
Additional deferred tax assets for U.S. state and local tax loss carry-forwards | 3,134 |  |
Undistributed earnings held by foreign subsidiaries for which no deferred tax liability would accrue on repatriation of retained earnings indefinitely reinvested | 622,521 |  |
Cash and cash equivalents held by foreign (non-Bermuda) subsidiaries | 875,924 |  |
Cash and cash equivalents | 899,458 | 680,440 |
Cash held by foreign subsidiary | 3,481 |  |
Cash and cash equivalents held by foreign (non-Bermuda) subsidiaries for which no tax will accrue on repatriation of retained earnings indefinitely reinvested | 872,443 |  |
Deferred tax assets | 102,380 | 105,158 |
Unrecognized tax benefits that would impact effective tax rate | 25,651 | 34,300 |
Unrecognized tax benefits, interest on income taxes accrued | 2,842 | 6,369 |
Unrecognized tax benefits, including exchange rate differences for interest recognized | 628 | 900 |
Accrued penalties | $ (13,851) | $ 662 | 826
ASC 326 |  |  |
Income Tax Disclosure [Line Items] |  |  |
Deferred tax assets |  |  | $ 935
Tax Holiday For First 5 Years |  |  |
Income Tax Disclosure [Line Items] |  |  |
Tax holiday in respect to export profits (in percentage) | 100.00% |  |
Tax holiday, period, in years | 5 years |  |
Tax Holiday from year 6 to year 10 |  |  |
Income Tax Disclosure [Line Items] |  |  |
Tax holiday in respect to export profits (in percentage) | 50.00% |  |
Tax holiday, period, in years | 5 years |  |
Tax Holiday from year 11 to year 15 |  |  |
Income Tax Disclosure [Line Items] |  |  |
Tax holiday in respect to export profits (in percentage) | 50.00% |  |
Tax holiday, period, in years | 5 years |  |
Basic and diluted earnings per share |  |  |
Income Tax Disclosure [Line Items] |  |  |
Earnings per share effect of tax holiday (in usd per share) | $ 0.02 | $ 0.08 | $ 0.11
Retained Earnings |  |  |
Income Tax Disclosure [Line Items] |  |  |
Repatriation of retained earnings | $ 9,628 |  |

X
- Definition Cash and cash equivalents held by foreign subsidiaries and branch offices. + References No definition available. + Details
Name: | g_CashAndCashEquivalentsHeldByForeignSubsidiariesAndBranchOffices
Namespace Prefix: | g_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | instant

X
- Definition Cash and cash equivalents held by foreign subsidiaries and branch offices for which no deferred tax liability would accrue on repatriation of retained earnings indefinitely reinvested. + References No definition available. + Details
Name: | g_CashAndCashEquivalentsHeldByForeignSubsidiariesAndBranchOfficesForWhichNoDeferredTaxLiabilityWouldAccrueOnRepatriationOfRetainedEarningsIndefinitelyReinvested
Namespace Prefix: | g_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | instant

X
- Definition Income Tax Disclosure [Line Items] + References No definition available. + Details
Name: | g_IncomeTaxDisclosureLineItems
Namespace Prefix: | g_
Data Type: | xbrli:stringItemType
Balance Type: | na
Period Type: | duration

X
- Definition It represents the percentage of export profits (of certain units of one of the Company's Indian subsidiary) which are eligible for tax holiday as a Special Economic Zone unit. + References No definition available. + Details
Name: | g_IncomeTaxHolidayInRespectOfExportProfitsPercentage
Namespace Prefix: | g_
Data Type: | dtr-types:percentItemType
Balance Type: | na
Period Type: | duration

X
- Definition It represents the period (in years) over which the tax holiday is available in India under the Software Technology Park of India (STPI) Scheme. + References No definition available. + Details
Name: | g_IncomeTaxHolidayPeriod
Namespace Prefix: | g_
Data Type: | xbrli:durationItemType
Balance Type: | na
Period Type: | duration

X
- Definition Restructuring, Consideration Transferred For Marketing Intangibles + References No definition available. + Details
Name: | g_RestructuringConsiderationTransferredForMarketingIntangibles
Namespace Prefix: | g_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | duration

X
- Definition Undistributed Earnings Held By Foreign Subsidiaries And Branch Offices For Which No Deferred Tax Liability Would Accrue On Repatriation Of Retained Earnings Indefinitely Reinvested + References No definition available. + Details
Name: | g_UndistributedEarningsHeldByForeignSubsidiariesAndBranchOfficesForWhichNoDeferredTaxLiabilityWouldAccrueOnRepatriationOfRetainedEarningsIndefinitelyReinvested
Namespace Prefix: | g_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | instant

X
- Definition Unrecognized tax benefits interest on income taxes expense benefit. + References No definition available. + Details
Name: | g_UnrecognizedTaxBenefitsInterestOnIncomeTaxesExpenseBenefit
Namespace Prefix: | g_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | duration

X
- Definition Amount of currency on hand as well as demand deposits with banks or financial institutions. Includes other kinds of accounts that have the general characteristics of demand deposits. Excludes cash and cash equivalents within disposal group and discontinued operation. + References Reference 1: http://www.xbrl.org/2003/role/disclosureRef -Publisher FASB -Name Accounting Standards Codification -Topic 946 -SubTopic 210 -Section 45 -Paragraph 20 -URI http://asc.fasb.org/extlink&oid=118262064&loc=SL116631418-115840 Reference 2: http://www.xbrl.org/2003/role/exampleRef -Publisher FASB -Name Accounting Standards Codification -Topic 852 -SubTopic 10 -Section 55 -Paragraph 10 -URI http://asc.fasb.org/extlink&oid=84165509&loc=d3e56426-112766 Reference 3: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 210 -SubTopic 10 -Section S99 -Paragraph 1 -Subparagraph (SX 210.5-02.1) -URI http://asc.fasb.org/extlink&oid=120391452&loc=d3e13212-122682 Reference 4: http://www.xbrl.org/2003/role/disclosureRef -Publisher FASB -Name Accounting Standards Codification -Topic 946 -SubTopic 210 -Section 45 -Paragraph 21 -URI http://asc.fasb.org/extlink&oid=118262064&loc=SL116631419-115840 + Details
Name: | us-gaap_Cash
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | instant

X
- Definition Amount of currency on hand as well as demand deposits with banks or financial institutions. Includes other kinds of accounts that have the general characteristics of demand deposits. Also includes short-term, highly liquid investments that are both readily convertible to known amounts of cash and so near their maturity that they present insignificant risk of changes in value because of changes in interest rates. Excludes cash and cash equivalents within disposal group and discontinued operation. + References Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 230 -SubTopic 10 -Section 45 -Paragraph 4 -URI http://asc.fasb.org/extlink&oid=123570139&loc=d3e3044-108585 Reference 2: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 210 -SubTopic 10 -Section 45 -Paragraph 1 -Subparagraph (a) -URI http://asc.fasb.org/extlink&oid=124098289&loc=d3e6676-107765 Reference 3: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 210 -SubTopic 10 -Section S99 -Paragraph 1 -Subparagraph (SX 210.5-02.1) -URI http://asc.fasb.org/extlink&oid=120391452&loc=d3e13212-122682 + Details
Name: | us-gaap_CashAndCashEquivalentsAtCarryingValue
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | instant

X
- Definition Amount, after allocation of valuation allowances and deferred tax liability, of deferred tax asset attributable to deductible differences and carryforwards, without jurisdictional netting. + References Reference 1: http://www.xbrl.org/2009/role/commonPracticeRef -Publisher FASB -Name Accounting Standards Codification -Topic 740 -SubTopic 10 -Section 50 -Paragraph 2 -URI http://asc.fasb.org/extlink&oid=121826272&loc=d3e32537-109319 + Details
Name: | us-gaap_DeferredTaxAssetsLiabilitiesNet
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | instant

X
- Definition Amount before allocation of valuation allowances of deferred tax asset attributable to deductible domestic operating loss carryforwards. Excludes state and local operating loss carryforwards. + References Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 740 -SubTopic 10 -Section 50 -Paragraph 8 -URI http://asc.fasb.org/extlink&oid=121826272&loc=d3e32632-109319 Reference 2: http://www.xbrl.org/2009/role/commonPracticeRef -Publisher FASB -Name Accounting Standards Codification -Topic 740 -SubTopic 10 -Section 50 -Paragraph 6 -URI http://asc.fasb.org/extlink&oid=121826272&loc=d3e32621-109319 + Details
Name: | us-gaap_DeferredTaxAssetsOperatingLossCarryforwardsDomestic
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | instant

X
- Definition Amount before allocation of valuation allowances of deferred tax asset attributable to deductible operating loss carryforwards that are not subject to expiration dates. + References No definition available. + Details
Name: | us-gaap_DeferredTaxAssetsOperatingLossCarryforwardsNotSubjectToExpiration
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | instant

X
- Definition Amount before allocation of valuation allowances of deferred tax asset attributable to deductible state and local operating loss carryforwards. + References Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 740 -SubTopic 10 -Section 50 -Paragraph 8 -URI http://asc.fasb.org/extlink&oid=121826272&loc=d3e32632-109319 Reference 2: http://www.xbrl.org/2009/role/commonPracticeRef -Publisher FASB -Name Accounting Standards Codification -Topic 740 -SubTopic 10 -Section 50 -Paragraph 6 -URI http://asc.fasb.org/extlink&oid=121826272&loc=d3e32621-109319 + Details
Name: | us-gaap_DeferredTaxAssetsOperatingLossCarryforwardsStateAndLocal
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | instant

X
- Definition Amount of foreign earnings repatriated from subsidiaries outside the country of domicile. + References No definition available. + Details
Name: | us-gaap_ForeignEarningsRepatriated
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | duration

X
- Definition Amount of income tax expense (benefit) from continuing operations attributable to an adjustment of a deferred tax liability or asset for enacted changes in tax laws or rates or a change in the tax status of the entity. + References Reference 1: http://www.xbrl.org/2003/role/disclosureRef -Publisher FASB -Name Accounting Standards Codification -Topic 740 -SubTopic 10 -Section 50 -Paragraph 9 -Subparagraph (g) -URI http://asc.fasb.org/extlink&oid=121826272&loc=d3e32639-109319 + Details
Name: | us-gaap_IncomeTaxExpenseBenefitContinuingOperationsAdjustmentOfDeferredTaxAssetLiability
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | duration

X
- Definition Per share amount effect of the income tax benefit resulting from the income tax holidays granted by taxing jurisdictions. + References Reference 1: http://www.xbrl.org/2003/role/disclosureRef -Publisher FASB -Name Accounting Standards Codification -Topic 740 -SubTopic 10 -Section S99 -Paragraph 2 -Subparagraph (SAB Topic 11.C) -URI http://asc.fasb.org/extlink&oid=122134291&loc=d3e330215-122817 + Details
Name: | us-gaap_IncomeTaxHolidayIncomeTaxBenefitsPerShare
Namespace Prefix: | us-gaap_
Data Type: | dtr-types:perShareItemType
Balance Type: | na
Period Type: | duration

X
- Definition Amount of operating loss carryforward, before tax effects, available to reduce future taxable income under enacted tax laws. + References Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 740 -SubTopic 10 -Section 50 -Paragraph 3 -Subparagraph (a) -URI http://asc.fasb.org/extlink&oid=121826272&loc=d3e32559-109319 + Details
Name: | us-gaap_OperatingLossCarryforwards
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | instant

X
- Definition Amount of statutory penalties accrued for a tax position claimed or expected to be claimed by the entity, in its tax return. + References Reference 1: http://www.xbrl.org/2009/role/commonPracticeRef -Publisher FASB -Name Accounting Standards Codification -Topic 740 -SubTopic 10 -Section 50 -Paragraph 15 -Subparagraph (c) -URI http://asc.fasb.org/extlink&oid=121826272&loc=d3e32718-109319 + Details
Name: | us-gaap_UnrecognizedTaxBenefitsIncomeTaxPenaltiesAccrued
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | instant

X
- Definition Amount of interest expense accrued for an underpayment of income taxes. + References Reference 1: http://www.xbrl.org/2009/role/commonPracticeRef -Publisher FASB -Name Accounting Standards Codification -Topic 740 -SubTopic 10 -Section 50 -Paragraph 15 -Subparagraph (c) -URI http://asc.fasb.org/extlink&oid=121826272&loc=d3e32718-109319 + Details
Name: | us-gaap_UnrecognizedTaxBenefitsInterestOnIncomeTaxesAccrued
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | instant

X
- Definition The total amount of unrecognized tax benefits that, if recognized, would affect the effective tax rate. + References Reference 1: http://www.xbrl.org/2003/role/disclosureRef -Publisher FASB -Name Accounting Standards Codification -Topic 740 -SubTopic 10 -Section 50 -Paragraph 15A -Subparagraph (b) -URI http://asc.fasb.org/extlink&oid=121826272&loc=SL6600010-109319 + Details
Name: | us-gaap_UnrecognizedTaxBenefitsThatWouldImpactEffectiveTaxRate
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | instant

X
- Details
Name: | us-gaap_AdjustmentsForNewAccountingPronouncementsAxis=us-gaap_AccountingStandardsUpdate201613Member
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | g_IncomeTaxHolidayAxis=g_TaxHolidayForFirstFiveYearsMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | g_IncomeTaxHolidayAxis=g_TaxHolidayForNextFiveYearsMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | g_IncomeTaxHolidayAxis=g_TaxHolidayForFurtherFiveYearsMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | g_IncomeTaxHolidayAxis=g_BasicAndDilutedEarningsPerShareMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_StatementEquityComponentsAxis=us-gaap_RetainedEarningsMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |