v3.25.2
Basis of Presentation and Summary of Significant Accounting Policies - Revision of Previously Issued Consolidated Financial Statements (Details) - USD ($)
$ in Thousands
3 Months Ended 6 Months Ended
Jul. 31, 2025
Jul. 31, 2024
Jul. 31, 2025
Jul. 31, 2024
Consolidated Statements of Operations and Consolidated Statements of Comprehensive Income        
Other income (expense), net $ (911) $ 1,260 $ (10,882) $ 371
Loss before income taxes (7,751) (26,918) (41,470) (69,417)
Provision for (benefit from) income taxes 2,245 (39,155) 4,784 (26,178)
Net income (loss) (9,996) 12,237 (46,254) (43,239)
Net income (loss) attributable to GitLab (9,208) 12,912 (45,083) (42,321)
Foreign currency translation adjustments 2,122 (5,363) 8,319 (2,556)
Comprehensive income (loss) attributable to GitLab $ (9,260) 9,937 $ (38,086) (44,096)
As Previously Reported        
Consolidated Statements of Operations and Consolidated Statements of Comprehensive Income        
Other income (expense), net   1,032   465
Loss before income taxes   (27,146)   (69,323)
Provision for (benefit from) income taxes   (39,420)   (26,710)
Net income (loss)   12,274   (42,613)
Net income (loss) attributable to GitLab   12,949   (41,695)
Foreign currency translation adjustments   (5,178)   (2,546)
Comprehensive income (loss) attributable to GitLab   10,159   (43,460)
Adjustment        
Consolidated Statements of Operations and Consolidated Statements of Comprehensive Income        
Other income (expense), net   228   (94)
Loss before income taxes   228   (94)
Provision for (benefit from) income taxes   265   532
Net income (loss)   (37)   (626)
Net income (loss) attributable to GitLab   (37)   (626)
Foreign currency translation adjustments   (185)   (10)
Comprehensive income (loss) attributable to GitLab   $ (222)   $ (636)