v3.5.0.2
Capitalization - Convertible Preferred Stock Terms and Warrants (Details)
1 Months Ended 9 Months Ended 12 Months Ended
Sep. 26, 2016
$ / shares
shares
Sep. 02, 2016
Feb. 29, 2016
shares
Sep. 25, 2016
$ / shares
Dec. 31, 2013
$ / shares
shares
Dec. 31, 2011
$ / shares
shares
Convertible Preferred Stock            
Reverse stock split ratio   0.3333        
IPO            
Convertible Preferred Stock            
IPO price (in dollars per share) $ 18.00          
Convertible Preferred Stock Warrants            
Convertible Preferred Stock            
Outstanding warrants converted during the period (in shares) | shares 1,382,505          
Series Seed preferred stock warrants            
Convertible Preferred Stock            
Warrants issued (in shares) | shares           1,200,000
Warrants exercise price (in dollars per share)           $ 0.10
Warrants net exercised (in shares) | shares     808,135      
Stock issued in net exercise of warrants (in shares) | shares     788,755      
Repurchase of stock that was issued in net exercise of warrants (in shares) | shares     614,052      
Series A-3 preferred stock warrants            
Convertible Preferred Stock            
Warrants issued (in shares) | shares         990,640  
Warrants exercise price (in dollars per share)         $ 0.18372  
Warrants expiration period after IPO         3 years  
Class B Common Stock Warrants            
Convertible Preferred Stock            
Stock issued in net exercise of warrants (in shares) | shares 448,545          
Warrants issued in conversion (in shares) | shares 460,834          
Series Seed convertible preferred stock            
Convertible Preferred Stock            
Dividend rate (in dollars per share)       $ 0.008    
Original issue price (in dollars per share)       0.10    
Conversion price (in dollars per share)       0.30    
Stock issued in net exercise of warrants (in shares) | shares     788,755      
Repurchase of stock that was issued in net exercise of warrants (in shares) | shares     614,052      
Series A-1 convertible preferred stock            
Convertible Preferred Stock            
Dividend rate (in dollars per share)       0.010087    
Original issue price (in dollars per share)       0.126084    
Conversion price (in dollars per share)       0.378252    
Series A-2 convertible preferred stock            
Convertible Preferred Stock            
Dividend rate (in dollars per share)       0.011758    
Original issue price (in dollars per share)       0.146976    
Conversion price (in dollars per share)       0.440928    
Series A-3 convertible preferred stock            
Convertible Preferred Stock            
Dividend rate (in dollars per share)       0.014698    
Original issue price (in dollars per share)       0.183720    
Conversion price (in dollars per share)       0.55116    
Series B convertible preferred stock            
Convertible Preferred Stock            
Dividend rate (in dollars per share)       0.194    
Original issue price (in dollars per share)       2.431    
Conversion price (in dollars per share)       7.293    
Series C convertible preferred stock            
Convertible Preferred Stock            
Dividend rate (in dollars per share)       0.417    
Original issue price (in dollars per share)       5.217125    
Conversion price (in dollars per share)       $ 15.651375    
Class B common stock            
Convertible Preferred Stock            
Stock issued in net exercise of warrants (in shares) | shares 448,545