XML 35 R22.htm IDEA: XBRL DOCUMENT
v3.7.0.1

Debt (Tables) | 6 Months Ended
--- | ---
Jun. 30, 2017
Debt Disclosure [Abstract] |
Schedule of Debt | The Term Loan consisted of the following at June 30, 2017 (in thousands):
Principal | $ | 20,000 |
Less: unamortized debt discount and debt issuance costs | (2,065 | )
Net carrying amount | $ | 17,935 |
Convertible Debt | The Convertible Notes consisted of the following at June 30, 2017 and December 31, 2016 (in thousands):
| June 30, 2017 |  | December 31, 2016
Liability component: |  |  |
Principal | $ | 120,000 |  |  | $ | 120,000 |
Less: unamortized debt discount and debt issuance costs | (27,969 | ) |  | (29,092 | )
Net carrying amount | $ | 92,031 |  |  | $ | 90,908 |
Equity component | $ | 41,905 |  |  | $ | 38,305 |
Interest Expense Summary | The following table sets forth total interest expense recognized related to the Convertible Notes during the three and six months ended June 30, 2017 and 2016 (in thousands):
| Three Months Ended June 30, |  | Six Months Ended June 30,
| 2017 |  | 2016 |  | 2017 |  | 2016
Contractual interest expense | $ | 1,650 |  |  | $ | 1,650 |  |  | $ | 3,300 |  |  | $ | 3,300 |
Amortization of debt discount | 2,243 |  |  | 1,980 |  |  | 4,460 |  |  | 3,960 |
Amortization of debt issuance costs | 132 |  |  | 131 |  |  | 263 |  |  | 263 |
Total interest expense | $ | 4,025 |  |  | $ | 3,761 |  |  | $ | 8,023 |  |  | $ | 7,523 |
The following table sets forth total interest expense recognized related to the Term Loan during the three and six months ended June 30, 2017 (in thousands):
Contractual interest expense | $ | 335 |
Amortization of debt discount | 296 |
Amortization of debt issuance costs | 63 |
Total interest expense | $ | 694 |

X
- Definition Tabular disclosure of borrowings which can be exchanged for a specified number of another security at the option of the issuer or the holder. Disclosures include, but are not limited to, principal amount, amortized premium or discount, and amount of liability and equity components. + References No definition available. + Details
Name: | us-gaap_ConvertibleDebtTableTextBlock
Namespace Prefix: | us-gaap_
Data Type: | nonnum:textBlockItemType
Balance Type: | na
Period Type: | duration

X
- References No definition available. + Details
Name: | us-gaap_DebtDisclosureAbstract
Namespace Prefix: | us-gaap_
Data Type: | xbrli:stringItemType
Balance Type: | na
Period Type: | duration

X
- Definition Tabular disclosure of interest income and expense, including, but not limited to, interest income and expense from investments, loans, and securities. + References No definition available. + Details
Name: | us-gaap_InterestIncomeAndInterestExpenseDisclosureTableTextBlock
Namespace Prefix: | us-gaap_
Data Type: | nonnum:textBlockItemType
Balance Type: | na
Period Type: | duration

X
- Definition Tabular disclosure of information pertaining to short-term and long-debt instruments or arrangements, including but not limited to identification of terms, features, collateral requirements and other information necessary to a fair presentation. + References No definition available. + Details
Name: | us-gaap_ScheduleOfDebtTableTextBlock
Namespace Prefix: | us-gaap_
Data Type: | nonnum:textBlockItemType
Balance Type: | na
Period Type: | duration