XML 65 R55.htm IDEA: XBRL DOCUMENT
v3.23.1

Equity - Narrative (Details) $ / shares in Units, $ in Thousands |  | 1 Months Ended | 3 Months Ended | 12 Months Ended |  |  |
--- | --- | --- | --- | --- | --- | --- | ---
Feb. 01, 2023 shares | Jun. 30, 2022 shares | May 31, 2021 USD ($) shares | Apr. 30, 2023 USD ($) vote $ / shares shares | Apr. 30, 2022 USD ($) shares | Jan. 31, 2023 USD ($) $ / shares shares | Mar. 31, 2023 USD ($) | Oct. 18, 2021 $ / shares shares | Sep. 30, 2021 shares
Share-based Compensation Arrangement by Share-based Payment Award [Line Items] |  |  |  |  |  |  |  |  |
Preferred stock, shares authorized (in shares) | shares |  |  |  | 50,000,000 |  | 50,000,000 |  | 50,000,000 |
Preferred stock, par value (in USD per share) | $ / shares |  |  |  | $ 0.0000025 |  | $ 0.0000025 |  | $ 0.0000025 |
Shares subject to repurchase obligation (in shares) | shares |  |  |  | 100,150 |  | 194,304 |  |  |
Deferred compensation liability, noncurrent |  |  |  | $ 1,200 |  | $ 1,800 |  |  |
Awards authorized (in shares) | shares |  |  |  | 7,557,000 |  | 7,673,000 |  |  |
Options granted (in shares) | shares |  |  |  | 0 | 0 |  |  |  |
Intrinsic value of options exercised |  |  |  | $ 32,600 | $ 30,800 |  |  |  |
Compensation expense not yet recognized |  |  |  | 37,400 |  | $ 46,200 |  |  |
Total stock-based compensation expense |  |  |  | $ 32,330 | 17,471 |  |  |  |
Grant date fair value of RSUs granted |  |  | $ 8,800 |  |  |  |  |  |
Offering period |  |  |  | 24 months |  |  |  |  |
Tax benefit for stock-based compensation expense |  |  |  | $ 2,800 | 900 |  |  |  |
Charitable donation of common stock |  |  |  | $ 2,675 |  |  |  |  |
Shares subject to outstanding common stock options |  |  |  |  |  |  |  |  |
Share-based Compensation Arrangement by Share-based Payment Award [Line Items] |  |  |  |  |  |  |  |  |
Period for recognition (in years) |  |  |  | 2 years |  | 2 years 1 month 6 days |  |  |
Shares subject to outstanding common stock options | 2015 Equity Incentive Plan |  |  |  |  |  |  |  |  |
Share-based Compensation Arrangement by Share-based Payment Award [Line Items] |  |  |  |  |  |  |  |  |
Expiration period (in years) |  |  |  | 10 years |  |  |  |  |
Shares subject to outstanding common stock options | 2015 Equity Incentive Plan | Period one |  |  |  |  |  |  |  |  |
Share-based Compensation Arrangement by Share-based Payment Award [Line Items] |  |  |  |  |  |  |  |  |
Award vesting percentage |  |  |  | 25.00% |  |  |  |  |
Award vesting period (in years) |  |  |  | 1 year |  |  |  |  |
Shares subject to outstanding common stock options | 2015 Equity Incentive Plan | Period two |  |  |  |  |  |  |  |  |
Share-based Compensation Arrangement by Share-based Payment Award [Line Items] |  |  |  |  |  |  |  |  |
Award vesting period (in years) |  |  |  | 36 months |  |  |  |  |
RSUs |  |  |  |  |  |  |  |  |
Share-based Compensation Arrangement by Share-based Payment Award [Line Items] |  |  |  |  |  |  |  |  |
Compensation expense not yet recognized |  |  |  | $ 357,200 |  | $ 254,800 |  |  |
Period for recognition (in years) |  |  |  | 3 years 4 months 24 days |  | 3 years 2 months 12 days |  |  |
RSUs | Chief Executive Officer |  |  |  |  |  |  |  |  |
Share-based Compensation Arrangement by Share-based Payment Award [Line Items] |  |  |  |  |  |  |  |  |
Period for recognition (in years) |  |  |  | 5 years 7 months 6 days |  |  |  |  |
Total stock-based compensation expense |  |  |  | $ 400 | 400 |  |  |  |
Compensation expense not yet recognized |  |  |  | $ 5,500 |  |  |  |  |
RSUs | Minimum | Chief Executive Officer |  |  |  |  |  |  |  |  |
Share-based Compensation Arrangement by Share-based Payment Award [Line Items] |  |  |  |  |  |  |  |  |
Period for recognition (in years) |  |  |  | 2 years |  |  |  |  |
RSUs | Maximum | Chief Executive Officer |  |  |  |  |  |  |  |  |
Share-based Compensation Arrangement by Share-based Payment Award [Line Items] |  |  |  |  |  |  |  |  |
Period for recognition (in years) |  |  |  | 7 years |  |  |  |  |
RSUs | 2021 Equity Incentive Plan | Minimum |  |  |  |  |  |  |  |  |
Share-based Compensation Arrangement by Share-based Payment Award [Line Items] |  |  |  |  |  |  |  |  |
Award vesting period (in years) |  |  |  | 2 years |  |  |  |  |
RSUs | 2021 Equity Incentive Plan | Maximum |  |  |  |  |  |  |  |  |
Share-based Compensation Arrangement by Share-based Payment Award [Line Items] |  |  |  |  |  |  |  |  |
Award vesting period (in years) |  |  |  | 4 years |  |  |  |  |
PSUs |  |  |  |  |  |  |  |  |
Share-based Compensation Arrangement by Share-based Payment Award [Line Items] |  |  |  |  |  |  |  |  |
Award vesting percentage |  | 100.00% |  |  |  |  |  |  |
Period for recognition (in years) |  |  |  | 2 years 7 months 6 days |  |  |  |  |
RSUs granted in period (in shares) | shares |  | 400,000 |  |  |  |  |  |  |
Total stock-based compensation expense |  |  |  | $ 400 |  |  |  |  |
Compensation expense not yet recognized |  |  |  | $ 6,100 |  |  |  |  |
PSUs | Minimum |  |  |  |  |  |  |  |  |
Share-based Compensation Arrangement by Share-based Payment Award [Line Items] |  |  |  |  |  |  |  |  |
Award vesting percentage |  | 0.00% |  |  |  |  |  |  |
PSUs | Maximum |  |  |  |  |  |  |  |  |
Share-based Compensation Arrangement by Share-based Payment Award [Line Items] |  |  |  |  |  |  |  |  |
Award vesting percentage |  | 200.00% |  |  |  |  |  |  |
ESPP | 2021 Employee Stock Purchase Plan |  |  |  |  |  |  |  |  |
Share-based Compensation Arrangement by Share-based Payment Award [Line Items] |  |  |  |  |  |  |  |  |
Period for recognition (in years) |  |  |  | 1 year 7 months 6 days |  |  |  |  |
Total stock-based compensation expense |  |  |  | $ 4,500 | $ 4,400 |  |  |  |
Compensation expense not yet recognized |  |  |  | 14,200 |  |  |  |  |
Plan modification, cost not yet recognized |  |  |  | $ 9,900 |  |  |  |  |
Class A Common Stock |  |  |  |  |  |  |  |  |
Share-based Compensation Arrangement by Share-based Payment Award [Line Items] |  |  |  |  |  |  |  |  |
Common stock, shares authorized (in shares) | shares |  |  |  | 1,500,000,000 |  | 1,500,000,000 |  | 1,500,000,000 |
Common stock, par value (in USD per share) | $ / shares |  |  |  | $ 0.0000025 |  | $ 0.0000025 |  | $ 0.0000025 |
Voting rights, vote per share | vote |  |  |  | 1 |  |  |  |  |
Common stock reserved for future issuance (in shares) | shares |  |  |  |  |  |  |  |  | 1,635,545
Aggregate principal amount, donation |  |  |  |  |  |  | $ 10,700 |  |
Charitable donation of common stock (in shares) | shares |  |  |  | 80,742 |  |  |  |  |
Charitable donation of common stock |  |  |  | $ 2,700 |  |  |  |  |
Class A Common Stock | 2021 Equity Incentive Plan |  |  |  |  |  |  |  |  |
Share-based Compensation Arrangement by Share-based Payment Award [Line Items] |  |  |  |  |  |  |  |  |
Common stock reserved for future issuance (in shares) | shares |  |  |  |  |  |  |  |  | 13,032,289
Awards authorized (in shares) | shares | 7,557,298 |  |  |  |  |  |  |  |
Class A Common Stock | ESPP | 2021 Employee Stock Purchase Plan |  |  |  |  |  |  |  |  |
Share-based Compensation Arrangement by Share-based Payment Award [Line Items] |  |  |  |  |  |  |  |  |
Awards authorized (in shares) | shares | 1,511,459 |  |  |  |  |  |  |  |
Class B Common Stock |  |  |  |  |  |  |  |  |
Share-based Compensation Arrangement by Share-based Payment Award [Line Items] |  |  |  |  |  |  |  |  |
Common stock, shares authorized (in shares) | shares |  |  |  | 250,000,000 |  | 250,000,000 |  | 250,000,000 |
Common stock, par value (in USD per share) | $ / shares |  |  |  | $ 0.0000025 |  | $ 0.0000025 |  | $ 0.0000025 |
Voting rights, vote per share | vote |  |  |  | 10 |  |  |  |  |
Class B Common Stock | RSUs | Chief Executive Officer |  |  |  |  |  |  |  |  |
Share-based Compensation Arrangement by Share-based Payment Award [Line Items] |  |  |  |  |  |  |  |  |
RSUs granted in period (in shares) | shares |  |  | 3,000,000 |  |  |  |  |  |

