XML 16 R3.htm IDEA: XBRL DOCUMENT v3.10.0.1
CONSOLIDATED BALANCE SHEETS (Parenthetical) - USD ($)
$ in Thousands
Sep. 30, 2018
Dec. 31, 2017
Statement of Financial Position [Abstract]    
Allowance for doubtful accounts $ 2,832 $ 1,577
Redeemable convertible preferred stock, par value (in dollars per share)   $ 0.0001
Redeemable convertible preferred stock, shares authorized (in shares)   76,141,345
Redeemable convertible preferred stock, shares issued (in shares)   61,279,079
Redeemable convertible preferred stock, shares outstanding (in shares)   61,279,079
Liquidation preference   $ 120,047
Common stock, par value (in dollars per share) $ 0.0001 $ 0.0001
Common stock, shares authorized (in shares) 490,000,000 150,000,000
Common stock, shares issued (in shares) 106,454,321 33,740,323
Common stock, shares outstanding (in shares) 106,454,321 33,740,323