v3.25.2
Cash Equivalents and Short-Term Investments - Schedule of Cash and Short Term Investments (Details) - USD ($)
$ in Thousands
Jul. 31, 2025
Jan. 31, 2025
Debt Securities, Available-for-sale [Line Items]    
Cash and cash equivalents [1] $ 261,371 $ 227,649
Cash equivalents and short-term investments, amortized cost 1,074,394 897,742
Cash equivalents and short-term investments, gross unrealized gains 165 880
Cash equivalents and short-term investments, gross unrealized losses (821) (364)
Cash equivalents and short-term investments, fair value 1,073,738 898,258
Level 2    
Debt Securities, Available-for-sale [Line Items]    
Cash equivalents and short-term investments, amortized cost 913,444 800,649
Cash equivalents and short-term investments, gross unrealized gains 165 880
Cash equivalents and short-term investments, gross unrealized losses (821) (364)
Cash equivalents and short-term investments, fair value 912,788 801,165
Cash and Cash Equivalents | Level 2    
Debt Securities, Available-for-sale [Line Items]    
Cash and cash equivalents 169,932 133,522
Cash equivalents, gross unrealized gains 0 8
Cash equivalents, gross unrealized losses 0 0
Cash equivalents, fair value 169,932 133,530
Short-Term Investments | Level 2    
Debt Securities, Available-for-sale [Line Items]    
Short-term investments, amortized cost 904,462 764,220
Short-term investments, gross unrealized gains 165 872
Short-term investments, gross unrealized losses (821) (364)
Short-term investments, fair value 903,806 764,728
Money market funds | Cash and Cash Equivalents | Level 1    
Debt Securities, Available-for-sale [Line Items]    
Cash and cash equivalents 160,950 97,093
Cash equivalents, fair value 160,950 97,093
U.S. Treasury securities | Cash and Cash Equivalents | Level 2    
Debt Securities, Available-for-sale [Line Items]    
Cash and cash equivalents 5,987 36,429
Cash equivalents, gross unrealized gains 0 8
Cash equivalents, gross unrealized losses 0 0
Cash equivalents, fair value 5,987 36,437
U.S. Treasury securities | Short-Term Investments | Level 2    
Debt Securities, Available-for-sale [Line Items]    
Short-term investments, amortized cost 570,391 463,474
Short-term investments, gross unrealized gains 42 521
Short-term investments, gross unrealized losses (505) (140)
Short-term investments, fair value 569,928 463,855
Commercial paper | Cash and Cash Equivalents | Level 2    
Debt Securities, Available-for-sale [Line Items]    
Cash and cash equivalents 2,995  
Cash equivalents, gross unrealized gains 0  
Cash equivalents, gross unrealized losses 0  
Cash equivalents, fair value 2,995  
Commercial paper | Short-Term Investments | Level 2    
Debt Securities, Available-for-sale [Line Items]    
Short-term investments, amortized cost 22,722 19,400
Short-term investments, gross unrealized gains 0 4
Short-term investments, gross unrealized losses (11) (11)
Short-term investments, fair value 22,711 19,393
Corporate debt securities | Short-Term Investments | Level 2    
Debt Securities, Available-for-sale [Line Items]    
Short-term investments, amortized cost 244,342 220,326
Short-term investments, gross unrealized gains 115 327
Short-term investments, gross unrealized losses (224) (148)
Short-term investments, fair value 244,233 220,505
U.S. Agency securities | Short-Term Investments | Level 2    
Debt Securities, Available-for-sale [Line Items]    
Short-term investments, amortized cost 67,007 61,020
Short-term investments, gross unrealized gains 8 20
Short-term investments, gross unrealized losses (81) (65)
Short-term investments, fair value 66,934 60,975
Cash | Cash and Cash Equivalents    
Debt Securities, Available-for-sale [Line Items]    
Short-term investments, amortized cost $ 91,400 $ 94,100
[1]
(1) As of July 31, 2025 and January 31, 2025, the condensed consolidated balance sheet includes assets of the consolidated variable interest entity, GitLab Information Technology (Hubei) Co., LTD (“JiHu”), of $45.6 million and $46.5 million, respectively, and liabilities of $11.2 million and $10.3 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 10. Joint Venture” for further discussion.