XML 53 R33.htm IDEA: XBRL DOCUMENT v3.7.0.1
Significant Accounting Policies and Recent Accounting Pronouncements - Additional Information (Detail)
$ in Thousands
3 Months Ended 6 Months Ended
Jun. 30, 2017
USD ($)
shares
Jun. 30, 2016
shares
Jun. 30, 2017
USD ($)
Segment
shares
Jun. 30, 2016
USD ($)
shares
Dec. 31, 2016
USD ($)
Summary Of Significant Accounting Policies [Line Items]          
Number of operating segments | Segment     1    
Proceeds from sales of common stock, net of offering costs       $ 37,500  
Proceeds from exercise of options and purchase of stock under the Employee Stock Purchase Program     $ 4,086 2,181  
Product revenue related reserves $ 1,864   1,864   $ 305
Other 3,848   3,848   3,272
Scenario, Previously Reported [Member]          
Summary Of Significant Accounting Policies [Line Items]          
Proceeds from exercise of options, purchase of stock under the Employee Stock Purchase Program and sales of common stock       39,700  
Other         $ 3,600
Restatement Adjustment [Member]          
Summary Of Significant Accounting Policies [Line Items]          
Proceeds from sales of common stock, net of offering costs       37,500  
Proceeds from exercise of options and purchase of stock under the Employee Stock Purchase Program       $ 2,200  
Product revenue related reserves $ 300   $ 300    
Stock Options [Member]          
Summary Of Significant Accounting Policies [Line Items]          
Stock options granted | shares 3,579,467 [1] 7,600 4,456,959 [1] 1,213,376  
Stock Options [Member] | CEO [Member]          
Summary Of Significant Accounting Policies [Line Items]          
Stock options granted | shares 3,300,000   3,300,000    
ASU 2016-18 [Member] | Movement of Restricted Cash to Cash and Cash Equivalents [Member]          
Summary Of Significant Accounting Policies [Line Items]          
Effect of early adoption of Accounting standards Update (ASU)     $ 100    
Product Revenues [Member] | Customer One [Member]          
Summary Of Significant Accounting Policies [Line Items]          
Concentration of credit risk percentage     55.00%    
Product Revenues [Member] | Customer Two [Member]          
Summary Of Significant Accounting Policies [Line Items]          
Concentration of credit risk percentage     29.00%    
Product Revenues [Member] | Customer Three [Member]          
Summary Of Significant Accounting Policies [Line Items]          
Concentration of credit risk percentage     16.00%    
Accounts Receivable | Customer One [Member]          
Summary Of Significant Accounting Policies [Line Items]          
Concentration of credit risk percentage     58.00%    
Accounts Receivable | Customer Two [Member]          
Summary Of Significant Accounting Policies [Line Items]          
Concentration of credit risk percentage     30.00%    
Accounts Receivable | Customer Three [Member]          
Summary Of Significant Accounting Policies [Line Items]          
Concentration of credit risk percentage     12.00%    
Minimum [Member]          
Summary Of Significant Accounting Policies [Line Items]          
Accounts receivable payment term     30 days    
Maximum [Member]          
Summary Of Significant Accounting Policies [Line Items]          
Accounts receivable payment term     45 days    
[1] The Company granted its new CEO 3,300,000 options with service and market conditions. These options have a five-year cliff vesting schedule. The fair value of $13.48 for these options was determined by a lattice model with Monte Carlo simulations. The remaining 279,467 service-based options which have a weighted average grant date fair value of $15.49 have a four-year vesting schedule with 25% vest on the first anniversary and 1/48 monthly thereafter.