XML 46 R36.htm IDEA: XBRL DOCUMENT v3.10.0.1
Financial Statement Components - Schedule of Cash and Cash Equivalents (Details)
$ in Thousands
Jun. 30, 2018
USD ($)
lender
Dec. 31, 2017
USD ($)
Jun. 30, 2017
USD ($)
Dec. 31, 2016
USD ($)
Cash and Cash Equivalents [Line Items]        
Cash and cash equivalents $ 166,162 $ 68,947 $ 57,149 $ 58,122
Revolving Credit Facility        
Cash and Cash Equivalents [Line Items]        
Unrestricted cash required to be deposited with lenders $ 25,000      
Number of lenders where compensating balance deposited | lender 2      
Cash        
Cash and Cash Equivalents [Line Items]        
Cash and cash equivalents $ 54,242 48,855    
Commercial paper        
Cash and Cash Equivalents [Line Items]        
Cash and cash equivalents 500 0    
Money market funds        
Cash and Cash Equivalents [Line Items]        
Cash and cash equivalents 75,765 20,092    
Certificates of deposit        
Cash and Cash Equivalents [Line Items]        
Cash and cash equivalents 498 0    
U.S. treasury        
Cash and Cash Equivalents [Line Items]        
Cash and cash equivalents $ 35,157 $ 0