XML 13 R3.htm IDEA: XBRL DOCUMENT v3.7.0.1
CONSOLIDATED BALANCE SHEETS (Unaudited) (Parenthetical) - USD ($)
$ in Thousands
Jun. 30, 2017
Dec. 31, 2016
Statement Of Financial Position [Abstract]    
Accounts receivable, allowance for doubtful accounts $ 11,629 $ 13,699
Property and equipment, accumulated depreciation $ 34,604 $ 27,102
Common stock, par value $ 0.001 $ 0.001
Common stock, shares authorized 250,000,000 250,000,000
Common stock, shares issued 79,340,374 78,571,158
Common stock, shares outstanding 79,340,374 78,571,158
Redeemable Convertible Preferred Stock, par value $ 0.001 $ 0.001
Redeemable Convertible Preferred Stock, shares authorized 50,000,000 50,000,000
Redeemable Convertible Preferred Stock, shares issued 6,600,000 6,600,000
Redeemable Convertible Preferred Stock, shares outstanding 6,600,000 6,600,000