v3.26.1
Cash Equivalents and Short-Term Investments - Schedule of Cash and Short Term Investments (Details) - USD ($)
$ in Thousands
Apr. 30, 2026
Jan. 31, 2026
Debt Securities, Available-for-sale [Line Items]    
Cash and cash equivalents [1] $ 335,395 $ 229,576
Cash equivalents and short-term investments, amortized cost 1,265,352 1,181,619
Cash equivalents and short-term investments, gross unrealized gains 399 1,533
Cash equivalents and short-term investments, gross unrealized losses (997) (84)
Cash equivalents and short-term investments, fair value 1,264,754 1,183,068
Level 1    
Debt Securities, Available-for-sale [Line Items]    
Cash and cash equivalents 275,248 152,741
Cash equivalents, gross unrealized gains 0 0
Cash equivalents, gross unrealized losses 0 0
Cash equivalents, fair value 275,248 152,741
Level 2    
Debt Securities, Available-for-sale [Line Items]    
Short-term investments, amortized cost 990,104 1,028,878
Short-term investments, gross unrealized gains 399 1,533
Short-term investments, gross unrealized losses (997) (84)
Short-term investments, fair value 989,506 1,030,327
Money market funds | Level 1    
Debt Securities, Available-for-sale [Line Items]    
Cash and cash equivalents 275,248 152,741
Cash equivalents, fair value 275,248 152,741
Commercial paper | Level 2    
Debt Securities, Available-for-sale [Line Items]    
Short-term investments, amortized cost 2,413 7,452
Short-term investments, gross unrealized gains 0 1
Short-term investments, gross unrealized losses (1) 0
Short-term investments, fair value 2,412 7,453
Corporate debt securities | Level 2    
Debt Securities, Available-for-sale [Line Items]    
Short-term investments, amortized cost 366,841 294,930
Short-term investments, gross unrealized gains 179 677
Short-term investments, gross unrealized losses (398) (35)
Short-term investments, fair value 366,622 295,572
U.S. Agency securities | Level 2    
Debt Securities, Available-for-sale [Line Items]    
Short-term investments, amortized cost 92,566 93,997
Short-term investments, gross unrealized gains 16 87
Short-term investments, gross unrealized losses (142) (28)
Short-term investments, fair value 92,440 94,056
U.S. Treasury securities | Level 2    
Debt Securities, Available-for-sale [Line Items]    
Short-term investments, amortized cost 528,284 632,499
Short-term investments, gross unrealized gains 204 768
Short-term investments, gross unrealized losses (456) (21)
Short-term investments, fair value 528,032 633,246
Cash    
Debt Securities, Available-for-sale [Line Items]    
Short-term investments, amortized cost $ 60,100 $ 76,800
[1]
(1) As of April 30, 2026 and January 31, 2026, the condensed consolidated balance sheets include assets of the condensed consolidated variable interest entity, GitLab Information Technology (Hubei) Co., LTD (“JiHu), of $40.6 million and $41.0 million, respectively, and liabilities of $6.6 million and $7.1 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.