Leases - Schedule of operating and finance leases (Details) - USD ($) $ in Thousands |
Jan. 31, 2024 |
Jan. 31, 2023 |
|---|---|---|
| Leases [Abstract] | ||
| Finance Lease, Right-of-Use Asset, Statement of Financial Position [Extensible List] | Property and equipment, net of accumulated depreciation and amortization of $76,859 and $59,847 as of January 31, 2024 and 2023, respectively | Property and equipment, net of accumulated depreciation and amortization of $76,859 and $59,847 as of January 31, 2024 and 2023, respectively |
| Finance Lease, Liability, Current, Statement of Financial Position [Extensible List] | Long-Term Debt and Lease Obligation, Current | Long-Term Debt and Lease Obligation, Current |
| Finance Lease, Liability, Noncurrent, Statement of Financial Position [Extensible List] | Long-term finance lease liabilities and other debt | Long-term finance lease liabilities and other debt |
| Operating leases: | ||
| Lease right-of-use assets | $ 266 | $ 569 |
| Lease liabilities, current | 393 | 934 |
| Lease liabilities, non-current | 134 | 349 |
| Total operating lease liabilities | 527 | 1,283 |
| Finance leases: | ||
| Property and equipment, at cost | 35,250 | 27,813 |
| Accumulated depreciation | (27,399) | (20,657) |
| Property and equipment, net | 7,851 | 7,156 |
| Lease liabilities, current (included in Current portion of finance lease liabilities and other debt) | 4,958 | 4,926 |
| Lease liabilities, non-current (included in Long-term finance lease liabilities and other debt) | 3,351 | 2,725 |
| Total finance lease liabilities | $ 8,309 | $ 7,651 |