v3.10.0.1
Revenue - Schedule of Cumulative Effect of Changes Made to Consolidated Balance Sheet for Adoption of New Revenue Standard (Details) - USD ($)
$ in Thousands
Dec. 31, 2018
Jan. 01, 2018
Dec. 31, 2017
Assets      
Accounts receivables, net $ 183,078   $ 120,553
Inventories 35,585   32,740
Prepaid expenses and other current assets 15,374   11,367
Deferred cost of revenue, current portion 1,188   3,007
Deferred cost of revenue, non-current portion     5,403
Other non-current assets 3,939   3,429
Liabilities:      
Accounts payable and accrued liabilities     128,757
Deferred revenue, current portion 45,442 $ 42,950 34,501
Deferred revenue, non-current portion 19,594 12,023 48,511
Equity:      
Accumulated deficit (253,896)   $ (283,338)
Accounting Standards Update 2014-09      
Assets      
Accounts receivables, net   133,281  
Inventories   32,632  
Prepaid expenses and other current assets   15,480  
Deferred cost of revenue, current portion   1,931  
Deferred cost of revenue, non-current portion   1,518  
Other non-current assets   3,207  
Liabilities:      
Accounts payable and accrued liabilities   130,007  
Deferred revenue, current portion   42,950  
Deferred revenue, non-current portion   12,023  
Equity:      
Accumulated deficit   (244,999)  
Accounting Standards Update 2014-09 | Adjustment on Adoption of New Revenue Standard      
Assets      
Accounts receivables, net 20,366 12,728  
Inventories   (108)  
Prepaid expenses and other current assets 646 4,113  
Deferred cost of revenue, current portion (2,427) (1,076)  
Deferred cost of revenue, non-current portion (5,260) (3,885)  
Other non-current assets   (222)  
Liabilities:      
Accounts payable and accrued liabilities   1,250  
Deferred revenue, current portion (5,910) 8,449  
Deferred revenue, non-current portion (29,965) (36,488)  
Equity:      
Accumulated deficit $ 46,860 $ 38,339