Net loss per share attributable to common stockholders (Details) - USD ($) $ / shares in Units, shares in Thousands, $ in Thousands |
3 Months Ended | ||
|---|---|---|---|
Mar. 31, 2018 |
Mar. 31, 2017 |
Apr. 01, 2013 |
|
| Numerator: | |||
| Net loss attributable to common stockholders, basic and diluted | $ (3,229) | $ (6,880) | |
| Denominator: | |||
| Weighted average common stock, basic and diluted (in shares) | 41,330 | 38,712 | |
| Net loss per share attributable to common stockholders: | |||
| Basic and diluted (in dollars per share) | $ (0.08) | $ (0.18) | |
| Stock repurchase program | |||
| Remaining approved amount for repurchases | $ 5,180 | ||
| Maximum | |||
| Stock repurchase program | |||
| Amount of common stock approved by the entity for a stock repurchase program | $ 10,000 | ||