X
- Definition Common Stock, Capital Shares Subject to Repurchase Obligation + References No definition available. + Details
Name: | gtlb_CommonStockCapitalSharesSubjectToRepurchaseObligation
Namespace Prefix: | gtlb_
Data Type: | xbrli:sharesItemType
Balance Type: | na
Period Type: | instant

X
- Definition Common Stock, Voting Rights, Votes + References No definition available. + Details
Name: | gtlb_CommonStockVotingRightsVotes
Namespace Prefix: | gtlb_
Data Type: | xbrli:integerItemType
Balance Type: | na
Period Type: | instant

X
- Definition Equity Charitable Donation, Amount + References No definition available. + Details
Name: | gtlb_EquityCharitableDonationAmount
Namespace Prefix: | gtlb_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | instant

X
- Definition Share-Based Compensation Arrangement by Share-Based Payment Award, Equity Instruments Other Than Options, Grant Date Fair Value + References No definition available. + Details
Name: | gtlb_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsGrantDateFairValue
Namespace Prefix: | gtlb_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | instant

X
- Definition Share-based Compensation Arrangement by Share-based Payment Award, Offering Period + References No definition available. + Details
Name: | gtlb_ShareBasedCompensationArrangementByShareBasedPaymentAwardOfferingPeriod
Namespace Prefix: | gtlb_
Data Type: | xbrli:durationItemType
Balance Type: | na
Period Type: | duration

X
- Definition Share-Based Payment Arrangement, Nonvested Award, Modification, Cost Not Yet Recognized + References No definition available. + Details
Name: | gtlb_ShareBasedPaymentArrangementNonvestedAwardModificationCostNotYetRecognized
Namespace Prefix: | gtlb_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | instant

X
- Definition Stock Issued During Period, Shares, Issued for Charitable Contributions + References No definition available. + Details
Name: | gtlb_StockIssuedDuringPeriodSharesIssuedForCharitableContributions
Namespace Prefix: | gtlb_
Data Type: | xbrli:sharesItemType
Balance Type: | na
Period Type: | duration

X
- Definition Stock Issued During Period, Value, Issued for Charitable Contributions + References No definition available. + Details
Name: | gtlb_StockIssuedDuringPeriodValueIssuedForCharitableContributions
Namespace Prefix: | gtlb_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | duration

X
- Definition Amount of expense for award under share-based payment arrangement. Excludes amount capitalized. + References Reference 1: http://www.xbrl.org/2003/role/disclosureRef -Publisher FASB -Name Accounting Standards Codification -Topic 718 -SubTopic 10 -Section 50 -Paragraph 2 -Subparagraph (h)(1)(i) -URI https://asc.fasb.org/extlink&oid=128089324&loc=d3e5070-113901 + Details
Name: | us-gaap_AllocatedShareBasedCompensationExpense
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | duration

X
- Definition Aggregate number of common shares reserved for future issuance. + References Reference 1: 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.29) -URI https://asc.fasb.org/extlink&oid=120391452&loc=d3e13212-122682 + Details
Name: | us-gaap_CommonStockCapitalSharesReservedForFutureIssuance
Namespace Prefix: | us-gaap_
Data Type: | xbrli:sharesItemType
Balance Type: | na
Period Type: | instant

X
- Definition Face amount or stated value per share of common stock. + References Reference 1: 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(29)) -URI https://asc.fasb.org/extlink&oid=120391452&loc=d3e13212-122682 + Details
Name: | us-gaap_CommonStockParOrStatedValuePerShare
Namespace Prefix: | us-gaap_
Data Type: | dtr-types:perShareItemType
Balance Type: | na
Period Type: | instant

X
- Definition The maximum number of common shares permitted to be issued by an entity's charter and bylaws. + References Reference 1: 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(29)) -URI https://asc.fasb.org/extlink&oid=120391452&loc=d3e13212-122682 + Details
Name: | us-gaap_CommonStockSharesAuthorized
Namespace Prefix: | us-gaap_
Data Type: | xbrli:sharesItemType
Balance Type: | na
Period Type: | instant

X
- Definition Aggregate carrying value as of the balance sheet date of the liabilities for stock option plans and other equity-based compensation arrangements payable after one year (or the operating cycle, if longer). + References No definition available. + Details
Name: | us-gaap_DeferredCompensationSharebasedArrangementsLiabilityClassifiedNoncurrent
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | instant

X
- Definition Amount of cost not yet recognized for nonvested award under share-based payment arrangement. + References Reference 1: http://www.xbrl.org/2003/role/disclosureRef -Publisher FASB -Name Accounting Standards Codification -Topic 718 -SubTopic 10 -Section 50 -Paragraph 2 -Subparagraph (i) -URI https://asc.fasb.org/extlink&oid=128089324&loc=d3e5070-113901 + Details
Name: | us-gaap_EmployeeServiceShareBasedCompensationNonvestedAwardsTotalCompensationCostNotYetRecognized
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | instant

X
- Definition Weighted-average period over which cost not yet recognized is expected to be recognized for award under share-based payment arrangement, in 'PnYnMnDTnHnMnS' format, for example, 'P1Y5M13D' represents reported fact of one year, five months, and thirteen days. + References Reference 1: http://www.xbrl.org/2003/role/disclosureRef -Publisher FASB -Name Accounting Standards Codification -Topic 718 -SubTopic 10 -Section 50 -Paragraph 2 -Subparagraph (i) -URI https://asc.fasb.org/extlink&oid=128089324&loc=d3e5070-113901 + Details
Name: | us-gaap_EmployeeServiceShareBasedCompensationNonvestedAwardsTotalCompensationCostNotYetRecognizedPeriodForRecognition1
Namespace Prefix: | us-gaap_
Data Type: | xbrli:durationItemType
Balance Type: | na
Period Type: | duration

X
- Definition Amount of cost to be recognized for option under share-based payment arrangement. + References Reference 1: http://www.xbrl.org/2009/role/commonPracticeRef -Publisher FASB -Name Accounting Standards Codification -Topic 718 -SubTopic 10 -Section 50 -Paragraph 2 -Subparagraph (i) -URI https://asc.fasb.org/extlink&oid=128089324&loc=d3e5070-113901 + Details
Name: | us-gaap_EmployeeServiceShareBasedCompensationNonvestedAwardsTotalCompensationCostNotYetRecognizedStockOptions
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | instant

X
- Definition Amount of tax benefit for recognition of expense of award under share-based payment arrangement. + References Reference 1: http://www.xbrl.org/2003/role/disclosureRef -Publisher FASB -Name Accounting Standards Codification -Topic 718 -SubTopic 10 -Section 50 -Paragraph 2 -Subparagraph (h)(1)(i) -URI https://asc.fasb.org/extlink&oid=128089324&loc=d3e5070-113901 + Details
Name: | us-gaap_EmployeeServiceShareBasedCompensationTaxBenefitFromCompensationExpense
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | duration

X
- Definition Face amount or stated value per share of preferred stock nonredeemable or redeemable solely at the option of the issuer. + References Reference 1: 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(28)) -URI https://asc.fasb.org/extlink&oid=120391452&loc=d3e13212-122682 Reference 2: http://www.xbrl.org/2003/role/disclosureRef -Publisher FASB -Name Accounting Standards Codification -Topic 505 -SubTopic 10 -Section 50 -Paragraph 13 -Subparagraph (a) -URI https://asc.fasb.org/extlink&oid=126973232&loc=SL123496158-112644 + Details
Name: | us-gaap_PreferredStockParOrStatedValuePerShare
Namespace Prefix: | us-gaap_
Data Type: | dtr-types:perShareItemType
Balance Type: | na
Period Type: | instant

X
- Definition The maximum number of nonredeemable preferred shares (or preferred stock redeemable solely at the option of the issuer) permitted to be issued by an entity's charter and bylaws. + References Reference 1: 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(28)) -URI https://asc.fasb.org/extlink&oid=120391452&loc=d3e13212-122682 + Details
Name: | us-gaap_PreferredStockSharesAuthorized
Namespace Prefix: | us-gaap_
Data Type: | xbrli:sharesItemType
Balance Type: | na
Period Type: | instant

X
- Definition Period over which grantee's right to exercise award under share-based payment arrangement is no longer contingent on satisfaction of service or performance condition, in 'PnYnMnDTnHnMnS' format, for example, 'P1Y5M13D' represents reported fact of one year, five months, and thirteen days. Includes, but is not limited to, combination of market, performance or service condition. + References Reference 1: http://www.xbrl.org/2003/role/exampleRef -Publisher FASB -Name Accounting Standards Codification -Topic 718 -SubTopic 10 -Section 50 -Paragraph 2 -Subparagraph (a)(1) -URI https://asc.fasb.org/extlink&oid=128089324&loc=d3e5070-113901 + Details
Name: | us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardAwardVestingPeriod1
Namespace Prefix: | us-gaap_
Data Type: | xbrli:durationItemType
Balance Type: | na
Period Type: | duration

X
- Definition The number of grants made during the period on other than stock (or unit) option plans (for example, phantom stock or unit plan, stock or unit appreciation rights plan, performance target plan). + References Reference 1: http://www.xbrl.org/2003/role/disclosureRef -Publisher FASB -Name Accounting Standards Codification -Topic 718 -SubTopic 10 -Section 50 -Paragraph 2 -Subparagraph (c)(2)(iii)(01) -URI https://asc.fasb.org/extlink&oid=128089324&loc=d3e5070-113901 + Details
Name: | us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsGrantsInPeriod
Namespace Prefix: | us-gaap_
Data Type: | xbrli:sharesItemType
Balance Type: | na
Period Type: | duration

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_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems
Namespace Prefix: | us-gaap_
Data Type: | xbrli:stringItemType
Balance Type: | na
Period Type: | duration

