XML 33 R22.htm IDEA: XBRL DOCUMENT
v3.10.0.1

Debt (Tables) | 6 Months Ended
--- | ---
Jun. 30, 2018
Debt Disclosure [Abstract] |
Term Loan | The Term Loan consisted of the following at June 30, 2018 and December 31, 2017 (in thousands):
| June 30, 2018 |  | December 31, 2017
Principal | $ | 48,000 |  |  | $ | 48,000 |
Less: unamortized debt discount and debt issuance costs | (3,199 | ) |  | (3,945 | )
Net carrying amount | $ | 44,801 |  |  | $ | 44,055 |
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, 2018 and 2017 (in thousands):
| Three Months Ended June 30, |  | Six Months Ended June 30,
| 2018 |  | 2017 |  | 2018 |  | 2017
Contractual interest expense | $ | 1,445 |  |  | $ | 1,650 |  |  | $ | 2,891 |  |  | $ | 3,300 |
Amortization of debt discount | 1,955 |  |  | 2,243 |  |  | 3,911 |  |  | 4,460 |
Amortization of debt issuance costs | 115 |  |  | 132 |  |  | 229 |  |  | 263 |
Total interest expense | $ | 3,515 |  |  | $ | 4,025 |  |  | $ | 7,031 |  |  | $ | 8,023 |
The following table sets forth total interest expense recognized related to the Term Loan during the three and six months ended June 30, 2018 (in thousands):
| Three Months Ended June 30, 2018 |  | Six Months Ended June 30, 2018
Contractual interest expense | $ | 1,173 |  |  | $ | 2,267 |
Amortization of debt discount | 333 |  |  | 666 |
Amortization of debt issuance costs | 40 |  |  | 80 |
Total interest expense | $ | 1,546 |  |  | $ | 3,013 |
Convertible Debt | The Convertible Notes consisted of the following at June 30, 2018 and December 31, 2017 (in thousands):
| June 30, 2018 |  | December 31, 2017
Liability component: |  |  |
Principal | $ | 105,125 |  |  | $ | 105,125 |
Less: unamortized debt discount and debt issuance costs | (16,212 | ) |  | (20,352 | )
Net carrying amount | $ | 88,913 |  |  | $ | 84,773 |
Equity component | $ | 41,905 |  |  | $ | 41,905 |

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