Annual report pursuant to Section 13 and 15(d)

Summary of significant accounting policies (Details) - Schedule of basic and diluted net income (loss) per share

v3.20.2
Summary of significant accounting policies (Details) - Schedule of basic and diluted net income (loss) per share - USD ($)
$ / shares in Units, $ in Thousands
3 Months Ended 12 Months Ended
Jul. 31, 2020
Apr. 30, 2020
Jan. 31, 2020
Oct. 31, 2019
Jul. 31, 2019
Apr. 30, 2019
Jan. 31, 2019
Oct. 31, 2018
Jul. 31, 2020
Jul. 31, 2019
Jul. 31, 2018
Schedule of basic and diluted net income (loss) per share [Abstract]                      
Net (loss) income (in Dollars) $ (3,325) $ (9,860) $ (7,687) $ (7,648) $ (5,390) $ 22,265 $ (8,408) $ (5,978) $ (28,520) $ 2,489 $ (10,321)
Weighted-average common shares outstanding - basic                 47,696 47,351 46,972
Add: effect of dilutive stock options and restricted stock                 125
Weighted-average common shares outstanding - diluted                 47,696 47,476 46,972
Net (loss) income per share – basic (in Dollars per share)                 $ (0.60) $ 0.05 $ (0.22)
Net (loss) income per share – diluted (in Dollars per share)                 $ (0.60) $ 0.05 $ (0.22)