Debt - Additional Information (Detail) | 1 Months Ended | 3 Months Ended | | |
Mar. 31, 2017USD ($)Tranches | Mar. 31, 2017USD ($) | Dec. 31, 2016USD ($) | Dec. 31, 2013USD ($) |
Debt Instrument [Line Items] | | | | |
Description of deferred principal payment due | | In February 2017, the Company entered into an amendment to the amended and restated loan and security agreement to allow principal payments due on February 1, 2017 and March 1, 2017 to be deferred until March 15, 2017. In March 2017, the principal payments were deferred again during renegotiations with Oxford. | | |
Term Loans [Member] | | | | |
Debt Instrument [Line Items] | | | | |
Number of tranches | Tranches | 3 | | | |
Term Loans [Member] | Maximum [Member] | | | | |
Debt Instrument [Line Items] | | | | |
Amount borrowed under facility | $ 40,000,000 | $ 40,000,000 | | |
First Term Loan [Member] | | | | |
Debt Instrument [Line Items] | | | | |
Amount borrowed under facility | 13,500,000 | 13,500,000 | | |
Revolving Line of Credit [Member] | | | | |
Debt Instrument [Line Items] | | | | |
Line of credit facility, amount outstanding | 8,000,000 | 8,000,000 | | |
Revolving Line of Credit [Member] | Maximum [Member] | | | | |
Debt Instrument [Line Items] | | | | |
Line of credit facility, maximum borrowing capacity | 10,000,000 | $ 10,000,000 | | |
Prior Credit Facility [Member] | | | | |
Debt Instrument [Line Items] | | | | |
Amount borrowed under facility | | | $ 20,000,000 | $ 20,000,000 |
Fixed interest floor rate | | | | 9.40% |
Maturity date of debt instrument | | Dec. 1, 2018 | | |
New Credit Facility [Member] | | | | |
Debt Instrument [Line Items] | | | | |
Amount borrowed under facility | 13,500,000 | $ 13,500,000 | | |
Maturity date of debt instrument | | Mar. 1, 2022 | | |
Long term debt, repayment of amount outstanding | 20,000,000 | | | |
Payment fee | $ 1,200,000 | | | |
Credit facility final payment fee | 4.95% | | | |
New Credit Facility [Member] | Maximum [Member] | Prior to First Anniversary [Member] | | | | |
Debt Instrument [Line Items] | | | | |
Credit facility prepayment fee | 3.00% | | | |
New Credit Facility [Member] | Minimum [Member] | | | | |
Debt Instrument [Line Items] | | | | |
Credit facility secured by shares in foreign subsidiary | 65.00% | 65.00% | | |
New Credit Facility [Member] | Minimum [Member] | Prior to First Anniversary [Member] | | | | |
Debt Instrument [Line Items] | | | | |
Credit facility prepayment fee | 1.00% | | | |
New Credit Facility [Member] | Term Loans [Member] | | | | |
Debt Instrument [Line Items] | | | | |
Number of tranches | Tranches | 3 | | | |
New Credit Facility [Member] | Term Loans [Member] | Maximum [Member] | | | | |
Debt Instrument [Line Items] | | | | |
Amount borrowed under facility | $ 40,000,000 | $ 40,000,000 | | |
New Credit Facility [Member] | First Term Loan [Member] | | | | |
Debt Instrument [Line Items] | | | | |
Amount borrowed under facility | 13,500,000 | 13,500,000 | | |
New Credit Facility [Member] | Second Term Loan [Member] | Maximum [Member] | | | | |
Debt Instrument [Line Items] | | | | |
Amount borrowed under facility | 10,000,000 | 10,000,000 | | |
New Credit Facility [Member] | Third Term Loan [Member] | Maximum [Member] | | | | |
Debt Instrument [Line Items] | | | | |
Amount borrowed under facility | 16,500,000 | 16,500,000 | | |
New Credit Facility [Member] | Revolving Line of Credit [Member] | | | | |
Debt Instrument [Line Items] | | | | |
Line of credit facility, maximum borrowing capacity | 10,000,000 | 10,000,000 | | |
Line of credit facility, amount outstanding | $ 8,000,000 | $ 8,000,000 | | |
Debt instrument, description of floating rate terms | | With respect to the Revolving Line of Credit, the floating per annum rate of interest is equal to the greater of (1) 4.95% and (2) the sum of (i) the greater of (A) 30-day U.S. LIBOR rate reported in The Wall Street Journal on the last business day of the month that immediately precedes the month in which the interest will accrue and (B) 0.77%, plus (ii) 4.18%. | | |
Debt instrument, description of variable rate basis | | 30-day U.S. LIBOR | | |
Debt instrument, interest rate | 0.77% | | | |
Debt instrument, basis spread on interest rate | 4.18% | | | |
New Credit Facility [Member] | Revolving Line of Credit [Member] | Maximum [Member] | | | | |
Debt Instrument [Line Items] | | | | |
Line of credit facility, maximum borrowing capacity | $ 10,000,000 | $ 10,000,000 | | |
New Credit Facility [Member] | Revolving Line of Credit [Member] | Minimum [Member] | | | | |
Debt Instrument [Line Items] | | | | |
Debt instrument, floating per annum rate | 4.95% | 4.95% | | |
New Credit Facility [Member] | Term Loans [Member] | | | | |
Debt Instrument [Line Items] | | | | |
Debt instrument, description of floating rate terms | | Each Term Loan bears interest at a floating per annum rate equal to the greater of (1) 7.95% and (2) the sum of (i) the greater of (A) the 30-day U.S. LIBOR rate reported in The Wall Street Journal on the last business day of the month that immediately precedes the month in which the interest will accrue and (B) 0.77%, plus (ii) 7.18%. | | |
Debt instrument, description of variable rate basis | | 30-day U.S. LIBOR | | |
Debt instrument, interest rate | 0.77% | | | |
Debt instrument, basis spread on interest rate | 7.18% | | | |
Debt Instrument, frequency of periodic payment terms | | The Company is required to make interest-only payments following the funding of each Term Loan through April 1, 2019 or, under certain circumstances, through April 1, 2020. | | |
New Credit Facility [Member] | Term Loans [Member] | Minimum [Member] | | | | |
Debt Instrument [Line Items] | | | | |
Debt instrument, floating per annum rate | 7.95% | 7.95% | | |