XML 48 R38.htm IDEA: XBRL DOCUMENT
v3.23.1

Cash, Cash Equivalents and Short-Term Investments - Schedule of Unrealized Losses Cash Equivalents and Short Term Investment (Details) - USD ($) $ in Thousands | Apr. 30, 2023 | Jan. 31, 2023
--- | --- | ---
Debt Securities, Available-for-sale, Unrealized Loss Position [Line Items] |  |
Carrying Value | $ 583,204 | $ 577,591
Gross Unrealized Losses | (3,433) | (4,908)
Municipal bonds |  |
Debt Securities, Available-for-sale, Unrealized Loss Position [Line Items] |  |
Carrying Value | 1,986 | 1,970
Gross Unrealized Losses | (9) | (19)
Foreign government bonds |  |
Debt Securities, Available-for-sale, Unrealized Loss Position [Line Items] |  |
Carrying Value | 2,192 | 2,170
Gross Unrealized Losses | (30) | (41)
Commercial paper |  |
Debt Securities, Available-for-sale, Unrealized Loss Position [Line Items] |  |
Carrying Value | 110,613 | 45,015
Gross Unrealized Losses | (149) | (112)
U.S. Agency securities |  |
Debt Securities, Available-for-sale, Unrealized Loss Position [Line Items] |  |
Carrying Value | 69,471 | 73,724
Gross Unrealized Losses | (374) | (435)
Corporate debt securities |  |
Debt Securities, Available-for-sale, Unrealized Loss Position [Line Items] |  |
Carrying Value | 99,431 | 75,203
Gross Unrealized Losses | (565) | (572)
U.S. Treasury securities |  |
Debt Securities, Available-for-sale, Unrealized Loss Position [Line Items] |  |
Carrying Value | 299,511 | 379,509
Gross Unrealized Losses | $ (2,306) | $ (3,729)

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

X
- Definition Amount of investment in debt security measured at fair value with change in fair value recognized in other comprehensive income (available-for-sale), in continuous unrealized loss position for less than 12 months, without allowance for credit loss. Includes beneficial interest in securitized financial asset. + References Reference 1: http://www.xbrl.org/2003/role/disclosureRef -Publisher FASB -Name Accounting Standards Codification -Topic 320 -SubTopic 10 -Section 50 -Paragraph 7 -URI https://asc.fasb.org/extlink&oid=126970911&loc=d3e27337-111563 Reference 2: http://www.xbrl.org/2003/role/disclosureRef -Publisher FASB -Name Accounting Standards Codification -Topic 326 -SubTopic 30 -Section 50 -Paragraph 5 -URI https://asc.fasb.org/extlink&oid=124269663&loc=SL82922890-210455 Reference 3: http://www.xbrl.org/2003/role/exampleRef -Publisher FASB -Name Accounting Standards Codification -Topic 326 -SubTopic 30 -Section 55 -Paragraph 8 -URI https://asc.fasb.org/extlink&oid=121590138&loc=SL82922954-210456 + Details
Name: | us-gaap_DebtSecuritiesAvailableForSaleContinuousUnrealizedLossPositionLessThan12Months
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | instant

X
- Definition Amount of accumulated unrealized loss on investment in debt security measured at fair value with change in fair value recognized in other comprehensive income (available-for-sale), in continuous unrealized loss position for less than 12 months, without allowance for credit loss. Includes beneficial interest in securitized financial asset. + References Reference 1: http://www.xbrl.org/2003/role/disclosureRef -Publisher FASB -Name Accounting Standards Codification -Topic 326 -SubTopic 30 -Section 50 -Paragraph 5 -URI https://asc.fasb.org/extlink&oid=124269663&loc=SL82922890-210455 Reference 2: http://www.xbrl.org/2003/role/disclosureRef -Publisher FASB -Name Accounting Standards Codification -Topic 320 -SubTopic 10 -Section 50 -Paragraph 7 -URI https://asc.fasb.org/extlink&oid=126970911&loc=d3e27337-111563 + Details
Name: | us-gaap_DebtSecuritiesAvailableForSaleContinuousUnrealizedLossPositionLessThan12MonthsAccumulatedLoss
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | instant

X
- Details
Name: | us-gaap_InvestmentTypeAxis=us-gaap_MunicipalBondsMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_InvestmentTypeAxis=us-gaap_ForeignGovernmentDebtMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_CashAndCashEquivalentsAxis=us-gaap_CommercialPaperMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_FinancialInstrumentAxis=gtlb_USAgencySecuritiesMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_FinancialInstrumentAxis=us-gaap_CorporateDebtSecuritiesMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_FinancialInstrumentAxis=us-gaap_USTreasurySecuritiesMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |