XML 47 R36.htm IDEA: XBRL DOCUMENT v3.10.0.1
Basis of Presentation and Summary of Significant Accounting Policies (Details)
3 Months Ended 6 Months Ended 12 Months Ended
Jun. 30, 2018
USD ($)
location
Jun. 30, 2017
USD ($)
Jun. 30, 2018
USD ($)
segment
location
Jun. 30, 2017
USD ($)
Dec. 31, 2017
USD ($)
Significant Accounting Policies [Line Items]          
Restricted cash $ 2,000,000   $ 2,000,000   $ 500,000
Property and equipment, accumulated depreciation 57,900,000   $ 57,900,000   $ 51,600,000
Number of operating segments (in segments) | segment     1    
Goodwill impairment loss     $ 0    
Cost of revenue $ 42,190,000 $ 45,117,000 $ 89,953,000 $ 87,432,000  
Number of accredited financial institutions which the Company maintains the majority of its cash | location 1   1    
Percentage of accounts payable, accrued expenses, and other current liabilities     16.00%   20.00%
Total revenue | Customer concentration risk | Amgen, Inc.          
Significant Accounting Policies [Line Items]          
Concentration risk, percentage 14.00% 16.00% 13.00% 16.00%  
Total revenue | Customer concentration risk | Ypsomed          
Significant Accounting Policies [Line Items]          
Concentration risk, percentage   20.00% 17.00% 20.00%  
Total revenue | Customer concentration risk | Cardinal Health Inc. and affiliates          
Significant Accounting Policies [Line Items]          
Concentration risk, percentage 13.00% 10.00% 12.00% 10.00%  
Shipping and Handling          
Significant Accounting Policies [Line Items]          
Cost of revenue $ 1,400,000 $ 900,000 $ 2,500,000 $ 2,200,000