v3.21.1
Income taxes - Additional Information (Detail) - USD ($)
12 Months Ended
Jan. 31, 2021
Jan. 31, 2020
Jan. 31, 2019
Operating Loss Carryforwards [Line Items]      
(Provision for) benefit from income taxes $ (49,000) $ 1,780,000 $ 0
Effective tax rate 0.00% 8.00% 0.00%
Valuation allowance $ (54,563,000) $ (35,369,000)  
Tax examination, penalties and interest accrued 0    
Domestic Tax Authority      
Operating Loss Carryforwards [Line Items]      
Accumulated federal net operating loss carryforward 199,079,000 $ 124,512,000 $ 100,000,000
Foreign Tax Authority      
Operating Loss Carryforwards [Line Items]      
Accumulated federal net operating loss carryforward $ 2,485,000