v3.24.2.u1
Joint Venture and Equity Method Investment - Narrative (Details)
$ in Thousands
3 Months Ended 6 Months Ended 12 Months Ended
Jul. 31, 2024
USD ($)
Jul. 31, 2023
USD ($)
Jul. 31, 2024
USD ($)
lease
Jul. 31, 2023
USD ($)
Jan. 31, 2024
USD ($)
Noncontrolling Interest [Line Items]          
Stock-based compensation $ 48,969 $ 46,368 $ 91,221 $ 78,698  
Operating lease, number of leases entered into | lease     2    
Operating lease, total lease payments 500   $ 500    
Operating lease liabilities 500   500    
Operating lease expense 100 100 300 300  
Equity method investment, impairment         $ 8,900
Equity method investment         $ 0
Loss from equity method investment, net of tax 0 (917) 0 (1,665)  
Arch (Meltano Inc.)          
Noncontrolling Interest [Line Items]          
Loss from equity method investment, net of tax $ 0 900 $ 0 1,700  
GitLab Information Technology (Hubei) Co., LTD ("JiHu")          
Noncontrolling Interest [Line Items]          
Ownership percentage 54.00%   54.00%    
GitLab Information Technology (Hubei) Co., LTD ("JiHu")          
Noncontrolling Interest [Line Items]          
Stock-based compensation $ (100) $ (200) $ (200) $ (2,700)  
Compensation expense not yet recognized $ 9,400   $ 9,400    
Period for recognition (in years)     4 years 1 month 6 days