Annual report pursuant to Section 13 and 15(d)

Consolidated Balance Sheets (Parenthetical)

v3.8.0.1
Consolidated Balance Sheets (Parenthetical) - USD ($)
Dec. 31, 2017
Dec. 31, 2016
Statement of Financial Position [Abstract]    
Accounts receivable, allowance $ 5,352,000 $ 3,633,000
Redeemable convertible preferred stock, par value (usd per share) $ 0.0001  
Redeemable convertible preferred stock, shares authorized 10,000,000  
Redeemable convertible preferred stock, shares issued 480,000  
Redeemable convertible preferred stock, shares outstanding 480,000  
Redeemable convertible preferred stock, liquidation preference $ 1,000  
Common stock, par value (usd per share) $ 0.0001 $ 0.0001
Common stock, shares authorized 1,000,000,000 1,000,000,000
Common stock, shares issued 250,867,462 235,162,757
Common stock, shares outstanding 250,867,462 235,162,757