Long-term Debt (Details) - USD ($) $ / shares in Units, $ in Thousands |
|
1 Months Ended |
|
|
Oct. 28, 2015 |
Jun. 30, 2014 |
Jan. 31, 2013 |
Jan. 31, 2014 |
Jan. 17, 2013 |
| Warrants |
|
|
|
|
|
| Warrants |
|
|
|
|
|
| Share price (in dollars per share) |
|
|
|
$ 14.671
|
|
| Term loan agreement |
|
|
|
|
|
| Long-term Debt |
|
|
|
|
|
| Face amount |
|
|
|
|
$ 15,000
|
| Interest rate (as a percent) |
|
|
|
|
8.40%
|
| Final payment |
|
|
|
|
$ 975
|
| Warrants |
|
|
|
|
|
| Settlement of term loan |
$ 24,539
|
|
|
|
|
| Outstanding debt obligations |
$ 0
|
|
|
|
|
| Term loan agreement | Warrants |
|
|
|
|
|
| Warrants |
|
|
|
|
|
| Term of warrants |
|
|
7 years
|
|
|
| Tranche A term loan |
|
|
|
|
|
| Long-term Debt |
|
|
|
|
|
| Face amount |
|
|
|
|
7,500
|
| Tranche A term loan | Warrants |
|
|
|
|
|
| Warrants |
|
|
|
|
|
| Value of common stock that can be purchased as a percentage of term loan |
|
|
3.00%
|
|
|
| Tranche B term loan |
|
|
|
|
|
| Long-term Debt |
|
|
|
|
|
| Face amount |
|
|
|
|
2,500
|
| Tranche B term loan | Warrants |
|
|
|
|
|
| Warrants |
|
|
|
|
|
| Value of common stock that can be purchased as a percentage of term loan |
|
|
3.00%
|
|
|
| Tranche C term loan |
|
|
|
|
|
| Long-term Debt |
|
|
|
|
|
| Face amount |
|
|
|
|
$ 5,000
|
| Tranche C term loan | Warrants |
|
|
|
|
|
| Warrants |
|
|
|
|
|
| Value of common stock that can be purchased as a percentage of term loan |
|
|
3.00%
|
|
|
| Tranche D term loan |
|
|
|
|
|
| Long-term Debt |
|
|
|
|
|
| Face amount |
|
$ 10,000
|
|
|
|
| Interest rate (as a percent) |
|
8.40%
|
|
|
|
| Final payment |
|
$ 650
|
|
|
|
| Threshold amount of gross proceeds in IPO to determine extended interest period of debt instruments |
|
$ 50,000
|
|
|
|
| Tranche D term loan | Warrants |
|
|
|
|
|
| Warrants |
|
|
|
|
|
| Term of warrants |
|
7 years
|
|
|
|
| Value of common stock that can be purchased as a percentage of term loan |
|
2.50%
|
|
|
|