XML 163 R150.htm IDEA: XBRL DOCUMENT
v3.22.0.1

Commitments and Contingencies - Narrative (Detail) - USD ($) $ in Thousands | 12 Months Ended |
--- | --- | ---
Dec. 31, 2021 | Dec. 31, 2020 | Dec. 31, 2016 | Jun. 30, 2020
Commitments And Contingencies [Line Items] |  |  |  |
Bank guarantees and letter of credits, outstanding | $ 7,865 | $ 10,156 |  |
Income tax examination, assessed tax, affiliate |  |  | $ 110,142 |
Affiliated Entity |  |  |  |
Commitments And Contingencies [Line Items] |  |  |  |
Refunds challenged by taxing authority, amount |  |  |  | $ 25,069
Capital addition purchase commitments |  |  |  |
Commitments And Contingencies [Line Items] |  |  |  |
Commitments and contingencies | $ 13,317 | $ 5,128 |  |

X
- Definition Commitments And Contingencies [Line Items] + References No definition available. + Details
Name: | g_CommitmentsAndContingenciesLineItems
Namespace Prefix: | g_
Data Type: | xbrli:stringItemType
Balance Type: | na
Period Type: | duration

X
- Definition Income Tax Examination, Refunds Challenged By Taxing Authority + References No definition available. + Details
Name: | g_IncomeTaxExaminationRefundsChallengedByTaxingAuthority
Namespace Prefix: | g_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | instant

X
- Definition Amount of contractual obligation, including but not limited to, long-term debt, capital lease obligations, operating lease obligations, purchase obligations, and other commitments. + References No definition available. + Details
Name: | us-gaap_ContractualObligation
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | instant

X
- Definition Estimated amount of loss resulting from an adverse tax position. + References Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 740 -SubTopic 10 -Section 50 -Paragraph 15 -Subparagraph (d)(3) -URI http://asc.fasb.org/extlink&oid=121826272&loc=d3e32718-109319 + Details
Name: | us-gaap_IncomeTaxExaminationEstimateOfPossibleLoss
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | duration

X
- Definition The minimum amount the entity agreed to spend under the long-term purchase commitment. + References No definition available. + Details
Name: | us-gaap_LongTermPurchaseCommitmentAmount
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | duration

X
- Details
Name: | us-gaap_RelatedPartyTransactionsByRelatedPartyAxis=srt_AffiliatedEntityMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_LongTermPurchaseCommitmentByCategoryOfItemPurchasedAxis=us-gaap_CapitalAdditionsMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |