XML 17 R6.htm IDEA: XBRL DOCUMENT v3.10.0.1
Statements of Cash Flows - USD ($)
$ in Thousands
9 Months Ended
Sep. 30, 2018
Sep. 30, 2017
Cash flows from operating activities    
Net loss $ (52,210) $ (45,853)
Adjustments to reconcile net loss to net cash used in operating activities    
Depreciation and amortization 2,368 1,420
Amortization of premium on marketable securities 68 2,148
Stock-based compensation 15,473 10,211
Abandonment of capitalized intangible assets 118 273
Loss (gain) on disposal of assets 110 (2)
Changes in operating assets and liabilities:    
Accounts receivable (1,320) 7,785
Interest receivable (624) (602)
Prepaid expenses and other assets (6,535) (3,971)
Accounts payable (886) 2,722
Accrued expenses 192 (2,056)
Income taxes (156) (65)
Deferred rent 466 359
Deferred revenue (20,039) 700
Net cash used in operating activities (62,975) (26,931)
Cash flows from investing activities    
Purchase of marketable securities (331,126) (49,203)
Purchase of intangible assets (1,302) (1,520)
Purchase of property and equipment (4,425) (3,832)
Proceeds from maturities of marketable securities 165,134 77,566
Repayment (issuance) of loan 86 (86)
Net cash provided by (used in) investing activities (171,633) 22,925
Cash flows from financing activities    
Proceeds from issuance of common stock upon exercise of stock awards 7,068 2,669
Proceeds from issuance of common stock under the Employee Stock Purchase Plan 504 443
Proceeds from issuance of common stock 260,245  
Common stock issuance costs (14,741)  
Net cash provided by financing activities 253,076 3,112
Net increase (decrease) in cash and cash equivalents 18,468 (894)
Cash and cash equivalents, beginning of period 16,528 14,528
Cash and cash equivalents, end of period 34,996 13,634
Cash paid during the period for:    
Interest 9 8
Taxes 170 790
Supplemental disclosures of non-cash investing activities    
Unrealized gain (loss) on marketable securities, net of tax $ (530) $ 344