XML 151 R138.htm IDEA: XBRL DOCUMENT
v3.22.0.1

Income taxes - Schedule of foreign tax credit carry-forward expiry period (Detail) - Foreign tax authority $ in Thousands | Dec. 31, 2021 USD ($)
--- | ---
Tax Credit Carryforward [Line Items] |
Foreign tax credit carryforward amount | $ 15,724
2028 |
Tax Credit Carryforward [Line Items] |
Foreign tax credit carryforward amount | 6,378
2029 |
Tax Credit Carryforward [Line Items] |
Foreign tax credit carryforward amount | 2,554
2030 |
Tax Credit Carryforward [Line Items] |
Foreign tax credit carryforward amount | 2,665
2031 |
Tax Credit Carryforward [Line Items] |
Foreign tax credit carryforward amount | 3,803
2035 |
Tax Credit Carryforward [Line Items] |
Foreign tax credit carryforward amount | 121
2041 |
Tax Credit Carryforward [Line Items] |
Foreign tax credit carryforward amount | $ 203

X
- Definition The amount of the tax credit 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_TaxCreditCarryforwardAmount
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | instant

X
- Definition Line items represent financial concepts included in a table. These concepts are used to disclose reportable information associated with domain members defined in one or many axes to the table. + References No definition available. + Details
Name: | us-gaap_TaxCreditCarryforwardLineItems
Namespace Prefix: | us-gaap_
Data Type: | xbrli:stringItemType
Balance Type: | na
Period Type: | duration

X
- Details
Name: | us-gaap_IncomeTaxAuthorityAxis=us-gaap_ForeignCountryMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_TaxPeriodAxis=g_ExpirationPeriod2022Member
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_TaxPeriodAxis=g_ExpirationPeriod2029Member
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_TaxPeriodAxis=g_ExpirationPeriod2033Member
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_TaxPeriodAxis=g_ExpirationPeriod2034Member
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_TaxPeriodAxis=g_ExpirationPeriod2035Member
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_TaxPeriodAxis=g_ExpirationPeriod2041Member
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |