XML 75 R65.htm IDEA: XBRL DOCUMENT
v3.23.1

Joint Venture and Equity Method Investment - Narrative (Details) $ in Thousands, shares in Millions |  | 1 Months Ended | 3 Months Ended | 12 Months Ended |
--- | --- | --- | --- | --- | ---
Apr. 04, 2022 USD ($) | Mar. 31, 2022 USD ($) day | Apr. 30, 2021 USD ($) | Apr. 30, 2023 USD ($) shares | Apr. 30, 2022 USD ($) | Jan. 31, 2023 USD ($) | Jan. 31, 2022
Noncontrolling Interest [Line Items] |  |  |  |  |  |  |  |
Total stock-based compensation expense |  |  |  |  | $ 32,330 | $ 17,471 |  |
Operating lease expense |  |  |  |  | $ 200 | 100 |  |
Operating lease, remaining term (in years) |  |  |  |  | 3 years |  |  |
Operating lease, total lease payments |  |  |  |  | $ 1,500 |  |  |
Operating lease liabilities |  |  |  |  | 1,400 |  |  |
Contributions received from noncontrolling interests, net of issuance costs |  |  |  |  | 0 | 35,528 |  |
Decrease from deconsolidation |  |  |  |  |  | 11,342 |  |
Gain from deconsolidation of Meltano Inc. |  |  |  |  | 0 | 17,798 |  |
Equity method investment | [1] |  |  |  | 11,735 |  | $ 12,682 |
Loss from equity method investment, net of tax |  |  |  |  | 748 | 203 |  |
Noncontrolling Interests |  |  |  |  |  |  |  |
Noncontrolling Interest [Line Items] |  |  |  |  |  |  |  |
Decrease from deconsolidation |  |  |  |  |  | 11,342 |  |
Meltano Inc. |  |  |  |  |  |  |  |
Noncontrolling Interest [Line Items] |  |  |  |  |  |  |  |
Gain from deconsolidation of Meltano Inc. |  |  |  |  |  | 17,800 |  |
Equity method investment |  |  |  |  | 11,700 |  |  |
Loss from equity method investment, net of tax |  |  |  |  | $ 700 | 200 |  |
Stake in equity method investment (as a percent) |  |  |  |  | 96.00% |  |  |
Meltano Inc. | Employee stock options |  |  |  |  |  |  |  |
Noncontrolling Interest [Line Items] |  |  |  |  |  |  |  |
Potentially dilutive equity instruments (in shares) | shares |  |  |  |  | 3.1 |  |  |
Meltano Inc. | Preferred Stock |  |  |  |  |  |  |  |
Noncontrolling Interest [Line Items] |  |  |  |  |  |  |  |
Stake in equity method investment (as a percent) |  |  |  |  | 48.00% |  |  |
Potentially dilutive equity instruments (in shares) | shares |  |  |  |  | 3.1 |  |  |
Meltano Inc. | Noncontrolling Interests |  |  |  |  |  |  |  |
Noncontrolling Interest [Line Items] |  |  |  |  |  |  |  |
Decrease in net assets upon consolidation |  | $ 9,400 |  |  |  |  |  |
Decrease from deconsolidation |  | 11,300 |  |  |  |  |  |
Meltano Inc. | Accumulated Deficit |  |  |  |  |  |  |  |
Noncontrolling Interest [Line Items] |  |  |  |  |  |  |  |
Decrease from deconsolidation |  | 15,900 |  |  |  |  |  |
GitLab Information Technology (Hubei) Co., LTD ("JiHu") |  |  |  |  |  |  |  |
Noncontrolling Interest [Line Items] |  |  |  |  |  |  |  |
Ownership percentage |  |  |  |  | 55.00% |  | 55.00% | 72.00%
Meltano Inc. |  |  |  |  |  |  |  |
Noncontrolling Interest [Line Items] |  |  |  |  |  |  |  |
Loan payable, period (in days) |  |  |  | $ 400 |  |  |  |
Ownership percentage by noncontrolling owners |  |  |  | 12.00% |  |  |  |
GitLab Information Technology (Hubei) Co., LTD ("JiHu") |  |  |  |  |  |  |  |
Noncontrolling Interest [Line Items] |  |  |  |  |  |  |  |
Consideration received on transaction, net |  |  |  |  |  |  | $ 54,600 |
Total stock-based compensation expense |  |  |  |  | $ (2,500) | $ 200 |  |
Compensation expense not yet recognized |  |  |  |  | $ 6,100 |  |  |
Period for recognition (in years) |  |  |  |  | 3 years |  |  |
GitLab Information Technology (Hubei) Co., LTD ("JiHu") | Variable Interest Entity, Primary Beneficiary |  |  |  |  |  |  |  |
Noncontrolling Interest [Line Items] |  |  |  |  |  |  |  |
Loans payable |  |  | $ 2,900 |  |  |  |  |
Loan payable, period (in days) | day |  |  | 10 |  |  |  |  |
Meltano Inc. |  |  |  |  |  |  |  |
Noncontrolling Interest [Line Items] |  |  |  |  |  |  |  |
Consideration received on transaction, net |  | $ 7,200 |  |  |  |  |  |
Contributions received from noncontrolling interests, net of issuance costs |  |  |  | $ 4,200 |  |  |  |
[1] | (1) As of April 30, 2023 and January 31, 2023, the condensed consolidated balance sheet includes assets of the consolidated variable interest entity, GitLab Information Technology (Hubei) Co., LTD (“JiHu”), of $57.0 million and $62.8 million, respectively, and liabilities of $7.7 million and $8.9 million, respectively. The assets of JiHu can be used only to settle obligations of JiHu and creditors of JiHu do not have recourse against the general credit of the Company. Refer to “Note 12. Joint Venture and Equity Method Investment” for further discussion.

X
- Definition Loan Payable, Payment Period + References No definition available. + Details
Name: | gtlb_LoanPayablePaymentPeriod
Namespace Prefix: | gtlb_
Data Type: | xbrli:integerItemType
Balance Type: | na
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 The increase (decrease) during the period impacting the parent's ownership interest in a subsidiary as it relates to the total (consolidated) equity attributable to the parent. The changes to the parent's ownership interest in a subsidiary represented by this element did not arise in a deconsolidation of the subsidiary from the consolidated financial statements. + References Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 505 -SubTopic 10 -Section S99 -Paragraph 1 -URI https://asc.fasb.org/extlink&oid=120397183&loc=d3e187085-122770 Reference 2: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 810 -SubTopic 10 -Section 50 -Paragraph 1A -Subparagraph (d) -URI https://asc.fasb.org/extlink&oid=109239629&loc=SL4573702-111684 Reference 3: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 810 -SubTopic 10 -Section 55 -Paragraph 4M -URI https://asc.fasb.org/extlink&oid=120409616&loc=SL4591554-111686 + Details
Name: | us-gaap_ConsolidationLessThanWhollyOwnedSubsidiaryParentOwnershipInterestChangesNet
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | duration

X
- Definition Represents the purchase by the parent of an additional equity interest in a subsidiary during the period, thereby effecting a change in total (consolidated) equity attributable to the parent. The purchase of the additional equity interest represented by this element increases the parent's controlling interest in the subsidiary. + References Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 505 -SubTopic 10 -Section S99 -Paragraph 1 -URI https://asc.fasb.org/extlink&oid=120397183&loc=d3e187085-122770 Reference 2: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 810 -SubTopic 10 -Section 50 -Paragraph 1A -Subparagraph (d) -URI https://asc.fasb.org/extlink&oid=109239629&loc=SL4573702-111684 Reference 3: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 810 -SubTopic 10 -Section 55 -Paragraph 4M -URI https://asc.fasb.org/extlink&oid=120409616&loc=SL4591554-111686 + Details
Name: | us-gaap_ConsolidationLessThanWhollyOwnedSubsidiaryParentOwnershipInterestChangesPurchaseOfInterestByParent
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | duration

X
- Definition Amount of gain (loss) from deconsolidation of subsidiary and derecognition of group of assets constituting transfer of business or nonprofit activity, excluding conveyance of oil and gas mineral rights and transfer of good or service in contract with customer. + References Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 810 -SubTopic 10 -Section 50 -Paragraph 1B -Subparagraph (a) -URI https://asc.fasb.org/extlink&oid=109239629&loc=SL4582445-111684 + Details
Name: | us-gaap_DeconsolidationGainOrLossAmount
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | duration

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 This item represents the carrying amount on the entity's balance sheet of its investment in common stock of an equity method investee. This is not an indicator of the fair value of the investment, rather it is the initial cost adjusted for the entity's share of earnings and losses of the investee, adjusted for any distributions (dividends) and other than temporary impairment (OTTI) losses recognized. + References Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 323 -SubTopic 10 -Section 45 -Paragraph 1 -URI https://asc.fasb.org/extlink&oid=109237563&loc=d3e33749-111570 Reference 2: http://www.xbrl.org/2009/role/commonPracticeRef -Publisher FASB -Name Accounting Standards Codification -Topic 210 -SubTopic 10 -Section S99 -Paragraph 1 -Subparagraph (SX 210.5-02(10)) -URI https://asc.fasb.org/extlink&oid=120391452&loc=d3e13212-122682 Reference 3: http://www.xbrl.org/2003/role/disclosureRef -Publisher FASB -Name Accounting Standards Codification -Topic 280 -SubTopic 10 -Section 50 -Paragraph 25 -Subparagraph (a) -URI https://asc.fasb.org/extlink&oid=126901519&loc=d3e8813-108599 + Details
Name: | us-gaap_EquityMethodInvestments
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | instant

X
- Definition Amount of income (loss) for proportionate share of equity method investee's income (loss). + References Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 220 -SubTopic 10 -Section S99 -Paragraph 2 -Subparagraph (SX 210.5-03(12)) -URI https://asc.fasb.org/extlink&oid=126953954&loc=SL114868664-224227 Reference 2: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 944 -SubTopic 220 -Section S99 -Paragraph 1 -Subparagraph (SX 210.7-04(10)) -URI https://asc.fasb.org/extlink&oid=120400993&loc=SL114874131-224263 Reference 3: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 230 -SubTopic 10 -Section 45 -Paragraph 28 -Subparagraph (b) -URI https://asc.fasb.org/extlink&oid=126954810&loc=d3e3602-108585 Reference 4: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 942 -SubTopic 220 -Section S99 -Paragraph 1 -Subparagraph (SX 210.9-04(13)(f)) -URI https://asc.fasb.org/extlink&oid=120399700&loc=SL114874048-224260 Reference 5: http://www.xbrl.org/2003/role/disclosureRef -Publisher FASB -Name Accounting Standards Codification -Topic 280 -SubTopic 10 -Section 50 -Paragraph 22 -Subparagraph (g) -URI https://asc.fasb.org/extlink&oid=126901519&loc=d3e8736-108599 Reference 6: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 323 -SubTopic 10 -Section 45 -Paragraph 1 -URI https://asc.fasb.org/extlink&oid=109237563&loc=d3e33749-111570 + Details
Name: | us-gaap_IncomeLossFromEquityMethodInvestments
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | duration

