Quarterly financial data (unaudited) (Details) - USD ($) $ / shares in Units, $ in Thousands |
3 Months Ended | 12 Months Ended | |||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
Dec. 31, 2016 |
Sep. 30, 2016 |
Jun. 30, 2016 |
Mar. 31, 2016 |
Dec. 31, 2015 |
Sep. 30, 2015 |
Jun. 30, 2015 |
Mar. 31, 2015 |
Dec. 31, 2016 |
Dec. 31, 2015 |
Dec. 31, 2014 |
|
| Quarterly financial data (unaudited) | |||||||||||
| Revenue | $ 44,974 | $ 40,796 | $ 39,075 | $ 34,499 | $ 38,771 | $ 37,186 | $ 34,277 | $ 29,392 | $ 159,344 | $ 139,626 | $ 119,297 |
| Loss from operations | (4,074) | (5,387) | (6,969) | (9,667) | (3,504) | (4,759) | (5,765) | (7,603) | (26,097) | (21,631) | (18,026) |
| Net loss attributable to common stockholders | $ (4,372) | $ (5,709) | $ (7,266) | $ (9,984) | $ (3,654) | $ (4,819) | $ (5,937) | $ (7,882) | $ (27,331) | $ (22,292) | $ (19,521) |
| Basic and diluted loss per share (in dollars per share) | $ (0.11) | $ (0.15) | $ (0.19) | $ (0.27) | $ (0.10) | $ (0.13) | $ (0.16) | $ (0.22) | $ (0.72) | $ (0.60) | $ (0.55) |