XML 95 R81.htm IDEA: XBRL DOCUMENT v3.10.0.1
Convertible Stock and Warrants - Common Stock Warrants (Additional Information) (Details) - USD ($)
$ / shares in Units, $ in Millions
12 Months Ended
Aug. 31, 2017
Dec. 31, 2017
Dec. 31, 2016
Dec. 31, 2013
Jun. 30, 2018
Jul. 01, 2017
Jun. 30, 2017
Sep. 30, 2016
Dec. 31, 2014
Class of Warrant or Right [Line Items]                  
Interest rate percentage   8.00%              
Common stock warrants                  
Class of Warrant or Right [Line Items]                  
Number of securities called by warrants (in shares)                 33,333
Warrant exercise price (in dollars per share)                 $ 38.64
Revaluation of warrants     $ 9.2 $ 3.3          
Term of warrants                 5 years
Common stock warrants | Maximum | J.P. Morgan                  
Class of Warrant or Right [Line Items]                  
Number of securities called by warrants (in shares)     146,666            
Common stock warrants | Maximum | CPPIB                  
Class of Warrant or Right [Line Items]                  
Number of securities called by warrants (in shares)     166,222            
Convertible promissory notes | Convertible Promissory Notes due December 2020, Recourse                  
Class of Warrant or Right [Line Items]                  
Interest rate percentage         6.00% 6.00% 5.00%    
Affiliated entity                  
Class of Warrant or Right [Line Items]                  
Adjustment to additional paid in capital related to warrant reclassification $ 9.4                
Affiliated entity | Common stock warrants                  
Class of Warrant or Right [Line Items]                  
Revaluation of warrants   $ 0.2              
Affiliated entity | Common stock warrants | CPPIB                  
Class of Warrant or Right [Line Items]                  
Number of securities called by warrants (in shares) 312,888                
Affiliated entity | Common stock warrants | Maximum | J.P. Morgan                  
Class of Warrant or Right [Line Items]                  
Number of securities called by warrants (in shares)     146,666            
Affiliated entity | Common stock warrants | Maximum | CPPIB                  
Class of Warrant or Right [Line Items]                  
Number of securities called by warrants (in shares)     166,222            
Affiliated entity | Convertible promissory notes | Convertible Promissory Notes due December 2020, Recourse                  
Class of Warrant or Right [Line Items]                  
Interest rate percentage 6.00%   6.00%     6.00%   5.00%