X
- Definition Additional shares included in the calculation of diluted EPS as a result of the potentially dilutive effect of share based payment arrangements using the treasury stock method. + References Reference 1: http://www.xbrl.org/2003/role/disclosureRef -Publisher FASB -Name Accounting Standards Codification -Topic 718 -SubTopic 10 -Section 45 -Paragraph 1 -URI https://asc.fasb.org/extlink&oid=126962052&loc=d3e4991-113900 Reference 2: http://www.xbrl.org/2003/role/disclosureRef -Publisher FASB -Name Accounting Standards Codification -Topic 260 -SubTopic 10 -Section 45 -Paragraph 22 -URI https://asc.fasb.org/extlink&oid=126958026&loc=d3e1707-109256 Reference 3: http://www.xbrl.org/2003/role/disclosureRef -Publisher FASB -Name Accounting Standards Codification -Topic 260 -SubTopic 10 -Section 50 -Paragraph 1 -Subparagraph (a) -URI https://asc.fasb.org/extlink&oid=124432515&loc=d3e3550-109257 Reference 4: http://www.xbrl.org/2003/role/disclosureRef -Publisher FASB -Name Accounting Standards Codification -Topic 260 -SubTopic 10 -Section 45 -Paragraph 28A -URI https://asc.fasb.org/extlink&oid=126958026&loc=d3e1500-109256 Reference 5: http://www.xbrl.org/2003/role/disclosureRef -Publisher FASB -Name Accounting Standards Codification -Topic 260 -SubTopic 10 -Section 45 -Paragraph 23 -Subparagraph (c) -URI https://asc.fasb.org/extlink&oid=126958026&loc=d3e1757-109256 + Details
Name: | us-gaap_IncrementalCommonSharesAttributableToShareBasedPaymentArrangements
Namespace Prefix: | us-gaap_
Data Type: | xbrli:sharesItemType
Balance Type: | na
Period Type: | duration

X
- Definition Amount of lessee's undiscounted obligation for lease payment for operating lease. + References Reference 1: http://www.xbrl.org/2003/role/disclosureRef -Publisher FASB -Name Accounting Standards Codification -Topic 842 -SubTopic 20 -Section 50 -Paragraph 6 -URI https://asc.fasb.org/extlink&oid=128292326&loc=SL77918701-209980 + Details
Name: | us-gaap_LesseeOperatingLeaseLiabilityPaymentsDue
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | instant

X
- Definition Remaining lease term of operating lease, in 'PnYnMnDTnHnMnS' format, for example, 'P1Y5M13D' represents reported fact of one year, five months, and thirteen days. + References Reference 1: http://www.xbrl.org/2009/role/commonPracticeRef -Publisher FASB -Name Accounting Standards Codification -Topic 842 -SubTopic 20 -Section 50 -Paragraph 3 -Subparagraph (a)(1) -URI https://asc.fasb.org/extlink&oid=128292326&loc=SL77918673-209980 + Details
Name: | us-gaap_LesseeOperatingLeaseRemainingLeaseTerm
Namespace Prefix: | us-gaap_
Data Type: | xbrli:durationItemType
Balance Type: | na
Period Type: | instant

X
- Definition Including the current and noncurrent portions, aggregate carrying value as of the balance sheet date of loans payable (with maturities initially due after one year or beyond the operating cycle if longer). + References Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 942 -SubTopic 210 -Section S99 -Paragraph 1 -Subparagraph (SX 210.9-03(16)) -URI https://asc.fasb.org/extlink&oid=126897435&loc=d3e534808-122878 Reference 2: 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(22)) -URI https://asc.fasb.org/extlink&oid=120391452&loc=d3e13212-122682 Reference 3: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 944 -SubTopic 210 -Section S99 -Paragraph 1 -Subparagraph (SX 210.7-03(16)(a)(2)) -URI https://asc.fasb.org/extlink&oid=126734703&loc=d3e572229-122910 + Details
Name: | us-gaap_LoansPayable
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
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_MinorityInterestLineItems
Namespace Prefix: | us-gaap_
Data Type: | xbrli:stringItemType
Balance Type: | na
Period Type: | duration

X
- Definition The equity interest of noncontrolling shareholders, partners or other equity holders in consolidated entity. + References No definition available. + Details
Name: | us-gaap_MinorityInterestOwnershipPercentageByNoncontrollingOwners
Namespace Prefix: | us-gaap_
Data Type: | dtr-types:percentItemType
Balance Type: | na
Period Type: | instant

