XML 57 R42.htm IDEA: XBRL DOCUMENT v3.6.0.2
Summary of Significant Accounting Policies (Details 3) - USD ($)
$ in Thousands
12 Months Ended
Dec. 31, 2016
Dec. 31, 2015
Dec. 31, 2014
Movement in Valuation Allowances and Reserves [Roll Forward]      
Valuation allowances and reserves balance, beginning of year $ 14,266 $ 5,587 $ 1,960
Provision 169,138 69,712 32,867
Charges processed (141,493) (61,033) (29,240)
Valuation allowances and reserves balance, end of year 41,911 14,266 5,587
Returns      
Movement in Valuation Allowances and Reserves [Roll Forward]      
Valuation allowances and reserves balance, beginning of year 934 674 56
Provision 3,568 1,724 767
Charges processed (2,192) (1,464) (149)
Valuation allowances and reserves balance, end of year 2,310 934 674
Chargebacks & Rebates      
Movement in Valuation Allowances and Reserves [Roll Forward]      
Valuation allowances and reserves balance, beginning of year 12,450 4,552 1,746
Provision 160,556 65,713 31,040
Charges processed (137,125) (57,815) (28,234)
Valuation allowances and reserves balance, end of year 35,881 12,450 4,552
Discounts      
Movement in Valuation Allowances and Reserves [Roll Forward]      
Valuation allowances and reserves balance, beginning of year 792 345 142
Provision 4,667 2,201 1,060
Charges processed (2,156) (1,754) (857)
Valuation allowances and reserves balance, end of year 3,303 792 345
Doubtful Accounts      
Movement in Valuation Allowances and Reserves [Roll Forward]      
Valuation allowances and reserves balance, beginning of year 90 16 16
Provision 347 74 0
Charges processed (20) 0 0
Valuation allowances and reserves balance, end of year $ 417 $ 90 $ 16