Quarterly report pursuant to Section 13 or 15(d)

Balance Sheet Components - Schedule of Accounts Payable and Accrued Expenses (Details)

v3.10.0.1
Balance Sheet Components - Schedule of Accounts Payable and Accrued Expenses (Details) - USD ($)
$ in Thousands
Jun. 30, 2018
Dec. 31, 2017
Payables And Accruals [Abstract]    
Accounts payable $ 17,823 $ 9,541
Accrued inventory (in-transit and unvouchered receipts) and trade payables 9,519 7,252
Accrued purchasing card liability 2,567 2,381
Accrued franchise, sales and use taxes 491 479
Other accrued expenses 774 973
Accounts payable and accrued expenses $ 31,174 $ 20,626