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. Except to the extent updated or described below, the Company’s significant accounting policies as of June 30, 2018 are the same as those at December 31, 2017 , which are included in the Company’s Annual Report on Form 10-K for the fiscal year ended December 31, 2017 , filed with the Securities and Exchange Commission (“SEC”) on February 28, 2018 . Basis of Presentation — The accompanying interim condensed consolidated balance sheets as of June 30, 2018 and December 31, 2017 , the condensed consolidated statements of operations for the three and six months ended June 30, 2018 and 2017 , the condensed consolidated statements of comprehensive income for the three and six months ended June 30, 2018 and 2017 , and the condensed consolidated statements of cash flows for the six months ended June 30, 2018 and 2017 are unaudited and have been prepared in accordance with accounting principles generally accepted in the United States of America (“U.S. GAAP”) and applicable rules and regulations of the SEC for interim financial reporting. Accordingly, certain information and footnote disclosures have been condensed or omitted pursuant to SEC rules that would ordinarily be required by U.S. GAAP for complete financial statements. These unaudited interim condensed consolidated financial statements should be read in conjunction with the audited consolidated financial statements and accompanying notes thereto for the fiscal year ended December 31, 2017 included in the Company’s Annual Report on Form 10-K filed with the SEC on February 28, 2018 . The unaudited interim condensed consolidated financial statements have been prepared on the same basis as the audited consolidated financial statements and, in the opinion of management, reflect all adjustments consisting of normal recurring accruals considered necessary to present fairly the Company’s financial position as of June 30, 2018 , results of its operations for the three and six months ended June 30, 2018 and 2017 , comprehensive income for the three and six months ended June 30, 2018 and 2017 , and cash flows for the six months ended June 30, 2018 and 2017 . The results of operations for the three and six months ended June 30, 2018 are not necessarily indicative of the results that may be expected for the year ending December 31, 2018 . 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. This 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 June 30, 2018 and December 31, 2017 , unbilled accounts receivable of $11.8 million and $12.5 million , respectively, were included in accounts receivable on the Company's condensed consolidated balance sheets. In general, there is a direct relationship between the Company's accounts receivable balance and its transaction volume. Revenue Recognition — Revenues are recognized when control of the promised goods or services are transferred to a customer, in an amount that reflects the consideration that the Company expects to receive in exchange for those goods or services. The Company derives its revenues from two sources: (1) subscription revenues, which are comprised of subscription fees from customers utilizing 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 applies the following five steps in order to determine the appropriate amount of revenue to be recognized as it fulfills its obligations under each of its agreements: • identify the contract with a customer; • identify the performance obligations in the contract; • determine the transaction price; • allocate the transaction price to performance obligations in the contract; and • recognize revenue as the performance obligation is satisfied. For further information, see Note 2 , “Revenues,” to the condensed consolidated financial statements included in this Quarterly Report on Form 10-Q. Subscription The Company derives its subscription revenues from multi-study and single-study arrangements that grant the customer the right to utilize 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. Subscription services are transferred to customers over time. The Company uses the passage of time as its measurement method, as control of the services is simultaneously transferred to and used by the customer throughout the contractual term. As a result, revenue for subscription services is recognized ratably over the term of the agreement, which is generally aligned with the dates during which the customer has access to the Company’s cloud-based applications. Fees for subscription services are generally invoiced in advance installments and typically have payment terms of net 30 or net 45 days. Professional Services The Company also makes available a range of professional services, including implementation, enablement, training, and strategic consulting. Professional services do not result in significant alterations to the underlying solutions. Professional services engagements involving implementation and training tend to be shorter term in nature (expected durations of less than one year), while enablement and consulting type engagements are longer in term (expected durations of one to five years). Professional services are transferred to customers over time. For fixed price arrangements, the Company measures its progress in transferring services to a customer using a proportional performance method. The proportional performance method is reflective of the variable rates at which services are transferred to the customer, and results in recognition of revenue that is consistent with the services provided to date. For time and materials contracts, the Company recognizes revenue as services are rendered. Fees for professional services are generally invoiced either in milestone installments based on work performed or, for time and materials based arrangements, as services are rendered, and typically have payment terms of net 30 or net 45 days. Performance Obligations The Company enters into contracts that contain multiple distinct performance obligations, combining a cloud-based technology subscription with various professional services. The Company has determined that its subscriptions and professional services are distinct performance obligations because both can be and are sold by the Company on a standalone basis, and because other vendors sell similar technologies and services on a standalone basis. For each performance obligation identified, the Company estimates the standalone selling price, which represents the price at which the Company would sell the good or service separately. If the standalone selling price is not observable through past transactions, the Company estimates the standalone selling price, taking into account available information such as market conditions, review of historical pricing data, and internal pricing guidelines related to the performance obligations. The Company then allocates the transaction price among those obligations based on the estimation of standalone selling price. Transaction prices for the Company's contracts may include both fixed and variable consideration, but do not contain significant financing components or noncash consideration. Cost to Obtain and Fulfill a Contract The Company capitalizes commission expenses paid to internal sales personnel that are incremental to obtaining customer contracts. Costs related to nonrenewable contracts are deferred and amortized on a straight-line basis over the duration of the contractual term. Costs related to renewable contracts are deferred and amortized on a straight-line basis over a period equal to twice the contractual term, which the Company deems to be the expected period of benefit for these costs. In developing this estimate, the Company considered its historical renewal rates and customer retention rates, as well as technology development life cycles and other industry factors. The Company defers these costs in prepaid commission expense and other current assets, net of any long term portion included in other noncurrent assets in the Company's condensed consolidated balance sheets. These costs are periodically reviewed for impairment. Income Taxes — The Company’s interim period provision for income taxes is computed by using an estimate of the annual effective tax rate, adjusted for discrete items taken into account in the relevant period, if any. Each quarter, the annual effective income tax rate is recomputed and if there are material changes in the estimate, a cumulative adjustment is made. Recently Adopted Accounting Pronouncements — In May 2014, the Financial Accounting Standards Board ("FASB") issued Accounting Standards Update ("ASU") No. 2014-09, Revenue from Contracts with Customers , which supersedes the existing accounting standards for revenue recognition in Accounting Standards Codification ("ASC") 605, and provides principles for recognizing revenue for the transfer of promised goods or services to customers in an amount that reflects the consideration to which the entity expects to be entitled in exchange for those goods and services. ASU No. 2014-09 also creates a new subtopic under ASC 340, Other Assets and Deferred Costs , which discusses the deferral of incremental costs of obtaining a contract with a customer, including the period of amortization of such costs. The Company adopted ASU No. 2014-09 on January 1, 2018, using the full retrospective method. Refer to Note 2 , "Revenues," for related disclosures. The following tables summarize the impact of adoption of ASC 606 on the Company’s condensed consolidated statements of operations for the three and six months ended June 30, 2017 (in thousands, except per share data): Three Months Ended June 30, 2017 Six Months Ended June 30, 2017 As Reported Under ASC 605 Impact of ASC 606 Adoption As Adjusted As Reported Under ASC 605 Impact of ASC 606 Adoption As Adjusted Revenues Subscription $ 114,291 $ (1,387 ) $ 112,904 $ 221,361 $ (564 ) $ 220,797 Professional services 23,123 — 23,123 42,874 — 42,874 Total revenues 137,414 (1,387 ) 136,027 264,235 (564 ) 263,671 Operating costs and expenses Sales and marketing 32,784 (305 ) 32,479 62,893 (188 ) 62,705 Operating income 13,743 (1,082 ) 12,661 25,916 (376 ) 25,540 Provision for income taxes 2,438 (373 ) 2,065 1,937 (129 ) 1,808 Net income $ 8,250 $ (709 ) $ 7,541 $ 17,768 $ (247 ) $ 17,521 Earnings per share Basic $ 0.15 $ (0.02 ) $ 0.13 $ 0.32 $ (0.01 ) $ 0.31 Diluted $ 0.14 $ (0.01 ) $ 0.13 $ 0.30 $ — $ 0.30 The adoption has no cash flow impact. In January 2016, the FASB issued ASU No. 2016-01, Recognition and Measurement of Financial Assets and Financial Liabilities , which amends certain aspects of recognition, measurement, presentation, and disclosure of financial instruments. ASU No. 2016-01 is effective for annual reporting periods beginning after December 15, 2017, including interim periods within those annual periods. The Company adopted ASU No. 2016-01 on January 1, 2018, and the adoption did not have a material impact on its condensed consolidated financial statements. In August 2016, the FASB issued ASU No. 2016-15, Cash Flows - Classification of Certain Cash Receipts and Cash Payments , which addresses the diversity in practice around presentation of certain cash receipts and payments in the statement of cash flows. ASU No. 2016-15 is effective for annual periods beginning after December 15, 2017, and interim periods within those annual periods. The Company adopted ASU No. 2016-15 on January 1, 2018, and the adoption did not have a material impact on its condensed consolidated financial statements. In January 2017, the FASB issued ASU No. 2017-01, Clarifying the Definition of a Business , which provides a more specific definition of a business than was afforded under previous guidance. The definition of a business affects many areas of accounting, including acquisitions, disposals, goodwill, and consolidation. ASU No. 2017-01 is effective for annual periods beginning after December 15, 2017, including interim periods within those annual periods. The Company adopted ASU No. 2017-01 on January 1, 2018, and the adoption had no impact on its condensed consolidated financial statements. In May 2017, the FASB issued ASU No. 2017-09, Scope of Modification Accounting , which clarifies when a change in the terms or conditions of a share-based payment award should be accounted for as a modification. ASU No. 2017-09 is effective for annual periods beginning after December 15, 2017, including interim periods within those annual periods. The Company adopted ASU No. 2017-09 on January 1, 2018, and the adoption did not have a material impact on its condensed consolidated financial statements. In June 2018. the FASB issued ASU No. 2018-07, Improvements to Nonemployee Share-Based Payment Accounting, which simplifies several aspects of the accounting for nonemployee share-based payment transactions by expanding the scope of the stock-based compensation guidance in ASC 718 to include share-based payment transactions for acquiring goods and services from non-employees. ASU No. 2018-07 is effective for annual periods beginning after December 15, 2018, including interim periods within those annual periods. Early adoption is permitted, but entities may not adopt prior to adopting the new revenue recognition guidance in ASC 606. The Company early adopted ASU No. 2018-07 in the second quarter of 2018, and the adoption did not have a material impact on its consolidated financial statements. Recently Issued Accounting Pronouncements — There have been no changes in the expected dates of adoption or estimated effects on the Company's consolidated financial statements of recently issued accounting pronouncements from those disclosed in the Company’s Annual Report on Form 10-K, except as described below. In February 2016, the FASB issued ASU No. 2016-02, Leases , which replaces previous lease guidance in its entirety with ASC 842 and requires lessees to recognize lease assets and lease liabilities for those arrangements classified as operating leases under previous guidance, with the exception of leases with a term of twelve months or less. The new guidance also adds quantitative and qualitative disclosure requirements around leasing activities. ASU No. 2016-02 is effective for annual periods beginning after December 15, 2018, including interim periods within those annual periods. The Company will adopt ASU No. 2016-02 on January 1, 2019. The Company expects that this standard will have a material effect on its financial condition, with the most significant change relating to the recognition of new right-of-use assets and lease liabilities on its consolidated balance sheets for its facility operating leases. The Company estimates that the hypothetical balance sheet impact of recognizing these assets and liabilities would be approximately 5% of total assets and 10% of total liabilities as of June 30, 2018 , based on the present value of the remaining minimum rental payments under current leasing standards for existing operating leases. The final quantitative impact of the adoption of the new lease guidance is subject to change from these estimates, pending the completion of the Company's implementation in the first quarter of 2019. In February 2018, the FASB issued ASU No. 2018-02, Reclassification of Certain Tax Effects from Accumulated Other Comprehensive Income, which permits companies to reclassify disproportionate tax effects in accumulated other comprehensive income caused by the U.S. Tax Cuts and Jobs Act enacted in December 2017 to retained earnings. ASU No. 2018-02 is effective for annual reporting periods beginning after December 15, 2018, and interim periods within those annual periods. The Company will adopt ASU No. 2018-02 on January 1, 2019, and does not expect the adoption to have a material impact on its condensed consolidated financial statements. |