v3.6.0.2

Credit Facility | 12 Months Ended
--- | ---
Dec. 31, 2016
Credit Facility |
Credit Facility | 10. Credit Facility We have entered into a Credit Agreement (the "Credit Agreement") and related agreements, as amended, with Bank of America, N.A. acting as agent for lenders named therein, including Bank of America, N.A., Silicon Valley Bank, and Citizens Bank, N.A. (the "Lenders"), for a secured credit facility in the form of a revolving line of credit of up to $69,750, which was increased from $46,500 in February 2016, with an option to increase the available amount to $86,500 upon the satisfaction of certain conditions (the "Revolving Line of Credit") and a term loan of $3,500 (the "Term Loan" and together with the Revolving Line of Credit, the "Credit Facility"). We may use borrowings under the credit facility for general working capital and corporate purposes. In general, amounts borrowed under the Credit Facility are secured by a lien against all of our assets, with certain exclusions. As of December 31, 2016 and 2015, $15,000 and $15,000, respectively, was outstanding under the Revolving Line of Credit. Amounts outstanding under the Revolving Line of Credit are classified within long-term debt in our consolidated balance sheet as of December 31, 2016 as we do not expect to repay the outstanding debt in the next twelve-month period. The Revolving Line of Credit requires quarterly payments of interest and matures on November 21, 2018, but may be prepaid in whole or part at any time. Amounts borrowed under the Revolving Line of Credit and Term Loan will bear, at the Company's election, a variable interest at LIBOR plus 2.5% - 3.5% or Lender's Prime Rate plus 1.5% - 2.5% per year and we will pay a fee of 0.375% - 0.5% per year on any unused portion of the Revolving Line of Credit. As of December 31, 2016 and 2015, $1,969 and $2,625, respectively, was outstanding under the Term Loan. The Term Loan requires quarterly payments of interest and principal, amortizing fully over the four-year-term such that it is repaid in full on the maturity date of November 21, 2018, but may be prepaid in whole or part at any time. Repayment of amounts borrowed under the Credit Facility may be accelerated in the event that we are in violation of the representations, warranties and covenants made in the Credit Agreement, including certain financial covenants set forth therein, and under other specified default events including, but not limited to, non-payment or inability to pay debt, breach of cross default provisions, insolvency provisions, and change of control. Principal payments due under our Term Loan for fiscal years 2017 through 2018 is as follows:
Year |  | Principal Payments |
2017 |  | $ | 1,094 |
2018 |  |  | 875 |
​ | ​ | ​ | ​ | ​
|  | $ | 1,969 |
​ | ​ | ​ | ​ | ​
​ | ​ | ​ | ​ | ​
The Company is subject to customary financial and non-financial covenants, including a minimum quarterly consolidated leverage ratio, a maximum quarterly consolidated fixed charge coverage ratio, and monthly liquidity minimums. The Company was in compliance with all financial covenants as of December 31, 2016. The Company incurred $124 of additional debt issuance costs in February 2016 and $62 of additional debt issuance costs in August 2015. Debt issuance costs are amortized on a straight-line basis over the term of the Credit Facility. Amortization expense related to debt issuance costs are included in interest and other expense in the accompanying consolidated statements of operations for the years ended December 31, 2016 and 2015. Amortization and interest expense capitalized amounted to $823 for the year ended December 31, 2016. Amortization and interest expense recorded amounted to $309 for the year ended December 31, 2016. Amortization and interest expense capitalized amounted to $648 for the year ended December 31, 2015. Amortization and interest expense recorded amounted to $34 for the year ended December 31, 2014. Interest rates for our Credit Facility for the year ended December 31, 2016 ranged from 3.0% to 3.6%, and the interest rate was 3.3% at December 31, 2016. Amortization expense for our debt issuance costs for fiscal years 2017 through 2018 is as follows:
Year |  | Amortization Expense |
2017 |  | $ | 241 |
2018 |  |  | 216 |
​ | ​ | ​ | ​ | ​
|  | $ | 457 |
​ | ​ | ​ | ​ | ​
​ | ​ | ​ | ​ | ​
As of December 31, 2016 and 2015, the carrying amount reflected in the accompanying consolidated balance sheets for the current portion of long-term debt and long-term debt approximates fair value (Level 2) based on the variable nature of the interest rates and lack of significant change in our credit risk.

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 The entire disclosure for information about short-term and long-term debt arrangements, which includes amounts of borrowings under each line of credit, note payable, commercial paper issue, bonds indenture, debenture issue, own-share lending arrangements and any other contractual agreement to repay funds, and about the underlying arrangements, rationale for a classification as long-term, including repayment terms, interest rates, collateral provided, restrictions on use of assets and activities, whether or not in compliance with debt covenants, and other matters important to users of the financial statements, such as the effects of refinancing and noncompliance with debt covenants. + References Reference 1: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 505 -SubTopic 10 -Section 50 -Paragraph 3 -URI http://asc.fasb.org/extlink&oid=6928386&loc=d3e21475-112644 Reference 2: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 210 -SubTopic 10 -Section S99 -Paragraph 1 -Subparagraph (SX 210.5-02.19,20,22) -URI http://asc.fasb.org/extlink&oid=6877327&loc=d3e13212-122682 + Details
Name: | us-gaap_DebtDisclosureTextBlock
Namespace Prefix: | us-gaap_
Data Type: | nonnum:textBlockItemType
Balance Type: | na
Period Type: | duration