XML 89 R63.htm IDEA: XBRL DOCUMENT
v3.24.0.1

Income taxes - Narratives (Details) - USD ($) | 12 Months Ended | 24 Months Ended
--- | --- | ---
Dec. 31, 2023 | Dec. 31, 2022 | Dec. 31, 2021 | Dec. 31, 2022
Income Tax Disclosure [Abstract] |  |  |  |
Effective tax rate | 23.20% | 4.70% | 0.00% |
Enacted statutory rate | 21.00% |  |  |
Deferred tax assets, operating loss carryforwards, not subject to expiration | $ 61,100,000 |  |  |
Deferred tax assets, operating loss carryforwards, subject to expiration | $ 61,100,000 |  |  |
Unrecognized tax benefits, interest or penalties |  |  |  | $ 0
Inflation Reduction Act, corporate alternative minimum tax percentage | 15.00% |  |  |
Inflation Reduction Act, excise tax percentage | 1.00% |  |  |

X
- Definition Corporate alternative minimum tax rate offered to certain large corporations as a part of the Inflation Reduction Act (IRA). + References No definition available. + Details
Name: | grnt_EffectiveIncomeTaxRateReconciliationCorporateAlternativeMinimumTaxPercent
Namespace Prefix: | grnt_
Data Type: | dtr-types1:percentItemType
Balance Type: | na
Period Type: | duration

X
- Definition Percentage of the difference between reported income tax expense (benefit) and expected income tax expense (benefit) computed by applying the domestic federal statutory income tax rates to pretax income (loss) from continuing operations attributable to a nondeductible excise tax on certain stock repurchased by the company. + References No definition available. + Details
Name: | grnt_EffectiveIncomeTaxRateReconciliationNondeductibleExciseTaxPercent
Namespace Prefix: | grnt_
Data Type: | dtr-types1:percentItemType
Balance Type: | na
Period Type: | duration

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 operating loss carryforwards that are subject to expiration dates. + References No definition available. + Details
Name: | us-gaap_DeferredTaxAssetsOperatingLossCarryforwardsSubjectToExpiration
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | instant

X
- Definition Percentage of current income tax expense (benefit) and deferred income tax expense (benefit) pertaining to continuing operations. + References Reference 1: http://www.xbrl.org/2003/role/disclosureRef -Topic 740 -SubTopic 10 -Name Accounting Standards Codification -Section 50 -Paragraph 12 -Publisher FASB -URI https://asc.fasb.org//1943274/2147482685/740-10-50-12 + Details
Name: | us-gaap_EffectiveIncomeTaxRateContinuingOperations
Namespace Prefix: | us-gaap_
Data Type: | dtr-types:percentItemType
Balance Type: | na
Period Type: | duration

X
- Definition Percentage of the difference between reported income tax expense (benefit) and expected income tax expense (benefit) computed by applying the domestic federal statutory income tax rates to pretax income (loss) from continuing operations attributable to changes in the income tax rates. + References Reference 1: http://www.xbrl.org/2009/role/commonPracticeRef -Topic 740 -SubTopic 10 -Name Accounting Standards Codification -Section 50 -Paragraph 12 -Publisher FASB -URI https://asc.fasb.org//1943274/2147482685/740-10-50-12 Reference 2: http://www.xbrl.org/2003/role/disclosureRef -Topic 740 -SubTopic 10 -Name Accounting Standards Codification -Section S99 -Paragraph 1 -Subparagraph (SAB Topic 6.I.Fact.4) -Publisher FASB -URI https://asc.fasb.org//1943274/2147479360/740-10-S99-1 + Details
Name: | us-gaap_EffectiveIncomeTaxRateReconciliationChangeInEnactedTaxRate
Namespace Prefix: | us-gaap_
Data Type: | dtr-types:percentItemType
Balance Type: | na
Period Type: | duration

X
- References No definition available. + Details
Name: | us-gaap_IncomeTaxDisclosureAbstract
Namespace Prefix: | us-gaap_
Data Type: | xbrli:stringItemType
Balance Type: | na
Period Type: | duration

X
- Definition Amount of expense for interest on an underpayment of income taxes and penalties related to a tax position claimed or expected to be claimed in the tax return. + References Reference 1: http://www.xbrl.org/2003/role/disclosureRef -Topic 740 -SubTopic 10 -Name Accounting Standards Codification -Section 50 -Paragraph 15 -Subparagraph (c) -Publisher FASB -URI https://asc.fasb.org//1943274/2147482685/740-10-50-15 + Details
Name: | us-gaap_UnrecognizedTaxBenefitsIncomeTaxPenaltiesAndInterestExpense
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | duration