v3.23.1
Leases - Schedule of operating and finance leases (Details) - USD ($)
$ in Thousands
Jan. 31, 2023
Jan. 31, 2022
Leases [Abstract]    
Finance Lease, Right-of-Use Asset, Statement of Financial Position [Extensible List] Property and equipment, net of accumulated depreciation and amortization of $59,847 and $53,321 as of January 31, 2023 and 2022, respectively Property and equipment, net of accumulated depreciation and amortization of $59,847 and $53,321 as of January 31, 2023 and 2022, 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 leases and other debt Long-term finance leases and other debt
Operating leases:    
Lease right-of-use assets $ 569 $ 2,337
Lease liabilities, current 934 1,281
Lease liabilities, non-current 349 1,276
Total operating lease liabilities 1,283 2,557
Finance leases:    
Property and equipment, at cost 27,813 27,310
Accumulated depreciation (20,657) (15,025)
Property and equipment, net 7,156 12,285
Lease liabilities, current (included in Current portion of finance lease liabilities and other debt) 4,926 5,600
Lease liabilities, non-current (included in Long-term finance lease liabilities and other debt) 2,725 7,284
Total finance lease liabilities $ 7,651 $ 12,884