v3.20.2
Fair Value Measurements and Marketable Securities - Redeemable convertible preferred stock warrant liability (Details) - USD ($)
$ in Thousands
3 Months Ended 6 Months Ended
Jul. 31, 2020
Jul. 31, 2019
Jul. 31, 2020
Jul. 31, 2019
Fair Value, Liabilities Measured on Recurring Basis, Unobservable Input Reconciliation, Calculation [Roll Forward]        
Adjustment resulting from change in fair value recognized in the condensed consolidated statement of operations   $ 4,900   $ 6,000
Reclassification of liability for redeemable convertible preferred stock warrants to additional paid-in capital upon initial public offering   (10,559)   (10,559)
Level 3 | Redeemable convertible preferred stock warrant        
Fair Value, Liabilities Measured on Recurring Basis, Unobservable Input Reconciliation, Calculation [Roll Forward]        
Balance at beginning of period $ 0 5,704 $ 0 4,537
Adjustment resulting from change in fair value recognized in the condensed consolidated statement of operations 0 4,855 0 6,022
Reclassification of liability for redeemable convertible preferred stock warrants to additional paid-in capital upon initial public offering 0   0  
Balance at end of period $ 0 $ 0 $ 0 $ 0