XML 121 R107.htm IDEA: XBRL DOCUMENT v3.10.0.1
Subsequent Events - Warrants (Additional Information) (Details) - shares
Jun. 30, 2018
Dec. 31, 2017
Aug. 31, 2017
Jul. 01, 2017
Jun. 30, 2017
Dec. 31, 2016
Sep. 30, 2016
Dec. 31, 2014
Subsequent Event [Line Items]                
Interest rate percentage   8.00%            
Common stock warrants                
Subsequent Event [Line Items]                
Number of securities called by warrants (in shares)               33,333
Convertible Promissory Notes due December 2020, Recourse | Convertible promissory notes                
Subsequent Event [Line Items]                
Interest rate percentage 6.00%     6.00% 5.00%      
Affiliated entity | CPPIB | Common stock warrants                
Subsequent Event [Line Items]                
Number of securities called by warrants (in shares)     312,888          
Affiliated entity | Convertible Promissory Notes due December 2020, Recourse | Convertible promissory notes                
Subsequent Event [Line Items]                
Interest rate percentage     6.00% 6.00%   6.00% 5.00%