v3.23.1
Composition of certain financial statement captions - Schedule of property and equipment (Details) - USD ($)
$ in Thousands
12 Months Ended
Jan. 31, 2023
Jan. 31, 2022
Property, Plant and Equipment [Line Items]    
Total property and equipment $ 81,517 $ 87,966
Less accumulated depreciation (59,847) (53,321)
Property and equipment — net $ 21,670 34,645
Minimum    
Property, Plant and Equipment [Line Items]    
Useful life (in years) 3 years  
Maximum    
Property, Plant and Equipment [Line Items]    
Useful life (in years) 7 years  
PhreesiaPads and Arrivals Kiosks    
Property, Plant and Equipment [Line Items]    
Useful life (in years) 3 years  
Total property and equipment $ 17,932 26,387
Computer equipment    
Property, Plant and Equipment [Line Items]    
Useful life (in years) 3 years  
Total property and equipment $ 54,485 53,957
Computer software    
Property, Plant and Equipment [Line Items]    
Total property and equipment $ 8,571 5,311
Computer software | Minimum    
Property, Plant and Equipment [Line Items]    
Useful life (in years) 3 years  
Computer software | Maximum    
Property, Plant and Equipment [Line Items]    
Useful life (in years) 5 years  
Hardware development    
Property, Plant and Equipment [Line Items]    
Useful life (in years) 3 years  
Total property and equipment $ 529 1,024
Furniture and fixtures    
Property, Plant and Equipment [Line Items]    
Useful life (in years) 7 years  
Total property and equipment $ 0 539
Leasehold improvements    
Property, Plant and Equipment [Line Items]    
Useful life (in years) 2 years  
Total property and equipment $ 0 $ 748