XML 76 R63.htm IDEA: XBRL DOCUMENT v3.10.0.1
Prior-Period Financial Statements - Cash Flows (Details) - USD ($)
$ in Thousands
12 Months Ended
Dec. 31, 2018
Dec. 31, 2017
Dec. 31, 2016
Dec. 31, 2015
Cash flows from operating activities        
Net income (loss) $ (70,409) $ (38,486) $ 45,125  
Adjustments to reconcile net income (loss) to net cash provided by (used in) operating activities:        
Depreciation and amortization 3,251 2,030 1,466  
Amortization of premium on marketable securities (394) 2,845 2,037  
Stock-based compensation 20,548 13,651 7,848  
Abandonment of capitalized intangible assets 239 396 356  
Loss on disposal of assets 102 83    
Loss (gain) on sale of marketable securities available-for-sale 74   (5)  
Changes in operating assets and liabilities:        
Accounts receivable (9,045) 7,474 (8,572)  
Interest receivable (535) (307) (609)  
Prepaid expenses and other assets (4,769) (2,705) (1,700)  
Income tax receivable (84) (1,524)    
Other assets (46) (161) (40)  
Accounts payable (3,072) 2,989 (2,520)  
Accrued expenses 4,182 (1,212) 3,058  
Deferred rent 398 589 (89)  
Income taxes payable (157) 91 65  
Deferred revenue (20,039) (19,350) 48,818  
Net cash provided by (used in) operating activities (79,756) (33,597) 95,238  
Cash flows from investing activities        
Proceeds from sale and maturities of marketable securities available-for-sale 222,125 115,757 105,505  
Purchase of marketable securities (377,840) (76,529) (316,149)  
Purchase of intangible assets (1,935) (1,967) (1,502)  
Purchase of property and equipment (7,212) (5,311) (1,507)  
Proceeds from sale of property and equipment 9      
Repayment of loan 86 (86) (621)  
Net cash provided by (used in) investing activities (164,767) 31,864 (214,274)  
Cash flows from financing activities        
Proceeds from issuance of common stock upon exercise of stock awards 7,617 2,797 1,160  
Proceeds from issuance of common stock under the Employee Stock Purchase Plan 1,120 936 545  
Proceeds from issuance of common stock 260,245   126,546  
Common stock issuance costs (14,741)   (7,277)  
Net cash provided by financing activities 254,241 3,733 120,974  
Net increase in cash and cash equivalents 9,718 2,000 1,938 $ 1,938
Cash and cash equivalents, beginning of period 16,528 14,528 12,590  
Cash and cash equivalents, end of period 26,246 16,528 14,528 12,590
ASU 2014-09 | As Reported Before ASC Topic 606        
Cash flows from operating activities        
Net income (loss)   (48,925) 23,625  
Adjustments to reconcile net income (loss) to net cash provided by (used in) operating activities:        
Depreciation and amortization   2,030 1,466  
Amortization of premium on marketable securities   2,845 2,037  
Stock-based compensation   13,651 7,848  
Abandonment of capitalized intangible assets   396 356  
Loss on disposal of assets   83    
Loss (gain) on sale of marketable securities available-for-sale     (5)  
Changes in operating assets and liabilities:        
Accounts receivable   7,474 (8,572)  
Interest receivable   (293) (530)  
Prepaid expenses and other assets   (2,705) (1,700)  
Income tax receivable   (1,524)    
Other assets   (161) (40)  
Accounts payable   2,989 (2,520)  
Accrued expenses   (1,212) 3,058  
Deferred rent   589 (89)  
Income taxes payable   91 65  
Deferred revenue   (9,011) 69,618  
Net cash provided by (used in) operating activities   (33,683) 94,617  
Cash flows from investing activities        
Proceeds from sale and maturities of marketable securities available-for-sale   115,757 105,505  
Purchase of marketable securities   (76,529) (316,149)  
Purchase of intangible assets   (1,967) (1,502)  
Purchase of property and equipment   (5,311) (1,507)  
Net cash provided by (used in) investing activities   31,950 (213,653)  
Cash flows from financing activities        
Proceeds from issuance of common stock upon exercise of stock awards   2,797 1,160  
Proceeds from issuance of common stock under the Employee Stock Purchase Plan   936 545  
Proceeds from issuance of common stock     126,546  
Common stock issuance costs     (7,277)  
Net cash provided by financing activities   3,733 120,974  
Net increase in cash and cash equivalents   2,000   1,938
Cash and cash equivalents, beginning of period $ 16,528 14,528 12,590  
Cash and cash equivalents, end of period   16,528 14,528 $ 12,590
ASU 2014-09 | Effect of Adoption of ASC Topic 606        
Cash flows from operating activities        
Net income (loss)   10,439 21,500  
Changes in operating assets and liabilities:        
Interest receivable   (14) (79)  
Deferred revenue   (10,339) (20,800)  
Net cash provided by (used in) operating activities   86 621  
Cash flows from investing activities        
Repayment of loan   (86) (621)  
Net cash provided by (used in) investing activities   $ (86) $ (621)