X
- Definition The parent entity's interest in net assets of the subsidiary, expressed as a percentage. + References No definition available. + Details
Name: | us-gaap_MinorityInterestOwnershipPercentageByParent
Namespace Prefix: | us-gaap_
Data Type: | dtr-types:percentItemType
Balance Type: | na
Period Type: | instant

X
- Definition The amount of the reduction or elimination during the period of a noncontrolling interest resulting from the parent's loss of control and deconsolidation of the entity in which one or more outside parties had a noncontrolling interest. + References Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 810 -SubTopic 10 -Section 50 -Paragraph 1A -Subparagraph (c)(2) -URI https://asc.fasb.org/extlink&oid=109239629&loc=SL4573702-111684 Reference 2: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 505 -SubTopic 10 -Section S99 -Paragraph 1 -URI https://asc.fasb.org/extlink&oid=120397183&loc=d3e187085-122770 + Details
Name: | us-gaap_NoncontrollingInterestDecreaseFromDeconsolidation
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | duration

X
- Definition Amount of operating lease expense. Excludes sublease income. + References Reference 1: http://www.xbrl.org/2009/role/commonPracticeRef -Publisher FASB -Name Accounting Standards Codification -Topic 842 -SubTopic 20 -Section 45 -Paragraph 4 -Subparagraph (b) -URI https://asc.fasb.org/extlink&oid=123391704&loc=SL77918638-209977 + Details
Name: | us-gaap_OperatingLeaseExpense
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | duration

X
- Definition Present value of lessee's discounted obligation for lease payments from operating lease. + References Reference 1: http://www.xbrl.org/2003/role/disclosureRef -Publisher FASB -Name Accounting Standards Codification -Topic 842 -SubTopic 20 -Section 45 -Paragraph 1 -Subparagraph (b) -URI https://asc.fasb.org/extlink&oid=123391704&loc=SL77918627-209977 + Details
Name: | us-gaap_OperatingLeaseLiability
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | instant

X
- Definition Amount of cash inflow from a noncontrolling interest. Includes, but is not limited to, purchase of additional shares or other increase in noncontrolling interest ownership. + References Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 230 -SubTopic 10 -Section 45 -Paragraph 14 -URI https://asc.fasb.org/extlink&oid=126954810&loc=d3e3255-108585 + Details
Name: | us-gaap_ProceedsFromMinorityShareholders
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | duration

X
- Definition Cash received on stock transaction after deduction of issuance costs. + References No definition available. + Details
Name: | us-gaap_SaleOfStockConsiderationReceivedOnTransaction
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | duration

X
- Definition Percentage of subsidiary's or equity method investee's stock owned by parent immediately after all stock transactions. + References No definition available. + Details
Name: | us-gaap_SubsidiaryOrEquityMethodInvesteeCumulativePercentageOwnershipAfterAllTransactions
Namespace Prefix: | us-gaap_
Data Type: | dtr-types:percentItemType
Balance Type: | na
Period Type: | duration

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

X
- Details
Name: | srt_ScheduleOfEquityMethodInvestmentEquityMethodInvesteeNameAxis=gtlb_MeltanoIncMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_AntidilutiveSecuritiesExcludedFromComputationOfEarningsPerShareByAntidilutiveSecuritiesAxis=us-gaap_ShareBasedPaymentArrangementEmployeeMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_AntidilutiveSecuritiesExcludedFromComputationOfEarningsPerShareByAntidilutiveSecuritiesAxis=us-gaap_PreferredStockMember
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: |

X
- Details
Name: | srt_OwnershipAxis=gtlb_GitLabInformationTechnologyHubeiCoLTDJiHuMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | srt_OwnershipAxis=gtlb_MeltanoIncMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | dei_LegalEntityAxis=gtlb_GitLabInformationTechnologyHubeiCoLTDJiHuMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | srt_ConsolidatedEntitiesAxis=us-gaap_VariableInterestEntityPrimaryBeneficiaryMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | dei_LegalEntityAxis=gtlb_MeltanoIncMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |