Annual report pursuant to Section 13 and 15(d)

Summary of Selected Quarterly Financial Data (unaudited) (Details) - Quarterly Financial Data

v3.19.3
Summary of Selected Quarterly Financial Data (unaudited) (Details) - Quarterly Financial Data - USD ($)
$ / shares in Units, $ in Thousands
3 Months Ended 12 Months Ended
Jul. 31, 2019
Apr. 30, 2019
Jan. 31, 2019
Oct. 31, 2018
Jul. 31, 2018
Apr. 30, 2018
Jan. 31, 2018
Oct. 31, 2017
Jul. 31, 2019
Jul. 31, 2018
Jul. 31, 2017
Quarterly Financial Data [Abstract]                      
Total revenues $ 20,921 $ 19,662 $ 19,327 $ 21,260 $ 24,455 $ 25,630 $ 26,952 $ 27,676      
Gross profit 6,346 5,302 4,579 7,021 9,665 11,073 11,345 12,245      
Income (loss) before income taxes (5,390) 22,265 (8,408) (5,978) (5,758) (3,016) (1,998) (640)      
Net income (loss) $ (5,390) $ 22,265 $ (8,408) $ (5,978) $ (5,758) $ (3,016) $ (901) $ (640) $ 2,489 $ (10,321) $ (2,504)
Basic and diluted income (loss) per common share (in Dollars per share) $ (0.11) $ 0.47 $ (0.18) $ (0.13) $ (0.11) $ (0.06) $ (0.02) $ (0.01)