XML 257 R86.htm IDEA: XBRL DOCUMENT v3.19.1
Convertible Notes, Convertible Preferred Stock and Common and Preferred Stock Warrants - Common Stock Warrants (Additional Information) (Details) - USD ($)
$ / shares in Units, $ in Millions
12 Months Ended
Aug. 31, 2017
Dec. 31, 2018
Dec. 31, 2017
Dec. 31, 2013
Jul. 01, 2017
Dec. 31, 2016
Sep. 30, 2016
Dec. 31, 2014
Class of Warrant or Right [Line Items]                
Issuance of common stock upon exercise of warrants (in shares)   312,575            
Preferred stock warrants                
Class of Warrant or Right [Line Items]                
Warrants outstanding (in shares)   0 860,788          
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       $ 3.3        
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%      
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% 5.00%  
Class B common stock | Preferred stock warrants                
Class of Warrant or Right [Line Items]                
Warrants outstanding (in shares)   760,788 860,788          
Warrant expiration (in shares)   (100,000)