Quarterly report pursuant to Section 13 or 15(d)

Condensed Consolidated Statements of Cash Flows

v2.4.0.8
Condensed Consolidated Statements of Cash Flows (USD $)
In Thousands, unless otherwise specified
6 Months Ended
Jun. 30, 2014
Jun. 30, 2013
Operating activities    
Net loss $ (40,659) $ (45,588)
Adjustments to reconcile net loss to net cash used in operating activities    
Depreciation and amortization 7,109 4,535
Stock-based compensation 38,005 16,662
Amortization of premium on investments 1,380 80
Amortization of debt issuance costs 99 132
Changes in assets and liabilities    
Accounts receivable (13,195) (14,060)
Prepaid expenses and other assets (3,366) (10,602)
Accounts payable and accrued liabilities 1,095 14,038
Accrued royalties 6,145 3,750
Accrued compensation 10,748 421
Deferred revenue (19,887) 12,853
Reimbursement of cost of leasehold improvements 3,161 276
Net cash used in operating activities (9,365) (17,503)
Investing activities    
Purchases of property and equipment (16,311) (11,011)
Changes in restricted cash   (3,200)
Purchases of investments (194,122) (23,434)
Proceeds from maturities of investments 116,831 29,690
Payments related to acquisition   (400)
Net cash used in investing activities (93,602) (8,355)
Financing activities    
Proceeds from employee stock purchase plan 2,482  
Proceeds from issuance of common stock 12,562 6,086
Net cash provided by financing activities 15,044 6,086
Effect of exchange rate changes on cash and cash equivalents 16 (54)
Net decrease in cash and cash equivalents (87,907) (19,826)
Cash and cash equivalents at beginning of period 245,755 59,939
Cash and cash equivalents at end of period 157,848 40,113
Supplemental disclosures of cash flow information    
Cash paid during the period for interest 246 164
Purchases of property and equipment recorded in accounts payable and accrued liabilities $ 3,337 $ 1,783