v3.24.2.u1
Cash Equivalents and Short-Term Investments - Schedule of Cash and Short Term Investments (Details) - USD ($)
$ in Thousands
Jul. 31, 2024
Jan. 31, 2024
Debt Securities, Available-for-sale [Line Items]    
Cash and cash equivalents [1] $ 438,616 $ 287,996
Cash equivalents and short-term investments, amortized cost 1,007,085 955,187
Cash equivalents and short-term investments, gross unrealized gains 566 924
Cash equivalents and short-term investments, gross unrealized losses (522) (779)
Cash equivalents and short-term investments, fair value 1,007,129 955,332
Level 2    
Debt Securities, Available-for-sale [Line Items]    
Cash equivalents and short-term investments, amortized cost 656,373 768,012
Cash equivalents and short-term investments, gross unrealized gains 566 924
Cash equivalents and short-term investments, gross unrealized losses (522) (779)
Cash equivalents and short-term investments, fair value 656,417 768,157
Cash and Cash Equivalents | Level 2    
Debt Securities, Available-for-sale [Line Items]    
Cash and cash equivalents 362,642 207,046
Cash equivalents, gross unrealized gains 0 0
Cash equivalents, gross unrealized losses (1) (3)
Cash equivalents, fair value 362,641 207,043
Short-Term Investments | Level 2    
Debt Securities, Available-for-sale [Line Items]    
Short-term investments, amortized cost 644,443 748,141
Short-term investments, gross unrealized gains 566 924
Short-term investments, gross unrealized losses (521) (776)
Short-term investments, fair value 644,488 748,289
Money market funds | Cash and Cash Equivalents | Level 1    
Debt Securities, Available-for-sale [Line Items]    
Cash and cash equivalents 350,712 187,175
Cash equivalents, fair value 350,712 187,175
U.S. Treasury securities | Cash and Cash Equivalents | Level 2    
Debt Securities, Available-for-sale [Line Items]    
Cash and cash equivalents 8,946 15,909
Cash equivalents, gross unrealized gains 0 0
Cash equivalents, gross unrealized losses 0 (2)
Cash equivalents, fair value 8,946 15,907
U.S. Treasury securities | Short-Term Investments | Level 2    
Debt Securities, Available-for-sale [Line Items]    
Short-term investments, amortized cost 377,412 437,369
Short-term investments, gross unrealized gains 359 141
Short-term investments, gross unrealized losses (212) (389)
Short-term investments, fair value 377,559 437,121
Commercial paper | Cash and Cash Equivalents | Level 2    
Debt Securities, Available-for-sale [Line Items]    
Cash and cash equivalents 2,984 3,962
Cash equivalents, gross unrealized gains 0 0
Cash equivalents, gross unrealized losses (1) (1)
Cash equivalents, fair value 2,983 3,961
Commercial paper | Short-Term Investments | Level 2    
Debt Securities, Available-for-sale [Line Items]    
Short-term investments, amortized cost 19,208 23,229
Short-term investments, gross unrealized gains 0 14
Short-term investments, gross unrealized losses (7) (1)
Short-term investments, fair value 19,201 23,242
Corporate debt securities | Short-Term Investments | Level 2    
Debt Securities, Available-for-sale [Line Items]    
Short-term investments, amortized cost 196,403 231,219
Short-term investments, gross unrealized gains 193 740
Short-term investments, gross unrealized losses (249) (250)
Short-term investments, fair value 196,347 231,709
U.S. Agency securities | Short-Term Investments | Level 2    
Debt Securities, Available-for-sale [Line Items]    
Short-term investments, amortized cost 51,420 56,324
Short-term investments, gross unrealized gains 14 29
Short-term investments, gross unrealized losses (53) (136)
Short-term investments, fair value 51,381 56,217
Cash | Cash and Cash Equivalents    
Debt Securities, Available-for-sale [Line Items]    
Short-term investments, amortized cost $ 76,000 $ 81,000
[1]
(1) As of July 31, 2024 and January 31, 2024, the condensed consolidated balance sheet includes assets of the consolidated variable interest entity, GitLab Information Technology (Hubei) Co., LTD (“JiHu”), of $45.0 million and $47.6 million, respectively, and liabilities of $6.5 million and $6.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 11. Joint Venture and Equity Method Investment” for further discussion.