XML 85 R65.htm IDEA: XBRL DOCUMENT v3.6.0.2
Related Party Transactions - Additional Information (Details) - USD ($)
$ / shares in Units, $ in Thousands
12 Months Ended
May 04, 2016
Dec. 31, 2016
Dec. 31, 2015
Dec. 31, 2014
Oct. 11, 2016
Apr. 30, 2016
Jan. 31, 2015
Related Party Transaction [Line Items]              
Customer deposit from related party   $ 0 $ 1,283        
Convertible preferred stock, shares issued         10,096,639    
Series D Convertible Preferred Stock              
Related Party Transaction [Line Items]              
Issuance for common stock for cash (in shares)       2,732,552      
Revenue from related parties as percentage of total revenue   100.00% 94.70% 52.40%      
Convertible preferred stock, shares issued   0 2,732,552   2,732,552    
Convertible preferred stock, par value (in dollars per share)   $ 0.001 $ 0.001        
Series E Convertible Preferred Stock              
Related Party Transaction [Line Items]              
Issuance for common stock for cash (in shares)   1,916,425          
Proceeds from issuance of convertible preferred stock $ 15,800            
Convertible preferred stock, shares issued 1,916,425 0 0   1,916,425    
Convertible preferred stock, par value (in dollars per share)   $ 0.001 $ 0.001        
Bader              
Related Party Transaction [Line Items]              
Accounts receivable from related party   $ 500          
Customer deposit from related party             $ 1,300
Bader | Series D Convertible Preferred Stock              
Related Party Transaction [Line Items]              
Issuance for common stock for cash (in shares)   875,903          
Proceeds from issuance of convertible preferred stock   $ 3,400 $ 3,800 $ 1,900      
Bader | Series E Convertible Preferred Stock | Distribution Agreement              
Related Party Transaction [Line Items]              
Convertible preferred stock, shares issued           154,585  
Convertible preferred stock, par value (in dollars per share)           $ 8.2932