v3.25.2
Joint Venture - Narrative (Details) - USD ($)
$ in Thousands
3 Months Ended 6 Months Ended
Jul. 31, 2025
Jul. 31, 2024
Jul. 31, 2025
Jul. 31, 2024
Noncontrolling Interest [Line Items]        
Total stock-based compensation expense (gain) $ 54,284 $ 48,969 $ 110,111 $ 91,221
Operating lease, total lease payments 400   400  
Operating lease liabilities 400   400  
Short-term lease, cost 100 0 100 0
Operating lease expense 100 100 100 300
GitLab Information Technology (Hubei) Co., LTD ("JiHu")        
Noncontrolling Interest [Line Items]        
Total stock-based compensation expense (gain) 1,000 $ 100 800 $ (200)
Compensation expense not yet recognized $ 5,600   $ 5,600  
Period for recognition (in years)     2 years 9 months 18 days  
GitLab Information Technology (Hubei) Co., LTD ("JiHu")        
Noncontrolling Interest [Line Items]        
Ownership percentage 54.00% 54.00% 54.00% 54.00%