Consolidated Statements of Comprehensive Loss (Parenthetical) - USD ($)
$ in Thousands
12 Months Ended
Dec. 31, 2015
Dec. 31, 2014
Dec. 31, 2013
Cost of Revenue      
Cost and expenses with related parties $ 0 $ 405 $ 2,738
Sales and Marketing      
Cost and expenses with related parties $ 20,852 $ 19,443 $ 10,164