v3.8.0.1

Fair Value Measurements - Narrative (Details) $ in Thousands | Sep. 30, 2017 USD ($) ft² | Dec. 31, 2016 USD ($) | Apr. 14, 2016 ft²
--- | --- | --- | ---
Fair Value, Assets and Liabilities Measured on Recurring and Nonrecurring Basis [Line Items] |  |  |
Restructuring accrual | $ | $ 3,818 | $ 356 |
Massachusetts |  |  |
Fair Value, Assets and Liabilities Measured on Recurring and Nonrecurring Basis [Line Items] |  |  |
Area of real estate property | ft² |  |  | 108,743
Massachusetts | Property Subject to Operating Lease |  |  |
Fair Value, Assets and Liabilities Measured on Recurring and Nonrecurring Basis [Line Items] |  |  |
Area of real estate property | ft² | 25,812 |  | 10,362
Restructuring accrual | $ | $ 3,527 |  |

X
- Definition Area of a real estate property. + References No definition available. + Details
Name: | us-gaap_AreaOfRealEstateProperty
Namespace Prefix: | us-gaap_
Data Type: | num:areaItemType
Balance Type: | na
Period Type: | instant

X
- Definition Line items represent financial concepts included in a table. These concepts are used to disclose reportable information associated with domain members defined in one or many axes to the table. + References No definition available. + Details
Name: | us-gaap_FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisLineItems
Namespace Prefix: | us-gaap_
Data Type: | xbrli:stringItemType
Balance Type: | na
Period Type: | duration

X
- Definition Carrying amount (including both current and noncurrent portions of the accrual) as of the balance sheet date pertaining to a specified type of cost associated with exit from or disposal of business activities or restructuring pursuant to a duly authorized plan. + References Reference 1: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 420 -SubTopic 10 -Section S99 -Paragraph 2 -Subparagraph (SAB TOPIC 5.P.4(b)) -URI http://asc.fasb.org/extlink&oid=27011515&loc=d3e140904-122747 Reference 2: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 420 -SubTopic 10 -Section 50 -Paragraph 1 -Subparagraph (b)(2) -URI http://asc.fasb.org/extlink&oid=6394359&loc=d3e17939-110869 + Details
Name: | us-gaap_RestructuringReserve
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | instant

X
- Details
Name: | us-gaap_StatementGeographicalAxis=stpr_MA
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_PropertySubjectToOrAvailableForOperatingLeaseAxis=us-gaap_PropertySubjectToOperatingLeaseMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |