v3.26.1
Joint Venture - Narrative (Details) - USD ($)
$ in Thousands
3 Months Ended
Apr. 30, 2026
Apr. 30, 2025
Noncontrolling Interest [Line Items]    
Total stock-based compensation expense (gain) $ 50,061 $ 55,827
GitLab Information Technology (Hubei) Co., LTD ("JiHu")    
Noncontrolling Interest [Line Items]    
Total stock-based compensation expense (gain) 900 $ (200)
Compensation expense not yet recognized $ 2,000  
Period for recognition (in years) 2 years 1 month 6 days  
GitLab Information Technology (Hubei) Co., LTD ("JiHu")    
Noncontrolling Interest [Line Items]    
Ownership percentage 54.00% 54.00%