SUMMARY OF SIGNIFICANT ACCOUNTING POLICIES | SUMMARY OF SIGNIFICANT ACCOUNTING POLICIES Medidata Solutions, Inc., together with its consolidated subsidiaries, (collectively, the “Company”) is the leading global provider of cloud-based solutions for clinical research in life sciences, offering platform technology that transforms clinical development and increases the value of its customers' research investments. The Company was organized as a New York corporation in June 1999 and reincorporated as a Delaware corporation in May 2000. Basis of Presentation — The accompanying consolidated financial statements include the accounts of the Company prepared in conformity with accounting principles generally accepted in the United States of America (“U.S. GAAP”) and the rules and regulations of the Securities and Exchange Commission ("SEC"). All intercompany balances and transactions have been eliminated in consolidation. For purposes of these consolidated financial statements, the years ended December 31, 2015 , 2014 , and 2013 are referred to as 2015 , 2014 , and 2013 , respectively. Use of Estimates — The preparation of financial statements in conformity with U.S. GAAP requires management to make estimates and assumptions that affect the reported amounts of assets and liabilities, the disclosure of assets and liabilities at the date of the financial statements, and the reported amounts of revenues and expenses during the reporting period. Actual results may differ from those estimates. Revenue Recognition — The Company derives its revenues from two sources: (1) subscription revenues, which are comprised of subscription fees from customers accessing the Company's cloud-based solutions; and (2) professional services, such as training, implementation, consulting, interface creation, trial configuration, data testing, reporting, procedure documentation, and other customer-specific services. The Company recognizes revenues when all of the following conditions are satisfied: • persuasive evidence of an arrangement exists; • service has been delivered to the customer; • amount of the fees to be paid by the customer is fixed or determinable; and • collection of the fees is reasonably assured or probable. Subscription The Company derives its subscription revenues from multi-study and single-study arrangements that grant the customer the right to use its cloud-based solutions for a specified term. Multi-study arrangements grant the customer the right to manage a predetermined number of clinical trials simultaneously for a term typically ranging from one to five years. Single-study arrangements allow customers to use the Company’s solutions on a per trial basis. Revenues from subscription arrangements are recognized ratably over the term of the arrangement, beginning with the commencement of the arrangement term, which is generally aligned with the date the Company's cloud-based solutions are made available to the customer. The term of the arrangement includes optional renewal periods, if such renewal periods are likely to be exercised. Professional Services The Company also provides a range of professional services that its customers have the ability to utilize, including implementation, training, and strategic consulting. Professional services do not result in significant alterations to the underlying solutions. Revenues are recognized using a proportional performance method or as services are rendered. Professional services revenues include any reimbursements for out-of-pocket expenses incurred. The Company included $0.7 million of reimbursable out-of-pocket expenses in professional services revenues in each of the years ended 2015 , 2014 , and 2013 . Multiple-Element Arrangements The Company enters into multiple-element arrangements that combine a cloud-based technology subscription with various professional services. To qualify as a separate unit of accounting, the delivered item must have value to the customer on a standalone basis. The significant deliverables under the Company’s multiple-element arrangements are subscription and professional services. The Company has determined that its various cloud-based solutions have standalone value and considers them separate units of accounting. In determining whether each of its solutions has standalone value, the Company considered factors including the availability of similar solutions from other vendors, its fee structure based on inclusion and exclusion of the solution, and its marketing and delivery of the solution. The service components of the Company's subscriptions, including license, delivery, and support are combined and accounted for as a separate unit of accounting. The Company uses estimated selling price ("ESP") to determine the selling price for its subscriptions when sold in multiple-element arrangements, as the Company does not have vendor-specific objective evidence ("VSOE") for these subscriptions and third-party evidence ("TPE") is not a practical alternative due to differences in features and functionality as compared with other companies’ offerings. The Company also determined that the professional services have standalone value because those services are sold separately by other vendors. The Company uses ESP to determine the selling price for professional services when sold in multiple-element arrangements. Due to insufficient reliable pricing data, the Company is unable to establish VSOE. While other vendors offer similar services, they represent a small component of the vendor's total offerings. As a result, the Company is unable to reliably determine TPE on a standalone basis. The Company determines its single-point ESP for subscriptions and professional services as follows: • Subscription—the Company utilizes a pricing tool that provides price quotes for its subscription configurations. Any new and potential customer subscription arrangements must be priced through the utilization of the Company’s pricing tool. The Company has established an internal committee to monitor compliance and evaluate pricing data on a periodic basis. This evaluation includes the review of actual historical pricing data, market conditions consideration, and the review of pricing strategies and practices. Any necessary pricing modification made to the pricing tool is supported by the result of such evaluation. Accordingly, the Company’s ESP for subscriptions is obtained from this pricing tool. • Professional services—the Company evaluates internal historical professional services pricing data to determine average pricing rates by type of professional services rendered. These averages are utilized to determine ESP for professional services, and are reviewed and updated at least annually. The Company then allocates the arrangement consideration based on its relative ESP. Revenues for deliverables under subscriptions are recognized ratably over the term of the arrangement, beginning with the commencement of the arrangement term, which is generally aligned with the date the Company's cloud-based solutions are made available to the customer, assuming all other revenue recognition criteria are met. Revenues for deliverables under professional services are recognized using a proportional performance method or as services are rendered. As required by current accounting guidance, the Company continues to account for a small number of multiple-element arrangements entered into prior to 2011 as a combined single unit of accounting, which includes subscription and professional services, under the previous guidance until such arrangements expire. The related revenues are recognized ratably beginning with the commencement of the arrangement term, assuming all other remaining revenue recognition criteria are met. In addition, management’s estimate of fair value for professional services is used to derive a reasonable approximation for presenting subscription revenues and professional services revenues separately in its consolidated financial statements. Deferred Revenue Deferred revenue consists of billings or payments received in advance of revenue recognition and is recognized as the revenue recognition criteria are met. Amounts that have been invoiced are initially recorded in accounts receivable and deferred revenue. The Company invoices its customers in accordance with the terms of the underlying contract, usually in installments in advance of the related service period. Accordingly, the deferred revenue balance does not represent the total contract value of outstanding arrangements. Payment terms are typically net 30 to 45 days. Deferred revenue that is expected to be recognized during the subsequent 12-month period is recorded as current deferred revenue and the remaining portion as noncurrent deferred revenue. In some instances, a customer elects to renew its subscription arrangement prior to the original termination date of the arrangement. The renewed subscription agreement provides support for in-process clinical trials, and includes the right to use the Company's cloud-based solutions for initial clinical studies. As such, the unrecognized portion of the deferred revenue associated with the original arrangement is aggregated with the consideration received upon renewal and recognized as revenue over the renewed term of the subscription arrangement. This can affect timing and result in reclassification between current and noncurrent deferred revenue. Cost of Revenues — Cost of revenues primarily consists of costs related to delivering, maintaining and supporting the Company’s cloud-based platform and delivering professional services and support. These costs include salaries, benefits, bonuses and stock-based compensation for the Company’s data center and professional services staff. Cost of revenues also includes costs associated with the Company’s data center, including networking and related depreciation expense, as well as outside service provider costs, amortization expense, and general overhead. The Company allocates general overhead, such as applicable shared rent and utilities, to cost of revenues based on relative headcount. Software Development Costs — Costs incurred in the research and development of new software solutions and enhancements to existing software solutions are expensed as incurred . Internally developed software costs, if any, are capitalized when technological feasibility is reached, which is not until a working model is developed and the functionality is tested and determined to be compliant with all federal and international regulations. No internally developed software costs were capitalized during 2015 , 2014 , or 2013 . Stock-Based Compensation — The fair value of each stock option grant is estimated on the date of grant using the Black-Scholes pricing model. The Company uses stock price volatility of its publicly-traded stock as a basis for determining the expected volatility. As the Company does not have sufficient historical exercise data in the period since its stock began being publicly traded to provide a reasonable basis upon which to estimate the expected life of options, the Company uses the simplified method as allowed under SEC Staff Accounting Bulletin Topic 14 for estimating the expected life as all of its options qualify as "plain-vanilla" options. The risk-free interest rate is based on the United States ("U.S.") Treasury yield curve in effect at the time of the option grant with a maturity tied to the expected life of the options. No dividends are expected to be declared by the Company at this time. Compensation expense for stock options is recognized, net of estimated forfeitures, on a straight-line basis over the vesting period. The fair value of each nonvested restricted stock award ("RSA") or restricted stock unit ("RSU") is measured as if the RSA or RSU was vested and issued on the grant date. The related compensation expense is recognized, net of estimated forfeitures, on a straight-line basis over the vesting period. The fair value of each performance-based restricted stock unit ("PBRSU") whose vesting is dependent on the achievement of a market condition is estimated based upon the results of a Monte Carlo valuation model as of the grant date in accordance with accounting guidelines. Compensation expense related to PBRSUs with a market condition is recognized, net of estimated forfeitures, on a straight-line basis over the vesting period. The fair value of each PBRSU whose vesting is dependent on the satisfaction of a performance condition is measured as if the PBRSU was vested and issued on the grant date and adjusted in each reporting period for expected performance relative to the associated goals. Compensation expense related to PBRSUs with a performance condition is recognized when it is probable that the condition will be achieved, net of estimated forfeitures, on a straight-line basis over the vesting period. The compensation expense ultimately recognized will equal the grant date fair value per share multiplied by the number of shares for which the performance condition has been satisfied. The fair value of each employee stock purchase plan ("ESPP") share is estimated using the Black-Scholes pricing model. The Company uses stock price volatility of its publicly-traded stock as a basis for determining expected volatility. Management believes this is the best estimate of the expected volatility over the weighted-average expected life of the ESPP shares. The expected life of each ESPP share is equivalent to the time between the beginning of the offering period and the end of the related purchase period. The risk-free interest rate is based on the U.S. Treasury yield curve in effect at the beginning of the offering period with a maturity tied to the expected life of the ESPP share. No dividends are expected to be declared by the Company at this time. Compensation expense for ESPP shares is recognized, net of estimated forfeitures, on a straight-line basis over the term of the offering period. Income Taxes — The Company's income tax expenses, deferred tax assets and liabilities, and liabilities for unrecognized tax benefits reflect management's best assessment of estimated current and future taxes to be paid. The objective for accounting for income taxes is to recognize the amount of taxes payable or refundable for the current year and deferred tax assets and liabilities for future tax consequences of events that have been recognized in the financial statements. The Company recognizes the tax benefit from an uncertain tax position only if it is more likely than not that the tax position will be sustained on examination by taxing authorities, based on the technical merits of the position. The assumptions about future tax consequences require significant judgment and variations in the actual outcome of these consequences could materially impact the Company's results of operations. Deferred tax assets and liabilities are measured using enacted tax rates expected to apply to taxable income in the years in which those temporary differences are expected to be recovered or settled. The effect on deferred tax assets and liabilities of a change in tax rates is recognized in income in the period that includes the enactment date. Valuation allowances are recorded to reduce deferred tax assets when it is more likely than not that a tax benefit will not be realized. Cash and Cash Equivalents — The Company considers all money market accounts and other highly liquid investments purchased with original maturities of three months or less to be cash and cash equivalents. The fair value of cash and cash equivalents approximates the amounts shown on the consolidated financial statements. Marketable Securities — The Company classifies its fixed income marketable securities as available-for-sale based on its intentions with regard to these instruments. Accordingly, marketable securities are reported at fair value, with all unrealized holding gains and losses reflected in stockholders’ equity. If it is determined that an investment has an other-than-temporary decline in fair value, the Company recognizes the investment loss in other income (expense), net, in the consolidated statements of operations. The Company periodically evaluates its investments to determine if impairment charges are required. Accounts Receivable — Accounts receivable are recorded at original invoice amount less an allowance that management believes will be adequate to absorb estimated losses on uncollectible accounts. The allowance is based on an evaluation of the collectability of accounts receivable and prior bad debt experience. Accounts receivable are written off when deemed uncollectible. Unbilled receivables consist of revenue recognized in excess of billings, substantially all of which is expected to be billed and collected within one year. As of December 31, 2015 and 2014 , unbilled accounts receivable of $10.3 million and $8.9 million , respectively, were included in accounts receivable on the Company's consolidated balance sheets. In general, there is a direct relationship between the Company's accounts receivable balance and its transaction volume. Prepaid Commission Expense — For arrangements where revenue is recognized over the relevant contract period, the Company capitalizes related sales commissions that have been paid and recognizes these expenses over the period the related revenue is recognized. Commissions are generally payable to the Company’s sales representatives 25% at the time of booking and 75% at the time of invoicing. If a client terminates a contract, the Company recaptures the related unearned commissions. The Company expensed commissions of $13.7 million , $13.1 million , and $11.1 million in 2015 , 2014 , and 2013 , respectively, which are included within sales and marketing expense in the consolidated statements of operations. Prepaid commissions that will be recognized during the subsequent 12-month period are recorded as current prepaid commissions and the remaining portion included in other noncurrent assets. Restricted Cash — Restricted cash represents deposits made to fully collateralize certain standby letters of credit issued in connection with office lease arrangements. In addition to the $5.8 million and $5.1 million of restricted cash on the Company's consolidated balance sheets as of December 31, 2015 and 2014 , respectively, short-term restricted cash of $0.2 million was recorded in prepaid expenses and other current assets as of December 31, 2015 and 2014 . Furniture, Fixtures and Equipment — Furniture, fixtures and equipment consists of furniture, computers, other office equipment, purchased software for internal use, leasehold improvements, and construction in process recorded at cost. Depreciation is computed on the straight-line method over five years for furniture and fixtures, and over three to five years for computer equipment and software. Leasehold improvements are amortized on a straight-line basis over the shorter of the lease term or their estimated useful lives. Improvements are capitalized while expenditures for repairs and maintenance are charged to expense as incurred. Construction in progress is not amortized into depreciation expense until it is placed into service. Goodwill and Intangible Assets — The Company has generated goodwill and certain intangible assets from various acquisitions. Goodwill represents the excess of consideration paid over the fair value of net assets acquired in business combinations. The Company evaluates its goodwill for impairment using a two-step process that is performed at least annually on October 1 of each year, or whenever events or circumstances indicate that impairment may have occurred. (The relevant accounting guidance also provides for an optional step zero that permits an entity to assess qualitative factors as a means of determining whether it is necessary to perform the two-step goodwill impairment test described below, but the Company does not currently utilize this option.) • The first step is a comparison of the fair value of the Company's single reporting unit with its carrying amount, including goodwill. If the fair value the reporting unit exceeds its carrying value, goodwill is not considered to be impaired and the second step is unnecessary. • If the carrying value of the reporting unit exceeds its fair value, a second test is performed to measure the amount of impairment by comparing the carrying amount of the goodwill to a determination of the implied value of the goodwill. The implied value of goodwill is determined as of the test date by performing a purchase price allocation, as if the reporting unit had just been acquired, using currently estimated fair values of the individual assets and liabilities of the reporting unit, together with an estimate of the fair value of the reporting unit taken as a whole. The estimate of the fair value of the reporting unit is based upon information available regarding the Company’s market capitalization, prices of similar groups of assets, or other valuation techniques including present value techniques based upon estimates of future cash flow. If the carrying amount of the goodwill is greater than its implied value, an impairment loss is recognized for the difference. The Company determined that there was no impairment of goodwill for the years ended December 31, 2015 , 2014 , and 2013 , and did not recognize any impairments of goodwill in prior years. Acquired intangible assets are recorded at cost, derived from allocation of the purchase price of the acquired business to the intangible assets obtained, less accumulated amortization. Amortization of acquired technology is computed using the straight-line method over its expected useful lives, which range from four to five years. Amortization of customer relationships and non-competition agreements is computed using an accelerated method over their expected useful lives, which range from five to six years, reflecting the pattern in which the economic benefits derived from the related intangible assets are consumed or utilized. Impairment of Long-Lived Assets — Long-lived assets are reviewed for impairment whenever events or changes in circumstances indicate that the carrying amount of such assets may be impaired. The Company subjects long-lived assets to a test of recoverability based on undiscounted cash flows expected to be generated by such assets while utilized by the Company and cash flows expected from disposition of such assets. If the assets are impaired, the impairment to be recognized is measured as the amount by which the carrying amount of the assets exceeds their fair value. The Company determined that there was no impairment of long-lived assets for the years ended December 31, 2015 , 2014 , and 2013 , and did not recognize any impairments of long-lived assets in prior years. Convertible Notes — The Company separately accounts for the debt and conversion option components of its convertible senior notes, which permit cash settlement, in a manner that reflects the Company's nonconvertible borrowing rate at the time of issuance. The principal amount of the convertible senior notes is recorded as a liability. The value of the conversion option, net of equity issue costs, is recorded in stockholders' equity, and the offsetting debt discount is amortized to interest expense using the effective interest method over the term of the convertible senior notes. Debt issuance costs have been capitalized and are amortized to interest expense over the term of the convertible senior notes on a straight-line basis, which approximates the effective interest method. Refer to Note 9 , "Debt," for further information. Treasury Stock — Shares of the Company’s common and preferred stock that are repurchased are recorded as treasury stock at cost and included as a component of stockholders’ equity. Refer to Note 3 , "Stockholders' Equity," for further information. Foreign Currency Translation — The reporting currency for the Company is the U.S. dollar. The functional currencies of the Company’s subsidiaries in the United Kingdom, Japan, Korea, Singapore, and China are the British pound sterling, Japanese yen, South Korean won, Singapore dollar, and Chinese yuan, respectively. Accordingly, the assets and liabilities of the Company’s foreign subsidiaries are translated into U.S. dollars using the exchange rate in effect at each balance sheet date. Revenue and expense accounts of the Company’s foreign subsidiaries are translated using an average rate of exchange during the period. Foreign currency translation adjustments are accumulated as a component of other comprehensive income (loss) as a separate component of stockholders’ equity. Gains and losses arising from transactions denominated in foreign currencies are recorded directly to the statement of operations. Foreign currency transaction gains (losses) are included in general and administrative expenses and were $(0.6) million in 2015 , $(1.1) million in 2014 , and $(0.5) million in 2013 . Fair Value of Financial Instruments — The carrying amounts of cash and cash equivalents, accounts receivable, accounts payable, and accrued liabilities approximate fair value because of the short maturity of these instruments. Fair values of marketable securities are based on unadjusted quoted market prices or pricing models using current market data that are observable either directly or indirectly. All methods of assessing fair value result in a general approximation of value, and such value may never actually be realized. The Company uses a three-level framework for measuring the fair value of its financial assets and liabilities and gives highest priority to Level 1 and lowest priority to Level 3 inputs, described as follows: Level 1 - Unadjusted quoted prices in active markets for identical assets or liabilities that the Company has the ability to access at the measurement date. Level 2 - Other than quoted prices included within Level 1 that are observable for the asset or liability, either directly or indirectly, including: • quoted prices for similar assets or liabilities in active markets; • quoted prices for identical or similar assets or liabilities in markets that are not active; • inputs other than quoted prices that are observable for the asset or liability; and • inputs that are derived principally from or corroborated by observable market data by correlation or other means. If the asset or liability has a specified (contractual) term, the Level 2 inputs must be observable for substantially the full term of the asset or liability. Level 3 - Unobservable inputs to the valuation methodology that are significant to the fair value measurement for the asset or liability. Concentration of Credit Risk — Financial instruments that potentially subject the Company to concentrations of credit risk consist primarily of cash and cash equivalents, marketable securities, and accounts receivable. The Company has policies that limit the amount of credit exposure to any one issuer. The Company performs ongoing credit evaluations of its customers and maintains an allowance for potential losses, but does not require collateral or other security to support customers’ receivables. The Company’s credit risk is further mitigated because its customer base is diversified both geographically and by industry sector. In 2015, 2014, and 2013, no single customer generated more than 10% of the Company's total revenues. At December 31, 2015 , one customer comprised 18% of accounts receivable; the substantial majority of that customer's year-end balance had been collected by the end of February 2016. No single customer comprised 10% or more of total accounts receivable at December 31, 2014 . The majority of the Company's cash, cash equivalents, and restricted cash are deposited with major U.S. financial institutions and, at times, balances with any one financial institution may be in excess of Federal Deposit Insurance Corporation ("FDIC") insurance limits. In addition, as of December 31, 2015 , approximately $3.0 million in cash and cash equivalents was deposited with foreign financial institutions and therefore not protected by FDIC insurance. Indemnifications — The Company indemnifies its customers against claims that cloud-based solutions or services made available by the Company infringe upon a copyright, patent, or the proprietary rights of others. In the event of a claim, the Company agrees to obtain the rights for continued use of the solutions for the customer, to replace or modify the solutions or services to avoid such claim, or to provide a credit to the customer for the unused portion of the subscription. A liability may be recognized if information prior to the issuance of the consolidated financial statements indicates that it is probable that a liability has been incurred at the balance sheet date and the amount of the loss can be reasonably estimated. No such liabilities were recorded as of December 31, 2015 and 2014 . Segment and Geographic Information — The Company operates as a single segment, as the chief operating decision maker reviews financial information that is presented on a consolidated basis, accompanied by information about revenue by geographic region. The Company recorded revenues in the following geographic areas in 2015 , 2014 , and 2013 (in thousands): 2015 2014 2013 Revenues: United States $ 297,735 $ 246,362 $ 197,785 Japan 31,595 31,672 32,595 Other 63,176 57,037 46,469 Total $ 392,506 $ 335,071 $ 276,849 Revenues by geographic area are presented based upon the country in which revenues were generated. No individual country other than the U.S. and Japan represented 5% or more of net revenues for any of the periods presented. The following table summarizes long-term assets by geographic area as of December 31, 2015 , 2014 , and 2013 (in thousands): 2015 2014 2013 Long-term assets: United States $ 292,700 $ 251,096 $ 254,453 United Kingdom 7,753 8,930 10,041 Japan 3,795 4,339 4,314 Korea 32 — — Total $ 304,280 $ 264,365 $ 268,808 The Company had no long-term assets in countries other than those listed above as of December 31, 2015 , 2014 , and 2013 . Recently Issued Accounting Pronouncements — In August 2014, the Financial Accounting Standards Board ("FASB") issued Accounting Standards Update ("ASU") No. 2014-15, Presentation of Financial Statements—Going Concern. This new guidance formally establishes management's responsibility to evaluate at each reporting period whether there is substantial doubt about the entity's ability to continue as a going concern for a period of one year after the date the financial statements are issued, and to provide related footnote disclosures. ASU No. 2014-15 is effective for annual reporting periods ending after December 15, 2016, and for interim and annual periods thereafter. The Company will adopt ASU No. 2014-15 on January 1, 2016, and the adoption is not expected to have a material impact on the Company's consolidated financial statements. In April 2015, the FASB issued ASU No. 2015-03, Simplifying the Presentation of Debt Issuance Costs . ASU No. 2015-03 requires that debt issuance costs be presented not as an asset but as a reduction of the carrying amount of the related debt liability, similar to a debt discount. ASU No. 2015-03 is effective for annual periods beginning after December 15, 2015, and interim periods within those annual periods, with early adoption permitted. The Company will adopt ASU No. 2015-03 on January 1, 2016, and such adoption is not expected to have a material impact on its consolidated financial statements aside from a balance sheet reclassification. Upon adoption, the Company will apply the new guidance on a retrospective basis and adjust the balance sheet of each period presented to appropriately reflect the period-specific effects of the new guidance. In April 2015, the FASB issued ASU No. 2015-05, Customer's Accounting for Fees Paid in a Cloud Computing Arrangement, which provides guidance on whether an entity should account for the fees paid as a customer under a cloud computing arrangement as a license of internal-use software or as a service contract. ASU No. 2015-05 is effective for annual periods beginning after December 15, 2015, and interim periods within those annual periods, with early adoption permitted. The Company will adopt ASU No. 2015-05 on January 1, 2016, and the adoption is not expected to have a material impact on its consolidated financial statements. In May 2015, the FASB issued ASU No. 2015-07, Disclosures for Investments in Certain Entities That Calculate Net Asset Value per Share (or Its Equivalen |