XML 33 R19.htm IDEA: XBRL DOCUMENT v3.8.0.1
Description of Business (Details) - $ / shares
Oct. 02, 2017
Oct. 31, 2017
Jul. 31, 2017
Organization, Consolidation and Presentation of Financial Statements [Abstract]      
Common stock par value (in dollars per share) $ 0.001 $ 0.001 $ 0.001
Opiant Pharmaceuticals, Inc.      
Business Acquisition [Line Items]      
Shares issued upon merger (in shares) 1