Quarterly report pursuant to Section 13 or 15(d)

Convertible Preferred Stock (Details)

v3.5.0.2
Convertible Preferred Stock (Details) - USD ($)
1 Months Ended 6 Months Ended 12 Months Ended
Aug. 08, 2012
Jan. 31, 2016
Oct. 31, 2014
Jun. 30, 2016
Dec. 31, 2014
Dec. 31, 2013
Dec. 31, 2015
Convertible Preferred Stock              
Proceeds from issuance of convertible preferred stock, net of issuance costs       $ 39,813,000      
Issuance costs       2,312,000      
Series A convertible preferred stock              
Convertible Preferred Stock              
Liquidation preference       33,852,000     $ 32,984,000
Series A-1 convertible preferred stock              
Convertible Preferred Stock              
Number of shares issued during period 2,500,000            
Share price (in dollars per share) $ 0.50            
Proceeds from issuance of convertible preferred stock, net of issuance costs $ 1,208,000            
Issuance costs $ 42,000            
Liquidation preference       1,542,000      
Series A-2 convertible preferred stock              
Convertible Preferred Stock              
Number of shares issued during period           12,100,000  
Share price (in dollars per share)           $ 1.00  
Proceeds from issuance of convertible preferred stock, net of issuance costs           $ 10,021,000  
Issuance costs           42,000  
Exchange of outstanding Convertible Notes, including accrued interest           $ 2,036,000  
Liquidation preference       14,432,000      
Series A-3 convertible preferred stock              
Convertible Preferred Stock              
Number of shares issued during period         15,750,000    
Share price (in dollars per share)         $ 1.00    
Proceeds from issuance of convertible preferred stock, net of issuance costs         $ 15,749,000    
Issuance costs         $ 1,000    
Liquidation preference       17,878,000      
Series B convertible preferred stock              
Convertible Preferred Stock              
Number of shares issued during period   12,714,150 16,893,931        
Share price (in dollars per share)   $ 3.1461 $ 3.1461        
Proceeds from issuance of convertible preferred stock, net of issuance costs   $ 39,794,000 $ 52,998,000        
Issuance costs   $ 206,000 $ 152,000        
Liquidation preference       $ 99,726,000     $ 57,034,000