XML 135 R27.htm IDEA: XBRL DOCUMENT v3.19.3.a.u2
Basis of Presentation and Summary of Significant Accounting Policies (Tables)
12 Months Ended
Dec. 31, 2019
Organization, Consolidation and Presentation of Financial Statements [Abstract]  
Cash, Cash Equivalents and Investments
The following table provides cash and cash equivalents, and short- and long-term investments within the Consolidated Balance Sheets as of the dates indicated (in thousands):
 
As of December 31,
 
2019
 
2018
Cash and cash equivalents
$
443,293

 
$
366,985

Short-term investments
373,959

 
257,302

Long-term investments
89,343

 

Total cash, cash equivalents, and short- and long-term investments
$
906,595

 
$
624,287


Schedule of Allowance Activity
The following table summarizes the allowance activity during the periods indicated (in thousands):
 
Year Ended  
December 31,
 
2019
 
2018
 
2017
Balance as of the beginning of period
$
4,720

 
$
2,687

 
$
1,999

Bad debt expense
10,963

 
4,124

 
2,497

Write-offs, net of recoveries and other adjustments
(10,650
)
 
(2,091
)
 
(1,809
)
Balance as of the end of period
$
5,033

 
$
4,720

 
$
2,687