XML 31 R20.htm IDEA: XBRL DOCUMENT v3.10.0.1
Description of Business (Details) - $ / shares
Oct. 02, 2017
Jun. 30, 2018
Dec. 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