X
- Definition Number of additional shares authorized for issuance under share-based payment arrangement. + References No definition available. + Details
Name: | us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardNumberOfAdditionalSharesAuthorized
Namespace Prefix: | us-gaap_
Data Type: | xbrli:sharesItemType
Balance Type: | na
Period Type: | duration

X
- Definition Amount of accumulated difference between fair value of underlying shares on dates of exercise and exercise price on options exercised (or share units converted) into shares. + References Reference 1: http://www.xbrl.org/2003/role/disclosureRef -Publisher FASB -Name Accounting Standards Codification -Topic 718 -SubTopic 10 -Section 50 -Paragraph 2 -Subparagraph (d)(2) -URI https://asc.fasb.org/extlink&oid=128089324&loc=d3e5070-113901 + Details
Name: | us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsExercisesInPeriodTotalIntrinsicValue
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | duration

X
- Definition Gross number of share options (or share units) granted during the period. + References Reference 1: http://www.xbrl.org/2003/role/disclosureRef -Publisher FASB -Name Accounting Standards Codification -Topic 718 -SubTopic 10 -Section 50 -Paragraph 2 -Subparagraph (c)(1)(iv)(01) -URI https://asc.fasb.org/extlink&oid=128089324&loc=d3e5070-113901 + Details
Name: | us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsGrantsInPeriodGross
Namespace Prefix: | us-gaap_
Data Type: | xbrli:sharesItemType
Balance Type: | na
Period Type: | duration

X
- Definition Percentage of vesting of award under share-based payment arrangement. + References Reference 1: http://www.xbrl.org/2009/role/commonPracticeRef -Publisher FASB -Name Accounting Standards Codification -Topic 718 -SubTopic 10 -Section 50 -Paragraph 2 -Subparagraph (a)(1) -URI https://asc.fasb.org/extlink&oid=128089324&loc=d3e5070-113901 + Details
Name: | us-gaap_SharebasedCompensationArrangementBySharebasedPaymentAwardAwardVestingRightsPercentage
Namespace Prefix: | us-gaap_
Data Type: | dtr-types:percentItemType
Balance Type: | na
Period Type: | duration

X
- Definition Period from grant date that an equity-based award expires, in 'PnYnMnDTnHnMnS' format, for example, 'P1Y5M13D' represents the reported fact of one year, five months, and thirteen days. + References Reference 1: http://www.xbrl.org/2003/role/exampleRef -Publisher FASB -Name Accounting Standards Codification -Topic 718 -SubTopic 10 -Section 50 -Paragraph 2 -Subparagraph (a)(2) -URI https://asc.fasb.org/extlink&oid=128089324&loc=d3e5070-113901 + Details
Name: | us-gaap_SharebasedCompensationArrangementBySharebasedPaymentAwardExpirationPeriod
Namespace Prefix: | us-gaap_
Data Type: | xbrli:durationItemType
Balance Type: | na
Period Type: | duration

X
- Details
Name: | us-gaap_AwardTypeAxis=us-gaap_EmployeeStockOptionMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_PlanNameAxis=gtlb_A2015EquityIncentivePlanMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_VestingAxis=us-gaap_ShareBasedCompensationAwardTrancheOneMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_VestingAxis=us-gaap_ShareBasedCompensationAwardTrancheTwoMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_AwardTypeAxis=us-gaap_RestrictedStockUnitsRSUMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | srt_TitleOfIndividualAxis=srt_ChiefExecutiveOfficerMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | srt_RangeAxis=srt_MinimumMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | srt_RangeAxis=srt_MaximumMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_PlanNameAxis=gtlb_A2021EquityIncentivePlanMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_AwardTypeAxis=us-gaap_PerformanceSharesMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_AwardTypeAxis=us-gaap_EmployeeStockMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_PlanNameAxis=gtlb_A2021EmployeeStockPurchasePlanMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_StatementClassOfStockAxis=us-gaap_CommonClassAMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_StatementClassOfStockAxis=us-gaap_CommonClassBMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |