Quarterly report pursuant to Section 13 or 15(d)

Subsequent Events - (Details)

v3.5.0.2
Subsequent Events - (Details) - USD ($)
$ / shares in Units, $ in Thousands
1 Months Ended 3 Months Ended 6 Months Ended
Jul. 06, 2016
Jul. 31, 2016
Jun. 30, 2016
Jun. 30, 2015
Jun. 30, 2016
Jun. 30, 2015
Jul. 07, 2016
Dec. 31, 2015
Subsequent Events                
Underwriting discounts, commissions and other offering costs         $ 2,312      
Common stock, shares authorized (in shares)     78,886,062   78,886,062     66,171,908
Par value, common stock (in dollars per share)     $ 0.001   $ 0.001     $ 0.001
Stock-based compensation expense     $ 1,148 $ 613 $ 1,810 $ 1,124    
Subsequent event                
Subsequent Events                
Common stock issued upon conversion of convertible preferred stock (in shares) 15,988,800              
Common stock, shares authorized (in shares) 200,000,000              
Preferred stock, shares authorized (in shares) 10,000,000              
Par value, common stock (in dollars per share) $ 0.001              
Par value, preferred stock (in dollars per share) $ 0.001              
Subsequent event | 2016 ESPP                
Subsequent Events                
Shares reserved for issuance to employees 586,666              
Increase in number of shares of common stock reserved for issuance of awards on the first day of each calendar year (in shares) 1,173,333              
Increase in number of shares of common stock reserved for issuance of awards on the first day of each calendar year, as a percentage of outstanding shares 1.0              
IPO | Subsequent event                
Subsequent Events                
Stock-based compensation expense   $ 1,200            
Common Stock | IPO | Subsequent event                
Subsequent Events                
Shares issued 4,600,000              
Share price $ 12.50              
Aggregate gross proceeds $ 57,500              
Net proceeds 49,900              
Underwriting discounts, commissions and other offering costs $ 7,600              
Common Stock | Over-allotment | Subsequent event                
Subsequent Events                
Shares issued 600,000              
Restricted stock                
Subsequent Events                
Vesting of awards (in shares)         82,664      
Restricted stock | Subsequent event                
Subsequent Events                
Vesting of awards (in shares)   53,334            
Performance-based stock options | Subsequent event                
Subsequent Events                
Vesting of options (in shares)   59,387            
Convertible Preferred Stock | Subsequent event                
Subsequent Events                
Convertible preferred stock, shares outstanding (in shares)             0