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% |
| X | ||||||||||
- Definition Amount of expense for award under share-based payment arrangement. Excludes amount capitalized. Reference 1: http://www.xbrl.org/2003/role/disclosureRef
|
| X | ||||||||||
- Definition Amount of cost not yet recognized for nonvested award under share-based payment arrangement. Reference 1: http://www.xbrl.org/2003/role/disclosureRef
|
| X | ||||||||||
- Definition Weighted-average period over which cost not yet recognized is expected to be recognized for award under share-based payment arrangement, in 'PnYnMnDTnHnMnS' format, for example, 'P1Y5M13D' represents reported fact of one year, five months, and thirteen days. Reference 1: http://www.xbrl.org/2003/role/disclosureRef
|
| X | ||||||||||
- Definition Amount of lessee's undiscounted obligation for lease payment for operating lease. Reference 1: http://www.xbrl.org/2009/role/commonPracticeRef
|
| X | ||||||||||
- Definition Line items represent financial concepts included in a table. These concepts are used to disclose reportable information associated with domain members defined in one or many axes to the table. No definition available.
|
| X | ||||||||||
- Definition The parent entity's interest in net assets of the subsidiary, expressed as a percentage. No definition available.
|
| X | ||||||||||
- Definition Amount of operating lease expense. Excludes sublease income. Reference 1: http://www.xbrl.org/2009/role/commonPracticeRef
|
| X | ||||||||||
- Definition Present value of lessee's discounted obligation for lease payments from operating lease. Reference 1: http://www.xbrl.org/2003/role/disclosureRef
|
| X | ||||||||||
- Definition Amount of short-term lease cost, excluding expense for lease with term of one month or less. Reference 1: http://www.xbrl.org/2003/role/exampleRef
|
| X | ||||||||||
- Details
|
| X | ||||||||||
- Details
|