TWILIO INC, 10-K filed on 2/22/2017
Annual Report
Document and Entity Information (USD $)
In Millions, except Share data, unless otherwise specified
12 Months Ended
Dec. 31, 2016
Jun. 30, 2016
Jan. 31, 2017
Common Class A
Jan. 31, 2017
Common Class B
Entity Registrant Name
TWILIO INC 
 
 
 
Entity Central Index Key
0001447669 
 
 
 
Document Type
10-K 
 
 
 
Document Period End Date
Dec. 31, 2016 
 
 
 
Amendment Flag
false 
 
 
 
Current Fiscal Year End Date
--12-31 
 
 
 
Entity Well-known Seasoned Issuer
No 
 
 
 
Entity Voluntary Filers
No 
 
 
 
Entity Current Reporting Status
Yes 
 
 
 
Entity Filer Category
Non-accelerated Filer 
 
 
 
Entity Public Float
 
$ 422.4 
 
 
Entity Common Stock, Shares Outstanding
 
 
51,571,092 
35,962,651 
Document Fiscal Year Focus
2016 
 
 
 
Document Fiscal Period Focus
FY 
 
 
 
Consolidated Balance Sheets (USD $)
In Thousands, unless otherwise specified
Dec. 31, 2016
Dec. 31, 2015
Current assets:
 
 
Cash and cash equivalents
$ 305,665 
$ 108,835 
Accounts receivable, net
26,203 
19,094 
Prepaid expenses and other current assets
21,512 
8,546 
Total current assets
353,380 
136,475 
Restricted cash
7,445 
1,170 
Property and equipment, net
37,552 
14,058 
Intangible assets, net
10,268 
2,292 
Goodwill
3,565 
3,165 
Other long-term assets
484 
356 
Total assets
412,694 
157,516 
Current liabilities:
 
 
Accounts payable
4,174 
2,299 
Accrued expenses and other current liabilities
59,308 
31,998 
Deferred revenue
10,222 
6,146 
Total current liabilities
73,704 
40,443 
Other long-term liabilities
9,543 
448 
Total liabilities
83,247 
40,891 
Commitments and contingencies (Note 11)
   
   
Stockholders' equity:
 
 
Convertible preferred stock, $0.001 par value per share, issuable in Series A, B, C, D, E and T: Authorized shares none and 58,976,739 as of December 31, 2016 and 2015; Issued and outstanding shares none and 54,508,441 as of December 31, 2016 and 2015; aggregate liquidation preference of none and $241.6 million as of December 31, 2016 and 2015
 
239,911 
Common stock, $0.001 par value per share: Authorized shares 1,100,000,000 and 102,000,000 as of December 31, 2016 and 2015; Issued and outstanding shares 87,248,548 and 17,324,003 as of December 31, 2016 and 2015
87 
17 
Additional paid-in capital
516,090 
22,103 
Accumulated deficit
(186,730)
(145,406)
Total stockholders' equity
329,447 
116,625 
Total liabilities and stockholders' equity
$ 412,694 
$ 157,516 
Consolidated Balance Sheets (Parenthetical) (USD $)
In Thousands, except Share data, unless otherwise specified
Dec. 31, 2016
Dec. 31, 2015
Preferred Stock
 
 
Preferred stock, par value (in dollars per share)
$ 0.001 
$ 0.001 
Preferred stock, authorized (in shares)
58,976,739 
Preferred stock, issued (in shares)
54,508,441 
Preferred stock, outstanding (in shares)
54,508,441 
Preferred stock, aggregate liquidation preference (in dollars)
$ 0 
$ 241,566 
Common Stock
 
 
Common stock, par value (in dollars per share)
$ 0.001 
$ 0.001 
Common stock, authorized (in shares)
1,100,000,000 
102,000,000 
Common stock, issued (in shares)
87,248,548 
17,324,003 
Common stock, outstanding (in shares)
87,248,548 
17,324,003 
Series A Preferred Stock
 
 
Preferred Stock
 
 
Preferred stock, par value (in dollars per share)
$ 0.001 
$ 0.001 
Preferred stock, authorized (in shares)
 
13,173,240 
Preferred stock, issued (in shares)
 
13,076,491 
Preferred stock, outstanding (in shares)
 
13,076,491 
Preferred stock, aggregate liquidation preference (in dollars)
 
4,590 
Series B Preferred Stock
 
 
Preferred Stock
 
 
Preferred stock, par value (in dollars per share)
$ 0.001 
$ 0.001 
Preferred stock, authorized (in shares)
 
11,416,062 
Preferred stock, issued (in shares)
 
11,146,895 
Preferred stock, outstanding (in shares)
 
11,146,895 
Preferred stock, aggregate liquidation preference (in dollars)
 
11,717 
Series C Preferred Stock
 
 
Preferred Stock
 
 
Preferred stock, par value (in dollars per share)
$ 0.001 
$ 0.001 
Preferred stock, authorized (in shares)
 
8,452,864 
Preferred stock, issued (in shares)
 
8,452,864 
Preferred stock, outstanding (in shares)
 
8,452,864 
Preferred stock, aggregate liquidation preference (in dollars)
 
25,250 
Series D Preferred Stock
 
 
Preferred Stock
 
 
Preferred stock, par value (in dollars per share)
$ 0.001 
$ 0.001 
Preferred stock, authorized (in shares)
 
9,440,324 
Preferred stock, issued (in shares)
 
9,440,324 
Preferred stock, outstanding (in shares)
 
9,440,324 
Preferred stock, aggregate liquidation preference (in dollars)
 
70,000 
Series E Preferred Stock
 
 
Preferred Stock
 
 
Preferred stock, par value (in dollars per share)
$ 0.001 
$ 0.001 
Preferred stock, authorized (in shares)
 
11,494,249 
Preferred stock, issued (in shares)
 
11,494,249 
Preferred stock, outstanding (in shares)
 
11,494,249 
Preferred stock, aggregate liquidation preference (in dollars)
 
130,000 
Series T Preferred Stock
 
 
Preferred Stock
 
 
Preferred stock, par value (in dollars per share)
$ 0.001 
$ 0.001 
Preferred stock, authorized (in shares)
 
5,000,000 
Preferred stock, issued (in shares)
 
897,618 
Preferred stock, outstanding (in shares)
 
897,618 
Preferred stock, aggregate liquidation preference (in dollars)
 
$ 9 
Consolidated Statements of Operations (USD $)
In Thousands, except Share data, unless otherwise specified
12 Months Ended
Dec. 31, 2016
Dec. 31, 2015
Dec. 31, 2014
Consolidated Statements of Operations
 
 
 
Revenue
$ 277,335 
$ 166,919 
$ 88,846 
Cost of revenue
120,520 
74,454 
41,423 
Gross profit
156,815 
92,465 
47,423 
Operating expenses:
 
 
 
Research and development
77,926 
42,559 
21,824 
Sales and marketing
65,267 
49,308 
33,322 
General and administrative
51,077 
35,991 
18,960 
Charitable contribution
3,860 
 
 
Total operating expenses
198,130 
127,858 
74,106 
Loss from operations
(41,315)
(35,393)
(26,683)
Other income (expenses), net
317 
11 
(62)
Loss before provision for income taxes
(40,998)
(35,382)
(26,745)
Provision for income taxes
(326)
(122)
(13)
Net loss
(41,324)
(35,504)
(26,758)
Deemed dividend to investors in relation to tender offer
 
(3,392)
 
Net loss attributable to common stockholders
$ (41,324)
$ (38,896)
$ (26,758)
Net loss per share attributable to common stockholders, basic and diluted (in dollars per share)
$ (0.78)
$ (2.19)
$ (1.58)
Weighted-average shares used in computing net loss per share attributable to common stockholders, basic and diluted (in shares)
53,116,675 
17,746,526 
16,900,124 
Consolidated Statements of Stockholders' Equity (USD $)
In Thousands, except Share data, unless otherwise specified
IPO
Common Stock
Common Class A
USD ($)
IPO
Additional Paid-in Capital
USD ($)
IPO
Common Class A
IPO
USD ($)
Follow-on Public Offering
Common Stock
Common Class A
USD ($)
Follow-on Public Offering
Additional Paid-in Capital
USD ($)
Follow-on Public Offering
Common Class A
Follow-on Public Offering
USD ($)
Preferred Stock
Convertible Preferred Stock
USD ($)
Common Stock
Common Class A
USD ($)
Common Stock
Common Class B
USD ($)
Additional Paid-in Capital
USD ($)
Accumulated Deficit
USD ($)
Common Class B
Total
USD ($)
Beginning balance at Dec. 31, 2013
 
 
 
 
 
 
 
 
$ 111,691 
 
$ 17 
$ 3,868 
$ (62,676)
 
$ 52,900 
Beginning balance (in shares) at Dec. 31, 2013
 
 
 
 
 
 
 
 
42,482,490 
 
16,958,130 
 
 
 
 
Increase (Decrease) in Stockholders' Equity
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
Net loss
 
 
 
 
 
 
 
 
 
 
 
 
(26,758)
 
(26,758)
Exercise of vested stock options
 
 
 
 
 
 
 
 
 
 
 
590 
 
 
590 
Exercise of vested stock options (in shares)
 
 
 
 
 
 
 
 
 
 
487,821 
 
 
 
 
Vesting of early exercised stock options
 
 
 
 
 
 
 
 
 
 
 
191 
 
 
191 
Exercise of unvested stock options (in shares)
 
 
 
 
 
 
 
 
 
 
6,850 
 
 
 
 
Repurchase of unvested stock options (in shares)
 
 
 
 
 
 
 
 
 
 
(6,750)
 
 
 
 
Stock-based compensation
 
 
 
 
 
 
 
 
 
 
 
4,271 
 
 
4,271 
Ending balance at Dec. 31, 2014
 
 
 
 
 
 
 
 
111,691 
 
17 
8,920 
(89,434)
 
31,194 
Ending balance (in shares) at Dec. 31, 2014
 
 
 
 
 
 
 
 
42,482,490 
 
17,446,051 
 
 
 
 
Increase (Decrease) in Stockholders' Equity
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
Net loss
 
 
 
 
 
 
 
 
 
 
 
 
(35,504)
 
(35,504)
Issuance of stock
 
 
 
 
 
 
 
 
125,448 
 
 
 
 
 
125,448 
Issuance of stock (in shares)
 
 
 
 
 
 
 
 
11,494,249 
 
 
 
 
 
 
Exercise of vested stock options
 
 
 
 
 
 
 
 
 
 
3,126 
 
 
3,128 
Exercise of vested stock options (in shares)
 
 
 
 
 
 
 
 
 
 
1,696,318 
 
 
 
 
Vesting of early exercised stock options
 
 
 
 
 
 
 
 
 
 
 
201 
 
 
201 
Exercise of unvested stock options (in shares)
 
 
 
 
 
 
 
 
 
 
70,874 
 
 
 
 
Repurchase of shares in tender offer
 
 
 
 
 
 
 
 
(315)
 
(2)
 
(17,076)
 
(17,393)
Repurchase of shares in tender offer (in shares)
 
 
 
 
 
 
 
 
(365,916)
 
(1,869,156)
 
 
 
 
Deemed dividend in relation to tender offer
 
 
 
 
 
 
 
 
 
 
 
 
(3,392)
 
(3,392)
Repurchase of unvested stock options (in shares)
 
 
 
 
 
 
 
 
 
 
(20,084)
 
 
 
 
Issuance of Series T convertible preferred Stock in acquisition
 
 
 
 
 
 
 
 
3,087 
 
 
 
 
 
3,087 
Issuance of Series T convertible preferred Stock in acquisition (in shares)
 
 
 
 
 
 
 
 
897,618 
 
 
 
 
 
 
Stock-based compensation
 
 
 
 
 
 
 
 
 
 
 
9,856 
 
 
9,856 
Ending balance at Dec. 31, 2015
 
 
 
 
 
 
 
 
239,911 
 
17 
22,103 
(145,406)
 
116,625 
Ending balance (in shares) at Dec. 31, 2015
 
 
 
 
 
 
 
 
54,508,441 
 
17,324,003 
 
 
 
 
Increase (Decrease) in Stockholders' Equity
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
Net loss
 
 
 
 
 
 
 
 
 
 
 
 
(41,324)
 
(41,324)
Issuance of stock
12 
160,414 
 
160,426 
65,279 
 
65,281 
 
 
 
 
 
 
 
Issuance of stock (in shares)
11,500,000 
 
 
 
1,691,222 
 
 
 
 
 
 
 
 
 
 
Costs related to public offerings
 
 
 
(4,900)
 
 
 
(800)
 
 
 
(5,730)
 
 
(5,730)
Conversion of convertible preferred stock to common stock in connection with initial public offering
 
 
 
 
 
 
 
 
(239,911)
 
54 
239,857 
 
 
 
Conversion of convertible preferred stock to common stock in connection with initial public offering (in shares)
 
 
 
 
 
 
 
 
(54,508,411)
 
54,508,441 
 
 
 
 
Exercise of vested stock options
 
 
 
 
 
 
 
 
 
 
8,390 
 
 
8,392 
Exercise of vested stock options (in shares)
 
 
 
 
 
 
 
 
 
 
2,168,287 
 
 
 
 
Vesting of early exercised stock options
 
 
 
 
 
 
 
 
 
 
 
636 
 
 
636 
Vesting of restricted stock units (in shares)
 
 
 
 
 
 
 
 
 
19,178 
68,345 
 
 
 
 
Value of equity awards withheld for tax liability
 
 
 
 
 
 
 
 
 
 
 
(1,037)
 
 
(1,037)
Value of equity awards withheld for tax liability (in shares)
 
 
 
 
 
 
 
 
 
(1,578)
(27,036)
 
 
 
 
Exercise of unvested stock options (in shares)
 
 
 
 
 
 
 
 
 
 
126,365 
 
 
 
 
Conversion of shares of Class B common stock into shares of Class A common stock
 
 
 
 
 
 
 
 
 
37 
(37)
 
 
 
 
Conversion of shares of Class B common stock into shares of Class A common stock (in shares)
 
 
 
 
 
 
 
 
 
36,787,588 
(36,787,588)
 
 
 
 
Repurchase of unvested stock options (in shares)
 
 
 
 
 
 
 
 
 
 
(1,625)
 
 
 
 
Stock-based compensation
 
 
 
 
 
 
 
 
 
 
 
26,178 
 
 
26,178 
Escrow shares returned to the issuer (in shares)
 
 
 
 
 
 
 
 
 
 
(127,054)
 
 
 
 
Ending balance at Dec. 31, 2016
 
 
 
 
 
 
 
 
 
$ 51 
$ 36 
$ 516,090 
$ (186,730)
 
$ 329,447 
Ending balance (in shares) at Dec. 31, 2016
 
 
 
 
 
 
 
 
 
49,996,410 
37,252,138 
 
 
 
 
Consolidated Statements of Stockholders' Equity (Parenthetical) (Preferred Stock, Series E Preferred Stock, USD $)
In Millions, unless otherwise specified
12 Months Ended
Dec. 31, 2015
Preferred Stock |
Series E Preferred Stock
 
Consolidated Statements of Stockholders' Equity
 
Costs related to issuance of stock
$ 4.6 
Consolidated Statements of Cash Flows (USD $)
In Thousands, unless otherwise specified
12 Months Ended
Dec. 31, 2016
Dec. 31, 2015
Dec. 31, 2014
CASH FLOWS FROM OPERATING ACTIVITIES:
 
 
 
Net loss
$ (41,324)
$ (35,504)
$ (26,758)
Adjustments to reconcile net loss to net cash provided by (used in) operating activities:
 
 
 
Depreciation and amortization
8,315 
4,226 
1,756 
Stock-based compensation
24,225 
8,877 
3,978 
Provision for doubtful accounts
1,145 
705 
261 
Tax benefit related to acquisition
 
(108)
 
Write-off of internal use software
711 
113 
Loss on lease termination
94 
 
 
Changes in operating assets and liabilities:
 
 
 
Accounts receivable
(8,254)
(10,506)
(4,300)
Prepaid expenses and other current assets
(13,755)
(2,128)
(2,857)
Other long-term assets
(135)
(162)
283 
Accounts payable
1,714 
658 
1,227 
Accrued expenses and other current liabilities
24,182 
13,202 
7,332 
Deferred revenue
4,076 
1,974 
1,632 
Other long-term liabilities
9,097 
(109)
86 
Net cash provided by (used in) operating activities
10,091 
(18,762)
(17,360)
CASH FLOWS FROM INVESTING ACTIVITIES:
 
 
 
Increase in restricted cash
(7,439)
 
(170)
Capitalized software development costs
(11,527)
(8,409)
(3,604)
Purchases of property and equipment
(14,174)
(1,715)
(1,039)
Purchases of intangible assets
(785)
(494)
(527)
Acquisition, net of cash acquired
(8,500)
(1,761)
 
Net cash used in investing activities
(42,425)
(12,379)
(5,340)
CASH FLOWS FROM FINANCING ACTIVITIES:
 
 
 
Proceeds from the initial public offering, net of underwriting discounts
160,426 
 
 
Proceeds from the follow-on public offering, net of underwriting discounts
65,281 
 
 
Payments of costs related to public offerings
(4,606)
(694)
 
Net proceeds from issuance of convertible preferred stock
 
125,448 
 
Proceeds from exercises of vested options
8,392 
3,128 
590 
Proceeds from exercises of nonvested options
710 
277 
26 
Value of equity awards withheld for tax liabilities
(1,037)
 
 
Repurchases of common and preferred stock
(2)
(20,810)
(4)
Net cash provided by financing activities
229,164 
107,349 
612 
NET INCREASE (DECREASE) IN CASH AND CASH EQUIVALENTS
196,830 
76,208 
(22,088)
CASH AND CASH EQUIVALENTS-Beginning of year
108,835 
32,627 
54,715 
CASH AND CASH EQUIVALENTS-End of year
305,665 
108,835 
32,627 
Cash paid for income taxes
225 
46 
13 
NON-CASH INVESTING AND FINANCING ACTIVITIES:
 
 
 
Purchases of property, equipment and intangible assets, accrued but not paid
4,201 
97 
25 
Stock-based compensation capitalized in software development costs
1,953 
979 
293 
Vesting of early exercised options
636 
201 
191 
Series T convertible preferred stock issued as part of purchase price in the Authy acquisition
 
3,087 
 
Costs related to the public offerings, accrued but not paid
$ 430 
$ 1,265 
 
Organization and Description of Business
Organization and Description of Business

1. Organization and Description of Business

Twilio Inc. (the "Company") was incorporated in the state of Delaware on March 13, 2008. The Company provides a Cloud Communications Platform that enables developers to build, scale and operate communications within software applications through the cloud primarily as a pay-as-you-go service. The Company's product offerings fit three basic categories: Programmable Voice, Programmable Messaging and Programmable Video. The Company also provides use case products, such as a two-factor authentication solution.

The Company's headquarters are located in San Francisco, California and the Company has subsidiaries in the United Kingdom, Estonia, Ireland, Colombia, Germany, Hong Kong, Singapore, Bermuda and Spain.

Initial Public Offering

In June 2016, the Company completed an initial public offering ("IPO") in which the Company sold 11,500,000 shares of its newly authorized Class A common stock, which included 1,500,000 shares sold pursuant to the exercise by the underwriters of an option to purchase additional shares, at the public offering price of $15.00 per share. The Company received net proceeds of $155.5 million, after deducting underwriting discounts and offering expenses paid by the Company, from the sale of its shares in the IPO. Immediately prior to the completion of the IPO, all shares of common stock then outstanding were reclassified as shares of Class B common stock and all shares of convertible preferred stock then outstanding were converted into 54,508,441 shares of common stock on a one-to-one basis, and then reclassified as shares of Class B common stock. See Note 12 for further discussion of Class A and B common stock.

Follow-on Public Offering

In October 2016, the Company completed a follow-on public offering ("FPO") in which the Company sold 1,691,222 shares of its Class A common stock, which included 1,050,000 shares sold pursuant to the exercise by the underwriters of an option to purchase additional shares, at a public offering price of $40.00 per share. In addition, another 6,358,778 shares of the Company's Class A common stock were sold by the selling stockholders of the Company, which included 906,364 shares sold pursuant to the exercise of employee stock options by certain selling stockholders. The Company received aggregate proceeds of $64.4 million, after deducting underwriting discounts and offering expenses paid and payable by the Company. The Company did not receive any of the net proceeds from the sales of shares by the selling stockholders.

Summary of Significant Accounting Policies
Summary of Significant Accounting Policies

2. Summary of Significant Accounting Policies

(a)    Basis of Presentation

The Company's consolidated financial statements have been prepared in conformity with accounting principles generally accepted in the United States of America ("U.S. GAAP").

(b)    Principles of Consolidation

The consolidated financial statements include the Company and its wholly owned subsidiaries. All significant intercompany balances and transactions have been eliminated.

(c)    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 and disclosure of contingent assets and liabilities at the date of the financial statements and the reported amounts of revenues and expenses during the reporting period. These estimates are used for, but not limited to, revenue allowances and returns; valuation of the Company's stock-based awards; recoverability of long-lived and intangible assets; the capitalization and useful life of the Company's capitalized internal-use software; fair value of acquired intangible assets and goodwill; accruals and contingencies. Estimates are based on historical experience and on various assumptions that the Company believes are reasonable under current circumstances. However, future events are subject to change and best estimates and judgments may require further adjustments; therefore, actual results could differ materially from those estimates. Management periodically evaluates such estimates and they are adjusted prospectively based upon such periodic evaluation.

(d)    Concentration of Credit Risk

Financial instruments that potentially expose the Company to a concentration of credit risk consist primarily of cash, cash equivalents, restricted cash and accounts receivable. The Company maintains cash, cash equivalents and restricted cash with financial institutions that management believes are financially sound and have minimal credit risk exposure.

The Company sells its services to a wide variety of customers. If the financial condition or results of operations of any one of the large customers deteriorate substantially, operating results could be adversely affected. To reduce credit risk, management performs ongoing credit evaluations of the financial condition of significant customers. The Company does not require collateral from its credit customers and maintains reserves for estimated credit losses on customer accounts when considered necessary. Actual credit losses may differ from the Company's estimates. During the years ended December 31, 2016, one customer organization represented approximately 14% of the Company's total revenue. During the years ended December 31, 2015 and 2014, a different customer organization represented approximately 17% and 13%, respectively, of the Company's total revenue.

As of December 31, 2016, one customer organization represented approximately 16% of the Company's gross accounts receivable. As of December 31, 2015, two customer organizations represented approximately 11% each of the Company's gross accounts receivable.

(e)    Revenue Recognition

The Company derives its revenue primarily from usage-based fees earned from customers accessing the Company's enterprise cloud computing services invoiced or paid monthly. The Company also earns subscription fees from certain term-based contracts. The Company provides services to its customers under pay-as-you-go contracts and term-based contracts ranging in duration from one month to 48 months. Customers that pay via credit card are either billed in advance or as they use service. Larger customers are billed in arrears via invoices for services used. Certain customers have contracts that provide for a minimum monthly commitment and some customers have contracts that provide for a commitment that may be of a quarterly, annual or other specific durations.

The Company recognizes revenue from these transactions when all of the following criteria are satisfied:

 

there is persuasive evidence of an arrangement;

the service has been or is being provided to the customer;

the amount of the fees to be paid by the customer is fixed or determinable; and

collectability of the fees is reasonably assured.

Term-based contracts revenue is recognized on a straight-line basis over the contractual term of the arrangement beginning on the date that the service is made available to the customer, provided that all other revenue recognition criteria have been met. Usage-based fees are recognized as delivered.

The Company's arrangements do not contain general rights of return. However, credits may be issued to customers on a case-by-case basis. The contracts do not provide customers with the right to take possession of the software supporting the applications. Amounts that have been invoiced are recorded in accounts receivable and in revenue or deferred revenue, depending on whether the revenue recognition criteria have been met.

The reserve for sales credits was $0.5 million and $0.7 million as of December 31, 2016 and 2015, respectively, and is included in accounts receivable, net in the accompanying consolidated balance sheets. The reserve for sales credits is calculated based on historical trends and any specific risks identified in processing transactions. Changes in the reserve are recorded against revenue.

(f)    Cost of Revenue

Cost of revenue consists primarily of costs of communications services purchased from network service providers. Cost of revenue also includes fees to support the Company's cloud infrastructure, personnel costs, such as salaries and stock-based compensation for the customer care and support services employees, and non-personnel costs, such as amortization of capitalized internal-use software development costs.

(g)    Research and Development Expenses

Research and development expenses consist primarily of personnel costs, cloud infrastructure fees for staging and development, outsourced engineering services, amortization of capitalized internal-use software development costs and an allocation of general overhead expenses. The Company capitalizes the portion of its software development costs that meets the criteria for capitalization.

(h)    Internal-Use Software Development Costs

Certain costs of platform and other software applications developed for internal use are capitalized. The Company capitalizes qualifying internal-use software development costs that are incurred during the application development stage. Capitalization of costs begins when two criteria are met: (i) the preliminary project stage is completed and (ii) it is probable that the software will be completed and used for its intended function. Capitalization ceases when the software is substantially complete and ready for its intended use, including the completion of all significant testing. The Company also capitalizes costs related to specific upgrades and enhancements when it is probable the expenditures will result in additional functionality and expenses costs incurred for maintenance and minor upgrades and enhancements. Costs related to preliminary project activities and post-implementation operating activities are expensed as incurred.

Capitalized costs of platform and other software applications are included in property and equipment. These costs are amortized over the estimated useful life of the software on a straight-line basis over three years. Management evaluates the useful life of these assets on an annual basis and tests for impairment whenever events or changes in circumstances occur that could impact the recoverability of these assets. The amortization of costs related to the platform applications is included in cost of revenue, while the amortization of costs related to other software applications developed for internal use is included in research and development expenses.

(i)    Advertising Costs

Advertising costs are expensed as incurred and were $3.5 million, $2.9 million and $1.0 million in the years ended December 31, 2016, 2015 and 2014, respectively. Advertising costs are included in sales and marketing expenses in the accompanying consolidated statements of operations.

(j)    Stock-Based Compensation

All stock-based compensation to employees, including the purchase rights issued under the Company's 2016 Employee Stock Purchase Plan (the "ESPP"), is measured on the grant date based on the fair value of the awards on the date of grant. This cost is recognized as an expense following the ratable attribution method, over the requisite service period, for stock options, and the straight-line attribution method, over the offering period, for the purchase rights issued under the ESPP. The Company uses the Black-Scholes option pricing model to measure the fair value of its stock options and the purchase rights issued under the ESPP. The fair value of the restricted stock units is determined using the fair value of the Company's Class A common stock on the date of grant. Prior to adoption of ASU 2016-09, the stock-based compensation was recorded net of estimated forfeitures.

In March 2016, the Financial Accounting Standards Board ("FASB") issued Accounting Standards Update ("ASU") No. 2016-09, "Compensation—Stock Compensation (Topic 718): Improvements to Employee Share -Based Payment Accounting." This new guidance was intended to simplify several areas of accounting for stock-based compensation arrangements, including the income tax impact, classification on the statement of cash flows and forfeitures. This guidance is effective for fiscal years, and interim periods within those years, beginning after December 15, 2016, and early adoption is permitted. The Company early adopted this guidance in the quarter ended December 31, 2016. The new guidance allows entities to account for forfeitures as they occur. The Company elected to account for forfeitures as they occur and adopted this provision on a modified retrospective basis. The $0.1 million of cumulative prior years' impact as well as the impact on the first three quarters of 2016 of $75,000 was recognized as an increase to stock-based compensation during the quarter ended December 31, 2016, as the impact on prior periods was insignificant. Adoption of all other changes in the new guidance did not have a significant impact on the Company's consolidated financial statements. See Note 15 for additional detail on the impact from the tax-related provisions of this ASU.

Prior to the IPO, the fair value of the Company's common stock was determined by the estimated fair value of the Company's common stock at the time of grant. After the IPO, the Company uses the market closing price of its Class A common stock as reported on the New York Stock Exchange for the fair value.

Compensation expense for stock options granted to nonemployees is calculated using the Black-Scholes option pricing model and is recognized in expense over the service period. Compensation expense for nonemployee stock options subject to vesting is revalued at each reporting date until the stock options are vested.

The Black-Scholes option pricing model requires the use of highly subjective and complex assumptions, which determine the fair value of stock-based awards. These assumptions include:

 

Fair value of the common stock.  Prior to the Company's IPO, the board of directors considered numerous objective and subjective factors to determine the fair value of the Company's common stock at each meeting at which awards are approved. The factors included, but were not limited to: (i) contemporaneous valuations of the Company's common stock by an unrelated third party; (ii) the prices at which the Company sold shares of its convertible preferred stock to outside investors in arms-length transactions; (iii) the rights, preferences and privileges of the Company's convertible preferred stock relative to those of its common stock; (iv) the Company's results of operations, financial position and capital resources; (v) current business conditions and projections; (vi) the lack of marketability of the Company's common stock; (vii) the hiring of key personnel and the experience of management; (viii) the introduction of new products; (ix) the risk inherent in the development and expansion of the Company's products; (x) the Company's stage of development and material risks related to its business; (xi) the fact that the option grants involve illiquid securities in a private company; and (xii) the likelihood of achieving a liquidity event, such as an initial public offering or sale of the Company, in light of prevailing market conditions;

Expected term.  The expected term represents the period that the stock-based awards are expected to be outstanding. The Company uses the simplified calculation of expected term, as the Company does not have sufficient historical data to use any other method to estimate expected term;

Expected volatility.  The expected volatility is derived from an average of the historical volatilities of the common stock of several entities with characteristics similar to those of the Company, such as the size and operational and economic similarities to the Company's principal business operations;

Risk -free interest rate.  The risk-free interest rate is based on the U.S. Treasury yield curve in effect at the time of grant for zero coupon U.S. Treasury notes with maturities approximately equal the expected term of the stock-based awards; and

Expected dividend.  The expected dividend is assumed to be zero as the Company has never paid dividends and has no current plans to pay any dividends on its common stock.

If any of the assumptions used in the Black-Scholes model changes, stock-based compensation for future options may differ materially compared to that associated with previous grants.

(k)    Income Taxes

The Company accounts for income taxes in accordance with authoritative guidance which requires the use of the asset and liability approach. Deferred tax assets and liabilities are recognized for future tax consequences attributable to temporary differences between the financial statement carrying amounts of existing assets and liabilities and their respective tax bases, as well as net operating loss and tax credit carry-forwards. Deferred tax amounts are determined by using the enacted tax rates expected to be in effect when the 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. A valuation allowance reduces the deferred tax assets to the amount that is more likely than not to be realized.

The Company recognizes the effect of uncertain income tax positions only if those positions are more likely than not of being sustained. Recognized income tax positions are measured at the largest amount that is greater than 50% likely of being realized. Changes in recognition or measurement are reflected in the period in which the change in judgment occurs.

The Company records interest and penalties related to uncertain tax positions in the provision for income taxes in the consolidated statements of operations.

(l)    Foreign Currency Translation

The functional currency of the Company's foreign subsidiaries is the U.S. dollar. Accordingly, the subsidiaries remeasure monetary assets and liabilities at period-end exchange rates, while non-monetary items are remeasured at historical rates. Revenue and expense accounts are remeasured at the average exchange rate in effect during the year. Remeasurement adjustments are recognized in the consolidated statements of operations as other income or expense in the year of occurrence. Foreign currency transaction gains and losses were insignificant for all periods presented.

(m)    Comprehensive Loss

During the years ended December 31, 2016, 2015 and 2014, the Company did not have any other comprehensive income or loss, and therefore, the net loss and comprehensive loss was the same for all periods presented.

(n)    Net Loss Per Share Attributable to Common Stockholders

The Company calculates its basic and diluted net loss per share attributable to common stockholders in conformity with the two-class method required for companies with participating securities. All series of convertible preferred stock are considered to be participating securities as the holders of the preferred stock are entitled to receive a non-cumulative dividend on a pro rata pari passu basis in the event that a dividend is declared or paid on common stock. Shares of common stock issued upon early exercise of stock options that are subject to repurchase are also considered to be participating securities, because holders of such shares have non-forfeitable dividend rights in the event a dividend is declared or paid on common stock. Under the two-class method, in periods when the Company has net income, net income attributable to common stockholders is determined by allocating undistributed earnings, calculated as net income less current period convertible preferred stock non-cumulative dividends, between common stock and the convertible preferred stock. In computing diluted net income attributable to common stockholders, undistributed earnings are re-allocated to reflect the potential impact of dilutive securities. The Company's basic net loss per share attributable to common stockholders is calculated by dividing the net loss attributable to common stockholders by the weighted-average number of shares of common stock outstanding for the period. The diluted net loss per share attributable to common stockholders is computed by giving effect to all potential dilutive common stock equivalents outstanding for the period. The dilutive effect of these potential common shares is reflected in diluted earnings per share by application of the treasury stock method. For purposes of this calculation, convertible preferred stock, options to purchase common stock, unvested restricted stock units, common stock issued subject to future vesting, any shares of stock committed under the ESPP, any shares of stock held in escrow and any shares of stock reserved for future donations are considered common stock equivalents but have been excluded from the calculation of diluted net loss per share attributable to common stockholders as their effect is antidilutive.

Since the Company's IPO, Class A and Class B common stock are the only outstanding equity of the Company. The rights of the holders of Class A and Class B common stock are identical, except with respect to voting and conversion. Each share of Class A common stock is entitled to one vote per share and each share of Class B common stock is entitled to 10 votes per share. Shares of Class B common stock may be converted into Class A common stock at any time at the option of the stockholder on a one-for-one basis, and are automatically converted into Class A common stock upon sale or transfer, subject to certain limited exceptions. Shares of Class A common stock are not convertible.

(o)    Cash and Cash Equivalents

The Company considers all highly liquid investments with an original maturity of three months or less when purchased to be cash equivalents. Cash equivalents consist of funds deposited into money market funds. All credit and debit card transactions that process as of the last day of each month and settle within the first few days of the subsequent month are also classified as cash and cash equivalents as of the end of the month in which they were processed.

(p)    Restricted Cash

Restricted cash consists of cash deposited into a savings account with a financial institution as collateral for the Company's obligations under its facility leases of premises located in San Francisco, California. The facility lease for the Company's old office space expired in January 2017, as amended, and the facility lease for the Company's new office space expires in October 2024.

(q)    Accounts Receivable and Allowance for Doubtful Accounts

Accounts receivable are recorded net of the allowance for doubtful accounts and the reserve for sales credits. The allowance for doubtful accounts is estimated based on the Company's assessment of its ability to collect on customer accounts receivable. The Company regularly reviews the allowance by considering certain factors such as historical experience, credit quality, age of accounts receivable balances and other known conditions that may affect a customer's ability to pay. In cases where the Company is aware of circumstances that may impair a specific customer's ability to meet their financial obligations, a specific allowance is recorded against amounts due from the customer which reduces the net recognized receivable to the amount the Company reasonably believe will be collected. The Company writes-off accounts receivable against the allowance when a determination is made that the balance is uncollectible and collection of the receivable is no longer being actively pursued. The allowance for doubtful accounts was $1.1 million and $0.5 million as of December 31, 2016 and 2015, respectively.

(r)    Costs Related to the Public Offerings

Costs related to the public offerings, which consist of direct incremental legal, printing and accounting fees, are deferred until the offering is completed. Upon completion of the offering, these costs are offset against the offering proceeds within the consolidated statements of stockholders' equity. As of December 31, 2016, the Company recorded in its consolidated statement of stockholders' equity $5.7 million in total offering costs, of which $4.9 million and $0.8 million related to the IPO and the FPO, respectively.

As of December 31, 2015, the Company had $2.0 million of deferred offering costs that were recorded as prepaid expenses and other current assets in the accompanying consolidated balance sheet.

(s)    Property and Equipment

Property and equipment is stated at cost less accumulated depreciation and amortization. Depreciation is computed using the straight-line method over the estimated useful life of the related asset. Maintenance and repairs are charged to expenses as incurred.

The useful lives of property and equipment are as follows:

                                                                                                                                                                                    

Capitalized software development costs

 

3 years

Office equipment

 

3 years

Furniture and fixtures

 

5 years

Software

 

3 years

Leasehold improvements

 

Shorter of 5 years or remaining lease term

(t)    Intangible Assets

Intangible assets recorded by the Company are costs directly associated with securing legal registration of patents and trademarks, acquiring domain names and the fair value of identifiable intangible assets acquired in business combinations.

Intangible assets with determinable economic lives are carried at cost, less accumulated amortization. Amortization is computed over the estimated useful life of each asset on a straight-line basis. The Company determines the useful lives of identifiable intangible assets after considering the specific facts and circumstances related to each intangible asset. Factors the Company considers when determining useful lives include the contractual term of any agreement related to the asset, the historical performance of the asset, the Company's long-term strategy for using the asset, any laws or other local regulations which could impact the useful life of the asset and other economic factors, including competition and specific market conditions. Intangible assets without determinable economic lives are carried at cost, not amortized and reviewed for impairment at least annually.

The useful lives of the intangible assets are as follows:

                                                                                                                                                                                    

Developed technology

 

3 years

Customer relationship

 

5 years

Trade names

 

2 years

Patents

 

20 years

Trademarks

 

Indefinite

Domain names

 

Indefinite

(u)    Goodwill

Goodwill represents excess of the aggregate purchase price over the fair value of net identifiable assets acquired in a business combination. Goodwill is not amortized and is tested for impairment at least annually or whenever events or changes in circumstances indicate that the carrying value may not be recoverable. The Company has determined that it operates as one reporting unit and has selected November 30 as the date to perform its annual impairment test. In the valuation of goodwill, management must make assumptions regarding estimated future cash flows to be derived from the Company's business. If these estimates or their related assumptions change in the future, the Company may be required to record impairment for these assets. Management may first evaluate qualitative factors to assess if it is more likely than not that the fair value of a reporting unit is less than its carrying amount and to determine if a two-step impairment test is necessary. Management may choose to proceed directly to the two-step evaluation, bypassing the initial qualitative assessment. The first step of the impairment test involves comparing the fair value of the reporting unit to its net book value, including goodwill. If the net book value exceeds its fair value, then the Company would perform the second step of the goodwill impairment test to determine the amount of the impairment loss. The impairment loss would be calculated by comparing the implied fair value of the goodwill to its net book value. In calculating the implied fair value of goodwill, the fair value of the entity would be allocated to all of the other assets and liabilities based on their fair values. The excess of the fair value of the entity over the amount assigned to other assets and liabilities is the implied fair value of goodwill. An impairment loss would be recognized when the carrying amount of goodwill exceeds its implied fair value. No goodwill impairment charges have been recorded for any period presented.

(v)    Impairment of Long-Lived Assets

The Company evaluates long-lived assets, including property and equipment and intangible assets, for impairment whenever events or changes in circumstances indicate that the carrying amount of an asset may not be recoverable. Recoverability of assets held and used is measured by a comparison of the carrying amount of an asset or an asset group to estimated undiscounted future net cash flows expected to be generated by the asset or asset group. If such evaluation indicates that the carrying amount of the asset or the asset group is not recoverable, any impairment loss would be equal to the amount the carrying value exceeds the fair value. There was no impairment during the years ended December 31, 2016, 2015 and 2014. The value of the internally-developed software written-off due to abandonment was $0.7 million, $0.1 million and none in the years ended December 31, 2016, 2015 and 2014, respectively.

(w)    Deferred Revenue

Deferred revenue consists of cash deposits from customers to be applied against future usage and customer billings in advance of revenues being recognized from the Company's contracts. Deferred revenue is generally expected to be recognized during the succeeding 12-month period and is thus recorded as a current liability.

(x)    Business Combinations

The Company recognizes identifiable assets acquired and liabilities assumed at their acquisition date fair values. Goodwill is measured as the excess of the consideration transferred over the fair value of assets acquired and liabilities assumed on the acquisition date. While the Company uses its best estimates and assumptions as part of the purchase price allocation process to accurately value assets acquired and liabilities assumed, these estimates are inherently uncertain and subject to refinement. The authoritative guidance allows a measurement period of up to one year from the date of acquisition to make adjustments to the preliminary allocation of the purchase price. As a result, during the measurement period the Company may record adjustments to the fair values of assets acquired and liabilities assumed, with the corresponding offset to goodwill to the extent that it identifies adjustments to the preliminary purchase price allocation. Upon conclusion of the measurement period or final determination of the values of the assets acquired and liabilities assumed, whichever comes first, any subsequent adjustments will be recorded to the consolidated statement of operations.

(y)    Segment Information

The Company's Chief Executive Officer is the chief operating decision maker, who reviews the Company's financial information presented on a consolidated basis for purposes of allocating resources and evaluating the Company's financial performance. Accordingly, the Company has determined that it operates in a single reporting segment.

(z)    Fair Value of Financial Instruments

The Company records certain of its financial assets at fair value on a recurring basis. The Company's financial instruments, which include cash, cash equivalents, accounts receivable and accounts payable are recorded at their carrying amounts, which approximate their fair values due to their short-term nature. Restricted cash is long-term in nature. However, it consists of cash in a savings account, hence its carrying amount approximates its fair value. The accounting guidance for fair value provides a framework for measuring fair value, clarifies the definition of fair value, and expands disclosures regarding fair value measurements. Fair value is defined as the price that would be received to sell an asset or paid to transfer a liability (an exit price) in an orderly transaction between market participants at the reporting date. The accounting guidance establishes a three-tiered hierarchy, which prioritizes the inputs used in the valuation methodologies in measuring fair value as follows:

 

Level 1 Inputs: Unadjusted quoted prices in active markets for identical assets or liabilities accessible to the reporting entity at the measurement date.

Level 2 Inputs: Other than quoted prices included in Level 1 inputs that are observable for the asset or liability, either directly or indirectly, for substantially the full term of the asset or liability.

Level 3 Inputs: Unobservable inputs for the asset or liability used to measure fair value to the extent that observable inputs are not available, thereby allowing for situations in which there is little, if any, market activity for the asset or liability at measurement date.

A financial instrument's categorization within the valuation hierarchy is based upon the lowest level of input that is significant to the fair value measurement.

(aa)    Recent Accounting Pronouncements Not Yet Adopted

In January 2017, the FASB issued ASU 2017-04, "Simplifying the Test for Goodwill Impairment", which removes the second step of the goodwill impairment test that requires a hypothetical purchase price allocation. A goodwill impairment will now be the amount by which a reporting unit's carrying value exceeds its fair value, not to exceed the carrying amount of goodwill. This guidance is effective for interim and annual reporting periods beginning after December 15, 2019 and will be applied prospectively. Management does not expect the adoption of this guidance to have any impact on the Company's financial position, results of operations or cash flows.

In January 2017, the FASB issued ASU 2017-01, "Business Combinations (Topic 805) Clarifying the Definition of a Business", which amends the guidance of FASB Accounting Standards Codification Topic 805, "Business Combinations", adding guidance to assist entities with evaluating whether transactions should be accounted for as acquisitions or disposals of assets or businesses. The definition of a business affects many areas of accounting including acquisitions, disposals, goodwill, and consolidation. This guidance is effective for annual and interim periods beginning after December 15, 2017, and early adoption is permitted under certain circumstances. The Company will evaluate the impact of this guidance on its financial statements and related disclosures next time there is a potential business combination.

In November 2016, the FASB issued ASU 2016-18, "Restricted Cash", which requires a statement of cash flows to explain the change during the period in the total of cash, cash equivalents and amounts generally described as restricted cash and restricted cash equivalents when reconciling the beginning-of-period and end-of-period total amounts shown on the statement of cash flows. This guidance is effective for annual and interim periods beginning after December 15, 2017, and early adoption is permitted. The Company is evaluating the impact of this guidance on its consolidated financial statements and related disclosures.

In October 2016, the FASB issued ASU 2016-16, "Intra-Entity Transfers Other Than Inventory", which requires entities to recognize the income tax consequences of an intra-entity transfer of an asset other than inventory when the transfer occurs. This guidance is effective for annual and interim periods beginning after December 15, 2017, and early adoption is permitted. The Company is evaluating the impact of this guidance on its consolidated financial statements and related disclosures.

In June 2016, the FASB issued ASU No. 2016-13, "Financial Instruments—Credit Losses: Measurement of Credit Losses on Financial Instruments", which changes the impairment model for most financial assets. The new model uses a forward-looking expected loss method, which will generally result in earlier recognition of allowances for losses. This guidance is effective for annual and interim periods beginning after December 15, 2019 and early adoption is permitted for annual and interim periods beginning after December 15, 2018. The Company is evaluating the impact of this guidance on its consolidated financial statements and related disclosures.

In February 2016, the FASB issued ASU No. 2016-02, "Leases." The standard will affect all entities that lease assets and will require lessees to recognize a lease liability and a right-of-use asset for all leases (except for short-term leases that have a duration of less than one year) as of the date on which the lessor makes the underlying asset available to the lessee. For lessors, accounting for leases is substantially the same as in prior periods. This guidance is effective for fiscal years beginning after December 15, 2018, including interim periods within those fiscal years. Early adoption is permitted. For leases existing at, or entered into after, the beginning of the earliest comparative period presented in the financial statements, lessees and lessors must apply a modified retrospective transition approach. While the Company expects the adoption of this standard to result in an increase to its reported assets and liabilities, the Company has not yet determined the full impact that the adoption of this standard will have on its consolidated financial statements and related disclosures.

In May 2014, the FASB issued ASU 2014-09, "Revenue from Contracts with Customers". This new guidance will replace most existing U.S. GAAP guidance on this topic. The new revenue recognition standard provides a unified model to determine when and how revenue is recognized. The core principle is that a company should recognize revenue to depict the transfer of promised goods or services to customers in an amount that reflects the consideration for which the entity expects to be entitled in exchange for those goods or services. In August 2015, the FASB issued ASU 2015-14 which deferred, by one year, the effective date for the new revenue reporting standard for entities reporting under U.S. GAAP. In accordance with the deferral, this guidance will be effective for the Company beginning January 1, 2018 and can be applied either retrospectively to each period presented or as a cumulative-effect adjustment as of the date of adoption. Early adoption is permitted beginning January 1, 2017. In March 2016, the FASB issued ASU 2016-08, "Revenue from Contracts with Customers, Principal versus Agent Considerations (Reporting Revenue Gross versus Net)" clarifying the implementation guidance on principal versus agent considerations. Specifically, an entity is required to determine whether the nature of a promise is to provide the specified good or service itself (that is, the entity is a principal) or to arrange for the good or service to be provided to the customer by the other party (that is, the entity is an agent). The determination influences the timing and amount of revenue recognition. In April 2016, the FASB issued ASU 2016-10, "Revenue from Contracts with Customers, Identifying Performance Obligations and Licensing", clarifying the implementation guidance on identifying performance obligations and licensing. Specifically, the amendments reduce the cost and complexity of identifying promised goods or services and improve the guidance for determining whether promises are separately identifiable. The amendments also provide implementation guidance on determining whether an entity's promise to grant a license provides a customer with either a right to use the entity's intellectual property (which is satisfied at a point in time) or a right to access the entity's intellectual property (which is satisfied over time). In May 2016, the FASB issued ASU 2016-12 "Revenue from Contracts with Customers (Topic 606), Narrow-Scope Improvements and Practical Expedients", which amends the guidance on transition, collectability, noncash consideration and the presentation of sales and other similar taxes. ASU 2016-12 clarifies that, for a contract to be considered completed at transition, all (or substantially all) of the revenue must have been recognized under legacy GAAP. In addition, ASU 2016-12 clarifies how an entity should evaluate the collectability threshold and when an entity can recognize nonrefundable consideration received as revenue if an arrangement does not meet the standard's contract criteria. Finally, ASU 2016-20 makes minor corrections or minor improvements to the Codification that are not expected to have a significant effect on current accounting practice or create a significant administrative cost to most entities. The effective date and transition requirements for ASU 2016-08, ASU 2016-10, ASU 2016-12 and ASU 2016-20 are the same as the effective date and transition requirements for ASU 2014-09. The Company is currently evaluating the impact that these ASUs will have on its consolidated financial statements and related disclosures and expects to complete this evaluation in the first quarter of 2017. The Company anticipates disclosing its selected transition method in conjunction with the filing of its quarterly report on Form 10-Q for the quarter ending March 31, 2017.

 

Fair Value Measurements
Fair Value Measurements

3. Fair Value Measurements

The following table provides the assets measured at fair value on a recurring basis as of December 31, 2016 and 2015 (in thousands):

                                                                                                                                                                                    

 

 

 

 

As of December 31, 2016

 

 

 

Total Carrying
Value

 

 

 

Level I

 

Level 2

 

Level 3

 

Total

 

Financial Assets:

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

Money market funds (included in cash and cash equivalents)

 

$

274,135 

 

$

274,135 

 

$

 

$

 

$

274,135 

 

​  

​  

​  

​  

​  

​  

​  

​  

​  

​  

Total financial assets

 

$

274,135 

 

$

274,135 

 

$

 

$

 

$

274,135 

 

​  

​  

​  

​  

​  

​  

​  

​  

​  

​  

​  

​  

​  

​  

​  

​  

​  

​  

​  

​  

 

                                                                                                                                                                                    

 

 

 

 

As of December 31, 2015

 

 

 

Total Carrying
Value

 

 

 

Level 1

 

Level 2

 

Level 3

 

Total

 

Financial Assets:

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

Money market funds (included in cash and cash equivalents)

 

$

80,886 

 

$

80,886 

 

$

 

$

 

$

80,886 

 

​  

​  

​  

​  

​  

​  

​  

​  

​  

​  

Total financial assets

 

$

80,886 

 

$

80,886 

 

$

 

$

 

$

80,886 

 

​  

​  

​  

​  

​  

​  

​  

​  

​  

​  

​  

​  

​  

​  

​  

​  

​  

​  

​  

​  

There were no realized or unrealized losses for the years ended December 31, 2016, 2015 and 2014. There were no other-than-temporary impairments for these instruments as of December 31, 2016 and 2015.

Property and Equipment
Property and Equipment

4. Property and Equipment

Property and equipment consisted of the following (in thousands):

                                                                                                                                                                                    

 

 

As of December 31,

 

 

 

2016

 

2015

 

Capitalized software development costs

 

$

28,661

 

$

16,030

 

Leasehold improvements

 

 

14,063

 

 

568

 

Office equipment

 

 

5,729

 

 

2,662

 

Furniture and fixtures

 

 

1,576

 

 

393

 

Software

 

 

968

 

 

755

 

​  

​  

​  

​  

Total property and equipment

 

 

50,997

 

 

20,408

 

Less: accumulated depreciation and amortization

 

 

(13,445

)

 

(6,350

)

​  

​  

​  

​  

Total property and equipment, net

 

$

37,552

 

$

14,058

 

​  

​  

​  

​  

​  

​  

​  

​  

Depreciation and amortization expense was $7.4 million, $3.7 million and $1.7 million for the years ended December 31, 2016, 2015 and 2014, respectively.

The Company capitalized $13.5 million, $9.4 million and $3.9 million in software development costs in the years ended December 31, 2016, 2015 and 2014, respectively, of which $2.0 million, $1.0 million and $0.3 million, respectively, was stock-based compensation expense. Amortization of capitalized software development costs was $5.5 million, $2.8 million and $1.2 million in the years ended December 31, 2016, 2015 and 2014, respectively. The amortization expense was allocated as follows (in thousands):

                                                                                                                                                                                    

 

 

Year Ended December 31,

 

 

 

2016

 

2015

 

2014

 

Cost of revenue

 

$

3,304 

 

$

1,793 

 

$

783 

 

Research and development

 

 

2,182 

 

 

1,045 

 

 

415 

 

​  

​  

​  

​  

​  

​  

Total

 

$

5,486 

 

$

2,838 

 

$

1,198 

 

​  

​  

​  

​  

​  

​  

​  

​  

​  

​  

​  

​  

 

Business Combinations
Business Combinations

 

5. Business Combinations

Acquisition of Authy, Inc.

On February 23, 2015, the Company completed its acquisition of Authy, Inc. ("Authy"), a Delaware corporation with operations in Bogota, Colombia and San Francisco, California. Authy had developed a two-factor authentication online security solution. The Company's purchase price of $6.1 million for all of the outstanding shares of capital stock of Authy consisted of $3.0 million in cash and $3.1 million representing the fair value of 389,733 shares of the Company's Series T convertible preferred stock, of which 180,000 shares are held in escrow. This escrow was effective until the first anniversary of the closing date, and has continued beyond that date as a result of certain circumstances. As of December 31, 2016, the Company has not released any shares out of the escrow. Additionally, the Company issued 507,885 shares of its Series T convertible preferred stock, which converted into shares of Class B common stock immediately prior to the closing of the IPO, to a former shareholder of Authy that had a fair value of $4.0 million and were subject to a service condition over a period of three years, as amended. In August 2016 the unvested shares were reduced by 127,054 shares due to the non-fulfillment of certain conditions of the merger agreement. In December 2016, all remaining unvested shares vested.

The acquisition was accounted for as a business combination and, accordingly, the total purchase price was allocated to the identifiable tangible and intangible assets acquired and the liabilities assumed based on their respective fair values on the acquisition date. The cost of shares subject to vesting and performance conditions was accounted for as a post-acquisition compensation expense and recorded as research and development expense in the accompanying consolidated statements of operations. The Company recorded $2.4 million and $0.6 million of stock-based compensation expense related to these shares in the years ended December 31, 2016 and 2015, respectively.

Authy's results of operations have been included in the consolidated financial statements of the Company from the date of acquisition.

This transaction was intended to qualify as a tax-free reorganization under Section 368(a) of the IRS Code.

The fair value of the Series T convertible preferred stock was determined by the board of directors of the Company with input from a third-party valuation consultant.

The following table presents the purchase price allocation recorded in the Company's consolidated balance sheet on the acquisition date (in thousands):

                                                                                                                                                                                    

 

 

Total

 

Net tangible assets(3)

 

$

1,217 

 

Goodwill(1)(3)

 

 

3,113 

 

Intangible assets(2)

 

 

1,760 

 

​  

​  

Total purchase price

 

$

6,090 

 

​  

​  

​  

​  

The Company acquired a net deferred tax liability of $0.1 million in this business combination.

 


(1)

Goodwill represents the excess of purchase price over the fair value of identifiable tangible and intangible assets acquired and liabilities assumed. The goodwill in this transaction is primarily attributable to the future cash flows to be realized from the acquired technology platform, existing customer base and the future development initiatives of the assembled workforce. None of the goodwill is deductible for tax purposes.

 

(2)

Identifiable finite-lived intangible assets were comprised of the following:

 

                                                                                                                                                                                    

 

 

Total

 

Estimated
life
(in years)

 

Developed technology

 

$

1,300 

 

 

 

Customer relationships

 

 

400 

 

 

 

Trade name

 

 

60 

 

 

 

​  

​  

Total intangible assets acquired

 

$

1,760 

 

 

 

 

​  

​  

​  

​  

 

 

(3)

As part of net tangible assets, the Company acquired $66,000 in accounts receivable subject to dispute resolution with a customer. The matter was resolved later in 2015 and $52,000 was deemed uncollectible immediately prior to the date of acquisition. The Company's adjustment of its initial purchase price allocation resulted in an increase to goodwill and decrease to net tangible assets of $52,000. After the adjustment, the purchase price allocation related to this acquisition became final. Goodwill balance as of December 31, 2015 was as follows:

 

                                                                                                                                                                                    

 

 

Total

 

Balance as of December 31, 2014

 

$

 

Goodwill recorded in connection with Authy acquisition

 

 

3,113 

 

Subsequent adjustment to purchase price allocation

 

 

52 

 

​  

​  

Balance as of December 31, 2015

 

$

3,165 

 

 

 

 

 

 

​  

​  

​  

​  

The estimated fair value of the intangible assets acquired was determined by the Company, and the Company considered or relied in part upon a valuation report of a third-party expert. The Company used an income approach to measure the fair values of the developed technology and trade names based on the relief-from-royalty method. The Company used an income approach to measure the fair value of the customer relationships based on the multi-period excess earnings method, whereby the fair value is estimated based upon the present value of cash flows that the applicable asset is expected to generate.

The Company incurred costs related to this acquisition of $1.5 million, of which $1.2 million and $0.3 million were incurred during the years ended December 31, 2015 and 2014, respectively. All acquisition related costs were expensed as incurred and have been recorded in general and administrative expenses in the accompanying consolidated statements of operations.

Pro forma results of operations for this acquisition have not been presented as the financial impact to the Company's consolidated financial statements is immaterial.

Acquisition of Certain Assets behind the Kurento Open Source Project

In November 2016, the Company acquired certain assets from Tikal Technologies S.L., a Spanish corporation, behind the Kurento Open Source Project. The acquired assets consisted of (a) proprietary WebRTC media processing technologies, (b) certain licenses, patents and trademarks and (c) certain employee relationships behind the WebRTC technology. The purchase price consisted of $8.5 million in cash, of which $1.5 million was placed into an escrow to indemnify the Company against breaches of general representations, warranties, claims and tax compliance matters. The escrow is effective for 24 months and 10 days from the acquisition date and may be extended under certain circumstances.

The acquisition was accounted for as business combination and, accordingly, the total purchase price was allocated to the identifiable intangibles assets acquired based on their respective fair values on the acquisition date. The excess of the purchase price over the fair values of the identifiable assets acquired was recorded as goodwill. The Company considered or relied in part upon a valuation report of a third-party expert.

The following table presents the purchase price allocation recorded in the Company's consolidated balance sheet on the acquisition date (in thousands):

                                                                                                                                                                                    

 

 

Total

 

Intangible assets(1)

 

$

8,100 

 

Goodwill(2)

 

 

400 

 

​  

​  

Total purchase price

 

$

8,500 

 

​  

​  

​  

​  


 

(1)The intangible assets consist of developed technology with the estimated useful life of 3 years on the date of acquisition.

(2)The goodwill in this transaction is primarily attributable to the future cash flows to be realized from the acquired technology and the future development initiatives of the acquired workforce. The goodwill is deductible for tax purposes.

The Company incurred cost related to this acquisition of $0.1 million that were expensed as incurred and have been recorded in general and administrative expenses in the accompanying consolidated statement of operations.

Goodwill and Intangible Assets
Goodwill and Intangible Assets

6. Goodwill and Intangible Assets

Goodwill

Goodwill balance as of December 31, 2016 and 2015 was as follows:

                                                                                                                                                                                    

Balance as of December 31, 2014

 

$

 

Goodwill recorded in connection with Authy acquisition

 

 

3,165 

 

​  

​  

Balance as of December 31, 2015

 

 

3,165 

 

Goodwill recorded in connection with Kurento acquisition

 

 

400 

 

​  

​  

Balance as of December 31, 2016

 

$

3,565 

 

Intangible assets

Intangible assets consisted of the following (in thousands):

                                                                                                                                                                                    

 

 

As of December 31, 2016

 

 

 

Gross

 

Accumulated
Amortization

 

Net

 

Amortizable intangible assets:

 

 

 

 

 

 

 

 

 

 

Developed technology

 

$

9,400

 

$

(1,140

)

$

8,260

 

Customer relationships

 

 

400

 

 

(148

)

 

252

 

Trade name

 

 

60

 

 

(56

)

 

4

 

Patent

 

 

1,512

 

 

(55

)

 

1,457

 

​  

​  

​  

​  

​  

​  

Total amortizable intangible assets

 

 

11,372

 

 

(1,399

)

 

9,973

 

​  

​  

​  

​  

​  

​  

Non-amortizable intangible assets:

 

 

 

 

 

 

 

 

 

 

Domain names

 

 

32

 

 

 

 

32

 

Trademarks

 

 

263

 

 

 

 

263

 

​  

​  

​  

​  

​  

​  

Total

 

$

11,667

 

$

(1,399

)

$

10,268

 

​  

​  

​  

​  

​  

​  

​  

​  

​  

​  

​  

​  

 

                                                                                                                                                                                    

 

 

As of December 31, 2015

 

 

 

Gross

 

Accumulated
Amortization

 

Net

 

Developed technology

 

$

1,300

 

$

(370

)

$

930

 

Customer relationships

 

 

400

 

 

(68

)

 

332

 

Trade name

 

 

60

 

 

(26

)

 

34

 

Patent

 

 

1,021

 

 

(25

)

 

996

 

​  

​  

​  

​  

​  

​  

Total

 

$

2,781

 

$

(489

)

$

2,292

 

​  

​  

​  

​  

​  

​  

​  

​  

​  

​  

​  

​  

Amortization expense was $0.9 million, $0.5 million and $17,000 for the years ended December 31, 2016, 2015 and 2014, respectively.

Total estimated future amortization expense was as follows (in thousands):

                                                                                                                                                                                    

 

 

As of
December 31,
2016

 

2017

 

$

3,263 

 

2018

 

 

2,890 

 

2019

 

 

2,488 

 

2020

 

 

58 

 

2021

 

 

46 

 

Thereafter

 

 

1,228 

 

​  

​  

Total

 

$

9,973 

 

​  

​  

​  

​  

 

Accrued Expenses and Other Liabilities
Accrued Expenses and Other Liabilities

 

7. Accrued Expenses and Other Liabilities

Accrued expenses and other current liabilities consisted of the following (in thousands):

                                                                                                                                                                                    

 

 

As of
December 31,

 

 

 

2016

 

2015

 

Accrued payroll and related

 

$

7,497 

 

$

972 

 

Accrued bonus and commission

 

 

2,251 

 

 

1,832 

 

Accrued cost of revenue

 

 

8,741 

 

 

6,496 

 

Sales and other taxes payable

 

 

28,795 

 

 

17,634 

 

Deferred rent

 

 

1,250 

 

 

206 

 

Accrued other expense

 

 

10,774 

 

 

4,858 

 

​  

​  

​  

​  

Total accrued expenses and other current liabilities

 

$

59,308 

 

$

31,998 

 

​  

​  

​  

​  

​  

​  

​  

​  

Other long-term liabilities consisted of the following (in thousands):

                                                                                                                                                                                    

 

 

As of
December 31,

 

 

 

2016

 

2015

 

Deferred rent

 

$

9,387 

 

$

364 

 

Accrued other expense

 

 

156 

 

 

84 

 

​  

​  

​  

​  

Total other long-term liabilities

 

$

9,543 

 

$

448 

 

​  

​  

​  

​  

​  

​  

​  

​  

 

Supplemental Balance Sheet Information
Supplemental Balance Sheet Information

 

8. Supplemental Balance Sheet Information

A roll-forward of the Company's reserves for the years ended December 31, 2016, 2015 and 2014 is as follows (in thousands):

Allowance for doubtful accounts:

                                                                                                                                                                                    

 

 

Year Ended December 31,

 

 

 

2016

 

2015

 

2014

 

Balance, beginning of period

 

$

486

 

$

210

 

$

98

 

Additions

 

 

1,145

 

 

705

 

 

261

 

Write-offs

 

 

(555

)

 

(429

)

 

(149

)

​  

​  

​  

​  

​  

​  

Balance, end of period

 

$

1,076

 

$

486

 

$

210

 

​  

​  

​  

​  

​  

​  

​  

​  

​  

​  

​  

​  

Sales credit reserve:

                                                                                                                                                                                    

 

 

Year Ended December 31,

 

 

 

2016

 

2015

 

2014

 

Balance, beginning of period

 

$

714

 

$

312

 

$

30

 

Additions

 

 

1,348

 

 

1,210

 

 

683

 

Deductions against reserve

 

 

(1,518

)

 

(808

)

 

(401

)

​  

​  

​  

​  

​  

​  

Balance, end of period

 

$

544

 

$

714

 

$

312

 

​  

​  

​  

​  

​  

​  

​  

​  

​  

​  

​  

​  

 

Revenue by Geographic Area
Revenue by Geographic Area

 

9. Revenue by Geographic Area

Revenue by geographic area is based on the IP address at the time of registration. The following table sets forth revenue by geographic area (in thousands):

                                                                                                                                                                                    

 

 

Year Ended December 31,

 

 

 

2016

 

2015

 

2014

 

Revenue by geographic area:

 

 

 

 

 

 

 

 

 

 

United States

 

$

233,922 

 

$

143,145 

 

$

78,251 

 

International

 

 

43,413 

 

 

23,774 

 

 

10,595 

 

​  

​  

​  

​  

​  

​  

Total

 

$

277,335 

 

$

166,919 

 

$

88,846 

 

​  

​  

​  

​  

​  

​  

​  

​  

​  

​  

​  

​  

Percentage of revenue by geographic area:

 

 

 

 

 

 

 

 

 

 

United States

 

 

84 

%

 

86 

%

 

88 

%

International

 

 

16 

%

 

14 

%

 

12 

%

Long-lived assets outside the United States were insignificant.

Credit Facility
Credit Facility

10. Credit Facility

The Company entered into a $5.0 million revolving line of credit on January 15, 2013, which expired in January 2015 and was not renewed. The Company did not borrow against this line of credit.

Effective January 2015, the Company entered into a $15.0 million revolving credit agreement. Under this agreement, amounts available to be borrowed are based on the Company's prior month's monthly recurring revenue. Advances on the line of credit bear interest payable monthly at Wall Street Journal prime rate plus 1%. Borrowings are secured by substantially all of the Company's assets, with limited exceptions. If there are borrowings under the credit line, there are certain restrictive covenants with which the Company must comply. The credit facility expires in March 2017. As of December 31, 2016 and 2015, the total amount available to the Company to be borrowed was $15.0 million and the Company had no outstanding balance on this credit facility.

Commitments and Contingencies
Commitments and Contingencies

11. Commitments and Contingencies

(a)    Lease Commitments

The Company entered into various non-cancelable operating lease agreements for its facilities that expire over the next seven years. Certain operating leases contain provisions under which monthly rent escalates over time. When lease agreements contain escalating rent clauses or free rent periods, the Company recognizes rent expense on a straight-line basis over the term of the lease.

In January 2016, the Company entered into a lease agreement ("Lease"), as subsequently amended, for approximately 90,000 square feet of new office space at 375 Beale Street in San Francisco, California, that houses its principal executive office. This office space replaced the Company's existing principal office at 645 Harrison Street in San Francisco, California, for which the lease was terminated in January 2017.

The term of the Lease is approximately 96 months following the commencement in October 2016, and the lease payments range from $0.4 million per month in the first 60 months to $0.5 million per month thereafter. Additionally, the Lease included a tenant improvement allowance, which provided for the landlord to pay for tenant improvements on behalf of the Company for up to $8.3 million. Of this amount, $2.6 million was collected in the fourth quarter of 2016. The corresponding asset and liability were recorded on the lease inception date in the current assets and current and long-term liabilities in the accompanying consolidated balance sheet. Based on the terms of this landlord incentive and involvement of the Company in the construction process, the leasehold improvements purchased under the landlord incentive were determined to be property of the Company. The Company secured its lease obligation with a $7.4 million letter of credit, which it designated as restricted cash on its balance sheet as of December 31, 2016. The Company began recording the lease expense on a straight-line basis in the second quarter of 2016.

Rent expense was $7.3 million, $4.1 million and $2.6 million for the years ended December 31, 2016, 2015 and 2014, respectively.

Additionally, the Company has contractual commitments with its cloud infrastructure provider, network service providers and other vendors that are non-cancellable and expire within one to five years.

Future minimum lease payments under non-cancelable operating leases were as follows (in thousands):

                                                                                                                                                                                    

Year Ending December 31:(1) 

 

As of
December 31,
2016

 

2017

 

$

7,534 

 

2018

 

 

6,979 

 

2019

 

 

7,165 

 

2020

 

 

7,037 

 

2021

 

 

7,033 

 

Thereafter

 

 

16,052 

 

​  

​  

Total minimum lease payments

 

$

51,800 

 

​  

​  

​  

​  


 

(1)The future minimum lease payments related to the 375 Beale Street lease do not include the tenant improvement allowance available under the lease.

Future minimum payments under other existing noncancellable purchase obligations were as follows (in thousands). Unrecognized tax benefits are not included in these amounts because any amounts expected to be settled in cash are not material:

                                                                                                                                                                                    

Year Ending December 31:

 

As of
December 31,
2016

 

2017

 

$

19,034 

 

2018

 

 

19,373 

 

2019

 

 

23,498 

 

2020

 

 

68 

 

2021

 

 

23 

 

​  

​  

Total payments

 

$

61,996 

 

​  

​  

​  

​  

(b)    Legal Matters

On April 30, 2015, Telesign Corporation, or Telesign, filed a lawsuit against the Company in the United States District Court, Central District of California ("Telesign I"). Telesign alleges that the Company is infringing three U.S. patents that it holds: U.S. Patent No. 8,462,920 ("'920"), U.S. Patent No. 8,687,038 ("'038") and U.S. Patent No. 7,945,034 ("'034"). The patent infringement allegations in the lawsuit relate to the Company's Programmable Authentication products, its two-factor authentication use case and an API tool to find information about a phone number. The Company has petitioned the U.S. Patent and Trademark Office for inter partes review of the patents at issue. On March 9, 2016, the District Court stayed the court case pending the resolution of those proceedings. On June 28, 2016, the Patent and Trademark Office instituted the inter partes review of the '034 patent, briefing on which has now begun, including Telesign's contingent motion to amend the '034 patent. On July 8, 2016, the Patent and Trademark Office denied the Company's petition for inter partes review of the '920 and '038 patents. The Company subsequently petitioned for rehearing on this decision, and the request for rehearing was fully briefed by both parties on October 11, 2016. On July 20, 2016, Telesign applied to the court to lift the stay on Telesign I. The Company opposed the request, and on September 15, 2016, the court denied the request to lift the stay on Telesign I. On November 15, 2016, the Patent and Trademark Office denied the Company's request for rehearing on the denied petitions for inter partes review. On December 20, 2016, the Company filed a reply to Telesign's opposition to the '034 inter partes review and simultaneously filed an opposition to Telesign's motion to amend the '034 patent. On January 23, 2017 Telesign filed its reply to the Company's opposition to the motion to amend. The hearing on the '034 inter partes review is scheduled for March 2017.

On March 28, 2016, Telesign filed a second lawsuit against the Company in the United States District Court, Central District of California ("Telesign II"), alleging infringement of U.S. Patent No. 9,300,792 ("'792") held by Telesign. The '792 patent is in the same patent family as the '920 and '038 patents asserted in Telesign I, and the infringement allegations in Telesign II relate to the Company's Programmable Authentication products and its two-factor authentication use case. On May 23, 2016, the Company moved to dismiss the complaint in Telesign II. On August 3, 2016, the United States District Court, Central District of California, issued an order granting Twilio's motion to dismiss Telesign's complaint with leave to amend. Telesign filed an amended complaint on September 2, 2016 and the Company moved to dismiss the amended complaint on September 16, 2016. On November 7, 2016, the Company's motion to dismiss was denied, and the Company filed its answer to the first amended complaint on November 21, 2016. With respect to each of the patents asserted in Telesign I and Telesign II, the complaints seek, among other things, to enjoin the Company from allegedly infringing the patents, along with damages for lost profits.

On December 1, 2016, the Company filed a patent infringement lawsuit against Telesign in the United States District Court, Northern District of California, alleging indirect infringement of Unites States Patent No. 8,306,021, United States Patent No. 8,837,465, United States Patent No. 8,755,376, United States Patent No. 8,736,051, United States Patent No. 8,737,962, United States Patent No. 9,270,833, and United States Patent No. 9,226,217. Telesign filed a motion to dismiss the complaint on January 25, 2017.

On February 18, 2016, a putative class action complaint was filed in the Alameda County Superior Court in California, entitled Angela Flowers v. Twilio Inc. The complaint alleges that the Company's products permit the interception, recording and disclosure of communications at a customer's request and are in violation of the California Invasion of Privacy Act. The complaint seeks injunctive relief as well as monetary damages. On May 27, 2016, the Company filed a demurrer to the complaint. On August 2, 2016, the court issued an order denying the demurrer in part and granted it in part, with leave to amend by August 18, 2016 to address any claims under California's Unfair Competition Law. The plaintiff opted not to amend the complaint. Discovery has already begun, and will continue until August 2017, when the plaintiff must file their motion for class certification.

The Company intends to vigorously defend these lawsuits and believes it has meritorious defenses to each. It is too early in these matters to reasonably predict the probability of the outcomes or to estimate ranges of possible losses.

In addition to the litigation matters discussed above, from time to time, the Company is a party to legal action and subject to claims that arise in the ordinary course of business. The claims are investigated as they arise and loss estimates are accrued, when probable and reasonably estimable. While it is not feasible to predict or determine the ultimate outcome of these matters, the Company believes that these legal proceedings will not have a material adverse effect on its financial position or results of operations.

(c)    Indemnification Agreements

The Company has signed indemnification agreements with all of its board members and executive officers. The agreements indemnify the board members and the executive officers from claims and expenses on actions brought against the individuals separately or jointly with the Company for certain indemnifiable events. Indemnifiable events generally mean any event or occurrence related to the fact that the board member or the executive officer was or is acting in his or her capacity as a board member or an executive officer for the Company or was or is acting or representing the interests of the Company.

In the ordinary course of business, the Company enters into contractual arrangements under which it agrees to provide indemnification of varying scope and terms to business partners and other parties with respect to certain matters, including, but not limited to, losses arising out of the breach of such agreements, intellectual property infringement claims made by third parties and other liabilities relating to or arising from the Company's various products, or its acts or omissions. In these circumstances, payment may be conditional on the other party making a claim pursuant to the procedures specified in the particular contract. Further, the Company's obligations under these agreements may be limited in terms of time and/or amount, and in some instances, the Company may have recourse against third parties for certain payments. The terms of such obligations may vary. As of December 31, 2016 and 2015, no amounts had been accrued.

(d)    Other Taxes

The Company conducts operations in many tax jurisdictions throughout the United States. In many of these jurisdictions, non-income-based taxes, such as sales and use and telecommunications taxes are assessed on the Company's operations. Historically, the Company has not billed or collected these taxes and, in accordance with U.S. GAAP, has recorded a provision for its tax exposure in these jurisdictions when it is both probable that a liability has been incurred and the amount of the exposure can be reasonably estimated. As a result, the Company recorded a liability of $28.8 million and $17.6 million as of December 31, 2016 and 2015, respectively. These estimates include several key assumptions including, but not limited to, the taxability of the Company's services, the jurisdictions in which its management believes it has nexus, and the sourcing of revenues to those jurisdictions. In the event these jurisdictions challenge management's assumptions and analysis, the actual exposure could differ materially from the current estimates.

Stockholders' Equity
Stockholders' Equity

12. Stockholders' Equity

(a)    Convertible Preferred Stock

As of December 31, 2015, the Company had outstanding Series A, B, C, D, E and T convertible preferred stock (individually referred to as "Series A, B, C, D, E or T" or collectively "Preferred Stock") as follows (in thousands, except share data).

Immediately prior to the completion of the IPO, all shares of convertible preferred stock then outstanding were automatically converted into 54,508,441 shares of common stock on a one-to-one basis, and then reclassified as shares of Class B common stock.

                                                                                                                                                                                    

 

 

As of December 31, 2015

 

 

 

Shares
Authorized

 

Shares Issued and
Outstanding

 

Aggregate
Liquidation
preference

 

Proceeds, Net
of Issuance
Costs

 

Series A

 

 

13,173,240 

 

 

13,076,491 

 

$

4,590 

 

$

4,592 

 

Series B

 

 

11,416,062 

 

 

11,146,895 

 

 

11,717 

 

 

11,658 

 

Series C

 

 

8,452,864 

 

 

8,452,864 

 

 

25,250 

 

 

25,196 

 

Series D

 

 

9,440,324 

 

 

9,440,324 

 

 

70,000 

 

 

69,930 

 

Series E

 

 

11,494,249 

 

 

11,494,249 

 

 

130,000 

 

 

125,448 

 

Series T

 

 

5,000,000 

 

 

897,618 

(1)

 

 

 

(2)

​  

​  

​  

​  

​  

​  

​  

​  

Total

 

 

58,976,739 

 

 

54,508,441 

 

$

241,566 

 

$

236,824 

 

​  

​  

​  

​  

​  

​  

​  

​  

​  

​  

​  

​  

​  

​  

​  

​  


 

(1)The outstanding shares include 687,885 shares held in escrow as of December 31, 2015 related to the Authy acquisition. Of these shares, 507,885 shares were subject to graded vesting over a period of three years, as amended, and had a fair value of $4.0 million. A total of 127,054 shares were subject to certain performance conditions and were returned to the issuer in the third quarter 2016 due to the non-fulfillment of certain conditions of the merger agreement. All remaining unvested shares vested in the fourth quarter of 2016.

(2)389,733 shares were issued as part of the purchase price for Authy acquisition and had a fair value of $3.1 million on the acquisition closing date.

 

The holders of the Company's Preferred Stock had the following rights, preferences and privileges:

Conversion

At any time following the date of issuance, each share of Preferred Stock is convertible, at the option of its holder, into the number of shares of common stock which results from dividing the applicable original issue price per share for each series by the applicable conversion price per share for such series, on the date of conversion. As of December 31, 2015, the initial conversion prices per share of all series of preferred stock were equal to the original issue prices of each series and therefore the conversion ratio was 1:1.

Each share of preferred stock shall be automatically converted into shares of common stock immediately upon the earlier of (i) the consummation of a firmly underwritten public offering pursuant to the Securities Act of 1933, as amended, the public offering price of which is not less than $50.0 million in aggregate; or (ii) the date specified by the written consent of holders of a majority of the outstanding shares of preferred stock, voting together as a class of shares on an as-converted basis. In addition, the conversion of each of the Series B, Series C, Series D and Series E preferred stock in connection with a Liquidation Event defined below requires the written consent of a majority of such series, if the proceeds payable to each of these series is less than the respective original issuance price.

A Liquidation Event includes (i) a sale, lease or other disposition of all or substantially all of the Company's assets, (ii) a merger or consolidation of the Company into another entity (except where the merger results in the holders of the Company's stock prior to merger continuing to hold at least 50% of the voting power of the capital stock of the Company or the surviving or acquiring entity), (iii) the transfer of the Company's securities to a person, or a group of affiliated persons, if, after such a transfer, such person or group of persons holds 50% or more of the outstanding voting stock of the Company, (iv) the grant of an exclusive, irrecoverable license to all or substantially all of the Company's intellectual property or (v) a liquidation, dissolution or winding up of the Company.

In the event the Company issues any additional stock, as defined in the Company's Certificate of Incorporation, after the preferred stock original issue date, without consideration or for a consideration per share less than the conversion price applicable to a series of preferred stock in effect immediately prior to such issuance, the conversion price for such series in effect immediately prior to each such issuance shall be adjusted according to a formula set forth in the Company's Certificate of Incorporation.

Voting

The holders of Preferred Stock and the holders of common stock vote together and not as separate classes, except in cases specifically provided for in the Certificate of Incorporation or as provided by law.

The holders of each share of Preferred Stock has the right to one vote for each share of common stock into which such Preferred Stock could be converted, and, with respect to such vote, holders of Preferred Stock have full voting rights and powers equal to the voting rights and powers of the holders of common stock, with the exception of voting for the election of directors referred to below.

As long as a majority of the shares of Series A preferred stock originally issued remain outstanding, the holders of such shares, voting as a separate class, shall be entitled to elect one director. As long as a majority of the shares of Series B preferred stock originally issued remain outstanding, the holders of such shares, voting as a separate class, shall be entitled to elect one director. As long as at least 2,000,000 shares of Series D preferred stock are outstanding, the holders of such shares, voting as a separate class, shall be entitled to elect one director. The holders of common stock, voting as a separate class, shall be entitled to elect two directors. The holders of shares of Preferred Stock and common stock, voting together as a single class on an as-converted basis, shall be entitled to elect the remaining directors of the Company.

Dividends

The holders of convertible preferred stock are entitled to receive, when and if declared by the board of directors, out of any assets legally available therefor, any dividends as may be declared from time to time by the board of directors. No dividend may be declared or paid on the common stock unless any and all such dividends are distributed among all holders of common stock and preferred stock on a pro rata pari passu basis in proportion to the number of shares of common stock that would be held by each such holder if all shares of preferred stock were converted to common stock at the effective conversion rate. The right to receive dividends on shares of preferred stock is non-cumulative. No dividends had been declared or paid by the Company as of December 31, 2015 and through the Company's IPO.

Liquidation Preference

In the event of any Liquidation Event of the Company, the holders of Series A, Series B, Series C, Series D and Series E preferred stock ("senior preferred stock") shall be entitled to receive, in preference to any distribution of the proceeds to the holders of Series T preferred stock or common stock, an amount per share equal to the sum of the applicable original issue price for each series of preferred stock (as adjusted for stock splits and combinations as described in the Certificate of Incorporation), plus declared but unpaid dividends on such share. Upon completion of this distribution, the holders of Series T preferred stock shall be entitled to receive in preference to any distribution of the proceeds to the holders of common stock an amount per share equal to the sum of the applicable original issue price for Series T preferred stock, plus declared but unpaid dividends on such share. If the proceeds thus distributed among the holders of the preferred stock are insufficient to permit payment to such holders of the full preferential amounts, then the entire proceeds available for distribution shall be distributed ratably first among the holders of the senior preferred stock in proportion to the full preferential amount that each holder is otherwise entitled to. The original issue price per share of Series A, Series B, Series C, Series D, Series E and Series T convertible preferred stock is equal to $0.35, $1.05, $2.99, $7.42, $11.31 and $0.01, respectively.

Upon completion of the distribution referred to above, all the remaining proceeds available for distribution shall be distributed to the holders of the Company's common stock pro rata based on the number of common stock held by each.

The Company classified the Preferred Stock within shareholders' equity since the shares are not redeemable, and the holders of the Preferred Stock cannot effect a deemed liquidation of the Company outside of the Company control.

(b)    Preferred Stock

As of December 31, 2016, the Company had authorized 100,000,000 shares of undesignated preferred stock, par value $0.001, of which no shares were issued and outstanding.

(c)    Common Stock

As of December 31, 2015, there were 17,324,003 shares of common stock issued and outstanding.

Immediately prior to the completion of the IPO, all shares of common stock then outstanding were reclassified to Class B common stock. Shares offered and sold in the IPO were the newly authorized shares of Class A common stock.

As of December 31, 2016, the Company had authorized 1,000,000,000 shares of Class A common stock and 100,000,000 shares of Class B common stock, each par value $0.001 per share, of which 49,996,410 shares of Class A common stock and 37,252,138 shares of Class B common stock were issued and outstanding. Holders of Class A and Class B common stock are entitled to one vote per share and 10 votes per share, respectively, and the shares of Class A common stock and Class B common stock are identical, except for voting and conversion rights. As of December 31, 2016, the outstanding Class B common stock included 180,000 shares related to the Authy acquisition that were held in escrow.

The Company had reserved shares of common stock for issuance as follows:

                                                                                                                                                                                    

 

 

As of December 31,

 

 

 

2016

 

2015

 

Convertible preferred stock outstanding

 

 

 

 

54,508,441(1)

 

Stock options issued and outstanding

 

 

14,649,276 

 

 

16,883,837 

 

Nonvested restricted stock units issued and outstanding

 

 

2,034,217 

 

 

71,000 

 

Common stock reserved for Twilio.org

 

 

680,397 

 

 

888,022 

 

Stock-based awards available for grant under 2008 Plan

 

 

 

 

14,920 

 

Stock-based awards available for grant under 2016 Plan

 

 

10,143,743 

 

 

 

Common stock reserved for issuance under 2016 ESPP

 

 

597,038 

 

 

 

​  

​  

​  

​  

Total

 

 

28,104,671 

 

 

72,366,220 

 

​  

​  

​  

​  

​  

​  

​  

​  


 

(1)Includes 687,885 shares of Series T convertible preferred stock related to the Authy acquisition held in escrow as of December 31, 2015.

(d)    Stock Repurchases

Following the closing of the Series E convertible preferred stock financing, on August 21, 2015, the Company repurchased an aggregate of 365,916 shares of Series A preferred stock and Series B preferred stock from certain preferred stockholders, and repurchased an aggregate of 1,869,156 shares of common stock from certain current and former employees for $22.8 million in cash, which transaction is referred to as the 2015 Repurchase. The 2015 Repurchase was conducted at a price in excess of the fair value of the Company's common stock at the date of repurchase. No special rights or privileges were conveyed to the employees and former employees. However, not all employees were invited to participate in the 2015 Repurchase. The Company recorded a compensation expense in the amount of $2.0 million for the year ended December 31, 2015, which was the excess of the common stock repurchase price above the fair value of the common stock on the date of repurchase. Of this expense, $0.8 million, $0.1 million and $1.1 million were classified as research and development, sales and marketing and general and administrative expenses, respectively, in the accompanying consolidated statement of operations. The excess of the preferred stock repurchase price above the carrying value of the preferred stock was recorded as a deemed dividend in the year ended December 31, 2015. The Company retired the shares repurchased in the 2015 Repurchase as of August 21, 2015.

(e)    Twilio.org

On September 2, 2015, the Company's board of directors approved the establishment of Twilio.org with 888,022 shares of the Company's common stock, which represented 1% of the Company's outstanding capital stock on as-converted basis, reserved to fund Twilio.org's activities. Through Twilio.org, which is a part of the Company and not a separate legal entity, the Company donates and discounts its products to nonprofits, who use the Company’s products to engage their audience, expand their reach and focus on making a meaningful change in the world. On May 13, 2016, the Company's board of directors authorized a reduction of 107,625 shares reserved to offset equity grants to Twilio.org employees. On October 20, 2016, the Company completed its follow-on public offering. Of the net proceeds the Company received in the offering, $3.9 million was reserved to fund and support the operations of Twilio.org and the number of shares of Class A common stock reserved for Twilio.org was reduced by 100,000. In December 2016, Twilio.org donated the full $3.9 million proceeds into an independent Donor Advised Fund to further the philanthropic goals of the Company. This amount was recorded as a charitable contribution in the accompanying consolidated statement of operations. As of December 31, 2016, the total remaining shares reserved for Twilio.org was 680,397.

Stock-Based Compensation
Stock-Based Compensation

13. Stock-Based Compensation

2008 Stock Option Plan

The Company maintained a stock plan, the 2008 Stock Option Plan, as amended and restated (the "2008 Plan"), which allowed the Company to grant incentive ("ISO"), non-statutory ("NSO") stock options and restricted stock units ("RSU") to its employees, directors and consultants to participate in the Company's future performance through stock-based awards at the discretion of the board of directors. Under the 2008 Plan, options to purchase the Company's common stock could not be granted at a price less than fair value in the case of ISOs and NSOs. Fair value was determined by the board of directors, in good faith, with input from valuation consultants. On June 22, 2016, the plan was terminated in connection with the Company's IPO. Accordingly, no shares are available for future issuance under the 2008 Plan. The 2008 Plan continues to govern outstanding equity awards granted thereunder. The Company's right of first refusal for outstanding equity awards granted under the 2008 Plan terminated upon completion of the IPO. Options granted include provisions for early exercisability.

2016 Stock Option and Incentive Plan

The Company's 2016 Stock Option and Incentive Plan (the "2016 Plan") became effective on June 21, 2016. The 2016 Plan provides for the grant of ISOs, NSOs, restricted stock, RSUs, stock appreciation rights, unrestricted stock awards, performance share awards, dividend equivalent rights and cash-based awards to employees, directors and consultants of the Company. A total of 11,500,000 shares of the Company's Class A common stock were initially reserved for issuance under the 2016 Plan. These available shares will automatically increase each January 1, beginning on January 1, 2017, by 5% of the number of shares of the Company's Class A and Class B common stock outstanding on the immediately preceding December 31, or such lesser number of shares as determined by the Company's compensation committee.

Under the 2016 Plan, the stock options are granted at a price per share not less than 100% of the fair market value per share of the underlying common stock on the date of grant. Under both plans, stock options generally expire 10 years from the date of grant and vest over periods determined by the board of directors. The vesting period for options and restricted stock units is generally a four-year term from the date of grant, at a rate of 25% after one year, then monthly or quarterly, respectively, on a straight-line basis thereafter.

2016 Employee Stock Purchase Plan

The Company's Employee Stock Purchase Plan ("2016 ESPP") became effective on June 21, 2016. A total of 2,400,000 shares of the Company's Class A common stock were initially reserved for issuance under the 2016 ESPP. These available shares will automatically increase each January 1, beginning on January 1, 2017, by the lesser of 1,800,000 shares of the common stock, 1% of the number of shares of the Company's Class A and Class B common stock outstanding on the immediately preceding December 31 or such lesser number of shares as determined by the Company's compensation committee.

The 2016 ESPP allows eligible employees to purchase shares of the Company's Class A common stock at a discount of up to 15% through payroll deductions of their eligible compensation, subject to any plan limitations. Except for the initial offering period, the 2016 ESPP provides for separate six-month offering periods beginning in May and November of each fiscal year, starting in May 2017.

On each purchase date, eligible employees will purchase the Company's stock at a price per share equal to 85% of the lesser of (i) the fair market value of the Company's Class A common stock on the offering date or (ii) the fair market value of the Company's common stock on the purchase date.

For the year ended December 31, 2016, no shares of common stock were purchased under the 2016 ESPP and 597,038 shares are expected to be purchased at the end of the initial offering period. As of December 31, 2016, total unrecognized compensation cost related to 2016 ESPP was $1.3 million, which will be amortized over a weighted-average period of 0.4 years.

Stock options and restricted stock units activity under the 2008 Plan and 2016 Plan was as follows:

Stock Options

                                                                                                                                                                                    

 

 

Number of
options
outstanding

 

Weighted-
average
exercise
price
(per share)

 

Weighted-
average
remaining
contractual
term
(in years)

 

Aggregate
intrinsic value
(in thousands)

 

Outstanding options as of December 31, 2015

 

 

16,883,837

 

$

5.31

 

 

8.30

 

$

80,758

 

Granted

 

 

1,894,850

 

 

10.73

 

 

 

 

 

 

 

Exercised

 

 

(2,294,652

)

 

3.97

 

 

 

 

 

 

 

Forfeited and cancelled

 

 

(1,834,759

)

 

5.95

 

 

 

 

 

 

 

​  

​  

Outstanding options as of December 31, 2016

 

 

14,649,276

 

$

6.14

 

 

7.52

 

$

332,716

 

​  

​  

​  

​  

Options vested and exercisable as of December 31, 2016

 

 

7,075,211

 

$

4.30

 

 

6.48

 

$

173,678

 

​  

​  

​  

​  

Aggregate intrinsic value represents the difference between the Company's estimated fair value of its common stock and the exercise price of outstanding "in-the-money" options. The aggregate intrinsic value of stock options exercised was $54.4 million, $10.1 million and $1.5 million, during the years ended December 31, 2016, 2015 and 2014, respectively.

The total estimated grant date fair value of options vested was $15.3 million, $8.2 million and $3.9 million during the years ended December 31, 2016, 2015 and 2014, respectively. The weighted-average grant-date fair value of options granted was $5.52, $4.30 and $2.88 during the years ended December 31, 2016, 2015 and 2014, respectively.

As of December 31, 2016, total unrecognized compensation cost related to nonvested stock options was $29.2 million, which will be amortized on a ratable basis over a weighted-average period of 2.4 years.

Restricted Stock Units

                                                                                                                                                                                    

 

 

Number of
options
outstanding

 

Weighted-
average
grant date
fair value
(per share)

 

Aggregate
intrinsic
value
(in thousands)

 

Nonvested RSUs as of December 31, 2015

 

 

71,000

 

$

9.39

 

$

716

 

Granted

 

 

2,162,890

 

 

32.10

 

 

 

 

Vested

 

 

(87,523

)

 

19.09

 

 

 

 

Forfeited and cancelled

 

 

(112,150

)

 

17.80

 

 

 

 

​  

​  

Nonvested RSUs as of December 31, 2016

 

 

2,034,217

 

$

32.66

 

$

58,687

 

​  

​  

​  

​  

Prior to the completion of the Company's IPO, the Company granted RSUs ("Pre-IPO RSUs") under its 2008 Plan to its employees that vested upon the satisfaction of both a time-based service condition and a liquidity condition. The time-based service condition for the majority of these awards will be satisfied over a period of four years. The liquidity condition was satisfied upon occurrence of the Company's IPO in June 2016. RSUs granted on or after the completion of the Company's IPO ("Post-IPO RSUs") are granted under the 2016 Plan and are subject to a time-based vesting condition only. The compensation expense related to these grants is based on the grant date fair value of the RSUs and is recognized on a ratable basis over the applicable service period. The majority of Post-IPO RSUs are earned over a service period of two to four years.

As of December 31, 2016, total unrecognized compensation cost related to nonvested RSUs was $60.5 million, which will be amortized over a weighted-average period of 3.3 years.

Equity Awards Granted to Nonemployees

In September 2016, the Company granted 30,255 restricted stock units to a nonemployee. The award is vested upon the satisfaction of a service condition over two years starting in August 2015 and the stock-based compensation expense recorded for this award during the year ended December 31, 2016, was $0.6 million. In December 2015, the Company granted 30,000 stock options to another nonemployee. These options vest upon the satisfaction of a service condition over a four year period. The stock-based compensation expense recorded for this award in the year ended December 31, 2016, was $0.3 million..

As of December 31, 2016, total unrecognized compensation cost related to nonvested nonemployee awards was $0.8 million, which will be amortized over a weighted average period of 1.7 years.

There were no nonemployee grants in the year ended December 31, 2014.

Early Exercise of Nonvested Options

Under the 2008 Plan, employees have an option to exercise their stock options prior to vesting. The Company has the right to repurchase, at the original issuance price, any unvested (but issued) common shares upon termination of service of an employee, either voluntarily or involuntarily. The consideration received for an early exercise of a stock option is considered to be a deposit of the exercise price and the related amount is recorded as a liability. The liability is reclassified into stockholders' equity as the stock options vest. As of December 31, 2016 and 2015, the Company recorded a liability of $0.3 million and $0.2 million for 49,580 and 52,407 unvested shares, respectively, that were early exercised by employees and were subject to repurchase at the respective period end. These amounts are reflected in current and non-current liabilities on the Company's consolidated balance sheets.

Valuation Assumptions

The fair value of employee stock options was estimated on the date of grant using the following assumptions in the Black-Scholes option pricing model:

                                                                                                                                                                                    

 

 

Year Ended December 31,

 

 

2016

 

2015

 

2014

Employee Stock Options

 

 

 

 

 

 

Fair value of common stock

 

$10.09 - $15.00

 

$7.07 - $10.09

 

$3.99 - $6.69

Expected term (in years)

 

6.08

 

6.08

 

5.27 - 6.57

Expected volatility

 

51.4% - 53.0%

 

47.8% - 54.9%

 

54.4%

Risk-free interest rate

 

1.3% - 1.5%

 

1.4% - 2.0%

 

1.7% - 2.0%

Dividend rate

 

0%

 

0%

 

0%

Employee Stock Purchase Plan

 

 

 

 

 

 

Expected term (in years)

 

0.90

 

 

Expected volatility

 

52%

 

 

Risk-free interest rate

 

0.6%

 

 

Dividend rate

 

0%

 

 

Stock-Based Compensation Expense

The Company recorded the total stock-based compensation expense as follows (in thousands):

                                                                                                                                                                                    

 

 

Year Ended December 31,

 

 

 

2016

 

2015

 

2014

 

Cost of revenue

 

$

291 

 

$

65 

 

$

39 

 

Research and development

 

 

12,946 

 

 

4,046 

 

 

1,577 

 

Sales and marketing

 

 

4,972 

 

 

2,389 

 

 

1,335 

 

General and administrative

 

 

6,016 

 

 

2,377 

 

 

1,027 

 

​  

​  

​  

​  

​  

​  

Total

 

$

24,225 

 

$

8,877 

 

$

3,978 

 

​  

​  

​  

​  

​  

​  

​  

​  

​  

​  

​  

​  

 

Net Loss per Share Attributable to Common Stockholders
Net Loss per Share Attributable to Common Stockholders

14. Net Loss Per Share Attributable to Common Stockholders

The following table sets forth the calculation of basic and diluted net loss per share attributable to common stockholders during the periods presented (in thousands, except per share data):

                                                                                                                                                                                    

 

 

Year Ended December 31,

 

 

 

2016

 

2015

 

2014

 

Net loss attributable to common stockholders

 

$

(41,324

)

$

(38,896

)

$

(26,758

)

​  

​  

​  

​  

​  

​  

​  

​  

​  

​  

​  

​  

Weighted-average shares used to compute net loss per share attributable to common stockholders, basic and diluted

 

 

53,116,675

 

 

17,746,526

 

 

16,900,124

 

​  

​  

​  

​  

​  

​  

​  

​  

​  

​  

​  

​  

Net loss per share attributable to common stockholders, basic and diluted

 

$

(0.78

)

$

(2.19

)

$

(1.58

)

​  

​  

​  

​  

​  

​  

​  

​  

​  

​  

​  

​  

The following outstanding shares of common stock equivalents were excluded from the computation of the diluted net loss per share attributable to common stockholders for the periods presented because their effect would have been anti-dilutive:

                                                                                                                                                                                    

 

 

Year Ended December 31,

 

 

 

2016

 

2015

 

2014

 

Convertible preferred stock outstanding

 

 

 

 

54,508,441 

(1)

 

42,482,490 

 

Stock options issued and outstanding

 

 

14,649,276 

 

 

16,883,837 

 

 

13,141,311 

 

Nonvested restricted stock units issued and outstanding

 

 

2,034,217 

 

 

71,000 

 

 

 

Common stock reserved for Twilio.org

 

 

680,397 

 

 

888,022 

 

 

 

Shares committed under 2016 ESPP

 

 

597,038 

 

 

 

 

 

Unvested shares subject to repurchase

 

 

49,580 

 

 

52,407 

 

 

127,316 

 

​  

​  

​  

​  

​  

​  

Total

 

 

18,010,508 

 

 

72,403,707 

 

 

55,751,117 

 

​  

​  

​  

​  

​  

​  

​  

​  

​  

​  

​  

​  


 

(1)Includes 687,885 shares as of December 31, 2015 of Series T convertible preferred stock related to the Authy acquisition held in escrow.

Income Taxes
Income Taxes

15. Income Taxes

The following table presents domestic and foreign components of loss before income taxes for the periods presented (in thousands):

                                                                                                                                                                                    

 

 

Year Ended December 31,

 

 

 

2016

 

2015

 

2014

 

United States

 

$

(14,002

)

$

(23,962

)

$

(26,837

)

International

 

 

(26,996

)

 

(11,420

)

 

92

 

​  

​  

​  

​  

​  

​  

Loss before provision for income taxes

 

$

(40,998

)

$

(35,382

)

$

(26,745

)

​  

​  

​  

​  

​  

​  

​  

​  

​  

​  

​  

​  

Provision for income taxes consists of the following (in thousands):

                                                                                                                                                                                    

 

 

Year Ended
December 31,

 

 

 

2016

 

2015

 

2014

 

Current:

 

 

 

 

 

 

 

 

 

 

Federal

 

$

 

$

 

$

 

State

 

 

83

 

 

45

 

 

 

Foreign

 

 

214

 

 

213

 

 

13

 

​  

​  

​  

​  

​  

​  

Total

 

 

297

 

 

258

 

 

13

 

Deferred:

 

 

 

 

 

 

 

 

 

 

Federal

 

 

2

 

 

(109

)

 

 

State

 

 

 

 

 

 

 

Foreign

 

 

27

 

 

(27

)

 

 

​  

​  

​  

​  

​  

​  

Total

 

 

29

 

 

(136

)

 

 

​  

​  

​  

​  

​  

​  

Provision for income taxes

 

 

326

 

$

122

 

$

13

 

​  

​  

​  

​  

​  

​  

​  

​  

​  

​  

​  

​  

As a result of the acquisition of Authy in February 2015, the Company recorded a tax benefit of $0.1 million in the year ended December 31, 2015. This tax benefit is a result of a partial release of the Company's existing valuation allowance immediately prior to the acquisition since the acquired deferred tax liabilities from Authy will provide a source of income for the Company to realize a portion of its deferred tax assets, for which a valuation allowance is no longer needed.

The following table presents a reconciliation of the statutory federal tax rate and the Company's effective tax rate for the years ended December 31, 2016, 2015 and 2014:

                                                                                                                                                                                    

 

 

Year Ended
December 31,

 

 

 

2016

 

2015

 

2014

 

Tax benefit at federal statutory rate

 

 

34

%

 

34

%

 

34

%

State tax, net of federal benefit

 

 

11

 

 

(3

)

 

7

 

Stock-based compensation

 

 

23

 

 

(8

)

 

(4

)

Credits

 

 

2

 

 

4

 

 

2

 

Foreign rate differential

 

 

(23

)

 

(11

)

 

 

Reserve for uncertain tax positions

 

 

(12

)

 

 

 

 

Change in valuation allowance

 

 

(34

)

 

(14

)

 

(39

)

Other

 

 

(2

)

 

(2

)

 

 

​  

​  

​  

​  

​  

​  

Effective tax rate

 

 

(1

)%

 

%

 

%

​  

​  

​  

​  

​  

​  

​  

​  

​  

​  

​  

​  

Deferred income taxes reflect the net tax effects of temporary differences between the carrying amounts of assets and liabilities for financial reporting purposes and the amounts used for income tax purposes. The following table presents the significant components of the Company's deferred tax assets and liabilities (in thousands):

                                                                                                                                                                                    

 

 

As of December 31,

 

 

 

2016

 

2015

 

2014

 

Deferred tax assets:

 

 

 

 

 

 

 

 

 

 

Net operating loss carryforwards

 

$

31,090

 

$

27,401

 

$

24,402

 

Accrued and prepaid expenses

 

 

16,698

 

 

7,603

 

 

5,573

 

Stock-based compensation

 

 

5,368

 

 

1,433

 

 

423

 

Research and development credits

 

 

7,807

 

 

6,022

 

 

3,918

 

Charitable contributions

 

 

1,458

 

 

 

 

 

​  

​  

​  

​  

​  

​  

Gross deferred tax assets

 

 

62,421

 

 

42,459

 

 

34,316

 

Valuation allowance

 

 

(49,601

)

 

(35,613

)

 

(30,559

)

​  

​  

​  

​  

​  

​  

Net deferred tax assets

 

 

12,820

 

 

6,846

 

 

3,757

 

Deferred tax liabilities:

 

 

 

 

 

 

 

 

 

 

Capitalized software

 

 

(7,086

)

 

(4,084

)

 

(2,019

)

Prepaid expenses

 

 

(452

)

 

(2,035

)

 

(1,607

)

Acquired intangibles

 

 

(152

)

 

(460

)

 

 

Property and equipment

 

 

(4,931

)

 

(240

)

 

(131

)

Other

 

 

(201

)

 

 

 

 

​  

​  

​  

​  

​  

​  

Net deferred tax asset (liability)

 

 

(2

)

$

27

 

$

 

​  

​  

​  

​  

​  

​  

​  

​  

​  

​  

​  

​  

In the fourth quarter 2016, the Company early adopted ASU 2016-09 "Compensation—Stock Compensation (Topic 718): Improvements to Employee Share -Based Payment Accounting." The primary tax impact of the adoption was the recognition of excess tax benefits in the provision for income taxes rather than additional paid-in capital. The new guidance eliminates the requirement to delay the recognition of excess tax benefits until it reduces current taxes payable. As a result, the Company reclassified $62,000 in excess tax benefits, offset by valuation allowance, from additional paid-in-capital to income tax expense. Additionally, the recognition of previously unrecognized excess tax benefits was adopted on a modified retrospective basis. The unrecognized excess tax benefits of $2.0 million as of January 1, 2016 had no impact on the Company's accumulated deficit balance as the Company carried a full valuation allowance on the related deferred tax assets. The new guidance also requires companies to record, subsequent to the adoption, excess tax benefits and tax deficiencies in the period they arise. There was no impact on the Company's tax provision due to the full valuation allowance. In addition, cash flows related to excess tax benefits will no longer be classified as a financing activity apart from other income tax cash flows. The Company adopted this change in presentation of excess tax benefits as an operating activity on the statements of cash flows on a prospective basis.

As of December 31, 2016, the Company had approximately $104.0 million in federal net operating loss carryforwards and $6.4 million in federal tax credits. If not utilized, the federal net operating loss and tax credit carryforwards will expire at various dates beginning in 2029.

As of December 31, 2016, the Company had approximately $88.7 million in state net operating loss carryforwards and $5.4 million in state tax credits. If not utilized, the state net operating loss carryforwards will expire at various dates beginning in 2027. The California state tax credits can be carried forward indefinitely.

A limitation may apply to the use of the net operating loss and credit carryforwards, under provisions of the Internal Revenue Code of 1986, as amended, and similar state tax provisions that are applicable if the Company experiences an "ownership change." An ownership change may occur, for example, as a result of issuance of new equity. Should these limitations apply, the carryforwards would be subject to an annual limitation, resulting in a potential reduction in the gross deferred tax assets before considering the valuation allowance.

The Company's accounting for deferred taxes involves the evaluation of a number of factors concerning the realizability of its net deferred tax assets. The Company primarily considered such factors as its history of operating losses, the nature of the Company's deferred tax assets, and the timing, likelihood and amount, if any, of future taxable income during the periods in which those temporary differences and carryforwards become deductible. At present, the Company does not believe that it is more likely than not that the net deferred tax assets will be realized, accordingly, a full valuation allowance has been established. The valuation allowance increased by approximately $14.0 million and $5.1 million during the years ended December 31, 2016 and 2015, respectively.

The Company attributes net revenue, costs and expenses to domestic and foreign components based on the terms of its agreements with its subsidiaries. The Company does not provide for federal income taxes on the undistributed earnings of its foreign subsidiaries, as such earnings are to be reinvested offshore indefinitely. As of December 31, 2016, the amount of cash associated with indefinitely reinvested foreign earnings was approximately $1.1 million.

A reconciliation of the beginning and ending amount of unrecognized tax benefits is as follows (in thousands):

                                                                                                                                                                                    

 

 

Year Ended
December 31,

 

 

 

2016

 

2015

 

2014

 

Unrecognized tax benefit, beginning of year

 

$

1,679 

 

$

1,024 

 

$

592 

 

Gross increases for tax positions of prior years

 

 

1,996 

 

 

 

 

 

Gross increases for tax positions of current years

 

 

8,600 

 

 

655 

 

 

432 

 

​  

​  

​  

​  

​  

​  

Unrecognized tax benefit, end of year

 

$

12,275 

 

$

1,679 

 

$

1,024 

 

​  

​  

​  

​  

​  

​  

​  

​  

​  

​  

​  

​  

As of December 31, 2016, the Company had approximately $12.3 million of unrecognized tax benefits. If the $12.3 million is recognized, $0.1 million would affect the effective tax rate. The remaining amount would be offset by the reversal of related deferred tax assets which are subject to a full valuation allowance.

The Company had not incurred any material tax interest or penalties with respect to income taxes in the years ended December 31, 2016, 2015 and 2014.

The Company does not anticipate any significant changes within 12 months of December 31, 2016, in its uncertain tax positions that would be material to the consolidated financial statements taken as a whole because nearly all of the unrecognized tax benefit has been offset by a deferred tax asset, which has been reduced by a valuation allowance.

The Company files U.S. federal income tax returns as well as income tax returns in many U.S. states and foreign jurisdictions. As of December 31, 2016, the tax years 2008 through the current period remain open to examination by the major jurisdictions in which the Company is subject to tax. Fiscal years outside the normal statute of limitation remain open to audit by tax authorities due to tax attributes generated in those early years, which have been carried forward and may be audited in subsequent years when utilized. The Company is not currently subject to U.S. federal, state and local, or non-U.S. income tax examinations by any tax authorities.

Employee Benefit Plan
Employee Benefit Plan

16. Employee Benefit Plan

The Company sponsors a 401(k) defined contribution plan covering all employees. There were no employer contributions to the plan in the years ended December 31, 2015 and 2014. The employer contribution to the plan in the year ended December 31, 2016 was $1.1 million.

Transactions With Investors
Transactions With Investors

17. Transactions With Investors

In 2015, two of the Company's vendors participated in the Company's Series E convertible preferred stock financing and owned approximately 2.0% and 1.0%, respectively, of the Company's capital stock, on as-if converted basis, as of December 31, 2016 and 2.5% and 1.2%, respectively, of the Company's outstanding capital stock as of December 31, 2015. During the years ended December 31, 2016, 2015 and 2014, the amounts of software services the Company purchased from the first vendor were $14.5 million, $11.1 million and $8.0 million, respectively. The amounts due to this vendor that were accrued as of December 31, 2016 and 2015 were insignificant. In October 2016, the Company entered into a three-year agreement with this vendor to purchase services for an aggregate purchase commitment amount of $57.7 million over the course of the three-year contractual period. The amount of services the Company purchased from the second vendor was $0.5 million for each of the years ended December 31, 2016, 2015 and 2014. The amounts due to this vendor that were accrued as of December 31, 2016 and 2015 were insignificant.

Summary of Significant Accounting Policies (Policies)

(a)    Basis of Presentation

The Company's consolidated financial statements have been prepared in conformity with accounting principles generally accepted in the United States of America ("U.S. GAAP").

(b)    Principles of Consolidation

The consolidated financial statements include the Company and its wholly owned subsidiaries. All significant intercompany balances and transactions have been eliminated.

(c)    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 and disclosure of contingent assets and liabilities at the date of the financial statements and the reported amounts of revenues and expenses during the reporting period. These estimates are used for, but not limited to, revenue allowances and returns; valuation of the Company's stock-based awards; recoverability of long-lived and intangible assets; the capitalization and useful life of the Company's capitalized internal-use software; fair value of acquired intangible assets and goodwill; accruals and contingencies. Estimates are based on historical experience and on various assumptions that the Company believes are reasonable under current circumstances. However, future events are subject to change and best estimates and judgments may require further adjustments; therefore, actual results could differ materially from those estimates. Management periodically evaluates such estimates and they are adjusted prospectively based upon such periodic evaluation.

(d)    Concentration of Credit Risk

Financial instruments that potentially expose the Company to a concentration of credit risk consist primarily of cash, cash equivalents, restricted cash and accounts receivable. The Company maintains cash, cash equivalents and restricted cash with financial institutions that management believes are financially sound and have minimal credit risk exposure.

The Company sells its services to a wide variety of customers. If the financial condition or results of operations of any one of the large customers deteriorate substantially, operating results could be adversely affected. To reduce credit risk, management performs ongoing credit evaluations of the financial condition of significant customers. The Company does not require collateral from its credit customers and maintains reserves for estimated credit losses on customer accounts when considered necessary. Actual credit losses may differ from the Company's estimates. During the years ended December 31, 2016, one customer organization represented approximately 14% of the Company's total revenue. During the years ended December 31, 2015 and 2014, a different customer organization represented approximately 17% and 13%, respectively, of the Company's total revenue.

As of December 31, 2016, one customer organization represented approximately 16% of the Company's gross accounts receivable. As of December 31, 2015, two customer organizations represented approximately 11% each of the Company's gross accounts receivable.

(e)    Revenue Recognition

The Company derives its revenue primarily from usage-based fees earned from customers accessing the Company's enterprise cloud computing services invoiced or paid monthly. The Company also earns subscription fees from certain term-based contracts. The Company provides services to its customers under pay-as-you-go contracts and term-based contracts ranging in duration from one month to 48 months. Customers that pay via credit card are either billed in advance or as they use service. Larger customers are billed in arrears via invoices for services used. Certain customers have contracts that provide for a minimum monthly commitment and some customers have contracts that provide for a commitment that may be of a quarterly, annual or other specific durations.

The Company recognizes revenue from these transactions when all of the following criteria are satisfied:

 

there is persuasive evidence of an arrangement;

the service has been or is being provided to the customer;

the amount of the fees to be paid by the customer is fixed or determinable; and

collectability of the fees is reasonably assured.

Term-based contracts revenue is recognized on a straight-line basis over the contractual term of the arrangement beginning on the date that the service is made available to the customer, provided that all other revenue recognition criteria have been met. Usage-based fees are recognized as delivered.

The Company's arrangements do not contain general rights of return. However, credits may be issued to customers on a case-by-case basis. The contracts do not provide customers with the right to take possession of the software supporting the applications. Amounts that have been invoiced are recorded in accounts receivable and in revenue or deferred revenue, depending on whether the revenue recognition criteria have been met.

The reserve for sales credits was $0.5 million and $0.7 million as of December 31, 2016 and 2015, respectively, and is included in accounts receivable, net in the accompanying consolidated balance sheets. The reserve for sales credits is calculated based on historical trends and any specific risks identified in processing transactions. Changes in the reserve are recorded against revenue.

(f)    Cost of Revenue

Cost of revenue consists primarily of costs of communications services purchased from network service providers. Cost of revenue also includes fees to support the Company's cloud infrastructure, personnel costs, such as salaries and stock-based compensation for the customer care and support services employees, and non-personnel costs, such as amortization of capitalized internal-use software development costs.

(g)    Research and Development Expenses

Research and development expenses consist primarily of personnel costs, cloud infrastructure fees for staging and development, outsourced engineering services, amortization of capitalized internal-use software development costs and an allocation of general overhead expenses. The Company capitalizes the portion of its software development costs that meets the criteria for capitalization.

(h)    Internal-Use Software Development Costs

Certain costs of platform and other software applications developed for internal use are capitalized. The Company capitalizes qualifying internal-use software development costs that are incurred during the application development stage. Capitalization of costs begins when two criteria are met: (i) the preliminary project stage is completed and (ii) it is probable that the software will be completed and used for its intended function. Capitalization ceases when the software is substantially complete and ready for its intended use, including the completion of all significant testing. The Company also capitalizes costs related to specific upgrades and enhancements when it is probable the expenditures will result in additional functionality and expenses costs incurred for maintenance and minor upgrades and enhancements. Costs related to preliminary project activities and post-implementation operating activities are expensed as incurred.

Capitalized costs of platform and other software applications are included in property and equipment. These costs are amortized over the estimated useful life of the software on a straight-line basis over three years. Management evaluates the useful life of these assets on an annual basis and tests for impairment whenever events or changes in circumstances occur that could impact the recoverability of these assets. The amortization of costs related to the platform applications is included in cost of revenue, while the amortization of costs related to other software applications developed for internal use is included in research and development expenses.

(i)    Advertising Costs

Advertising costs are expensed as incurred and were $3.5 million, $2.9 million and $1.0 million in the years ended December 31, 2016, 2015 and 2014, respectively. Advertising costs are included in sales and marketing expenses in the accompanying consolidated statements of operations.

(j)    Stock-Based Compensation

All stock-based compensation to employees, including the purchase rights issued under the Company's 2016 Employee Stock Purchase Plan (the "ESPP"), is measured on the grant date based on the fair value of the awards on the date of grant. This cost is recognized as an expense following the ratable attribution method, over the requisite service period, for stock options, and the straight-line attribution method, over the offering period, for the purchase rights issued under the ESPP. The Company uses the Black-Scholes option pricing model to measure the fair value of its stock options and the purchase rights issued under the ESPP. The fair value of the restricted stock units is determined using the fair value of the Company's Class A common stock on the date of grant. Prior to adoption of ASU 2016-09, the stock-based compensation was recorded net of estimated forfeitures.

In March 2016, the Financial Accounting Standards Board ("FASB") issued Accounting Standards Update ("ASU") No. 2016-09, "Compensation—Stock Compensation (Topic 718): Improvements to Employee Share -Based Payment Accounting." This new guidance was intended to simplify several areas of accounting for stock-based compensation arrangements, including the income tax impact, classification on the statement of cash flows and forfeitures. This guidance is effective for fiscal years, and interim periods within those years, beginning after December 15, 2016, and early adoption is permitted. The Company early adopted this guidance in the quarter ended December 31, 2016. The new guidance allows entities to account for forfeitures as they occur. The Company elected to account for forfeitures as they occur and adopted this provision on a modified retrospective basis. The $0.1 million of cumulative prior years' impact as well as the impact on the first three quarters of 2016 of $75,000 was recognized as an increase to stock-based compensation during the quarter ended December 31, 2016, as the impact on prior periods was insignificant. Adoption of all other changes in the new guidance did not have a significant impact on the Company's consolidated financial statements. See Note 15 for additional detail on the impact from the tax-related provisions of this ASU.

Prior to the IPO, the fair value of the Company's common stock was determined by the estimated fair value of the Company's common stock at the time of grant. After the IPO, the Company uses the market closing price of its Class A common stock as reported on the New York Stock Exchange for the fair value.

Compensation expense for stock options granted to nonemployees is calculated using the Black-Scholes option pricing model and is recognized in expense over the service period. Compensation expense for nonemployee stock options subject to vesting is revalued at each reporting date until the stock options are vested.

The Black-Scholes option pricing model requires the use of highly subjective and complex assumptions, which determine the fair value of stock-based awards. These assumptions include:

 

Fair value of the common stock.  Prior to the Company's IPO, the board of directors considered numerous objective and subjective factors to determine the fair value of the Company's common stock at each meeting at which awards are approved. The factors included, but were not limited to: (i) contemporaneous valuations of the Company's common stock by an unrelated third party; (ii) the prices at which the Company sold shares of its convertible preferred stock to outside investors in arms-length transactions; (iii) the rights, preferences and privileges of the Company's convertible preferred stock relative to those of its common stock; (iv) the Company's results of operations, financial position and capital resources; (v) current business conditions and projections; (vi) the lack of marketability of the Company's common stock; (vii) the hiring of key personnel and the experience of management; (viii) the introduction of new products; (ix) the risk inherent in the development and expansion of the Company's products; (x) the Company's stage of development and material risks related to its business; (xi) the fact that the option grants involve illiquid securities in a private company; and (xii) the likelihood of achieving a liquidity event, such as an initial public offering or sale of the Company, in light of prevailing market conditions;

Expected term.  The expected term represents the period that the stock-based awards are expected to be outstanding. The Company uses the simplified calculation of expected term, as the Company does not have sufficient historical data to use any other method to estimate expected term;

Expected volatility.  The expected volatility is derived from an average of the historical volatilities of the common stock of several entities with characteristics similar to those of the Company, such as the size and operational and economic similarities to the Company's principal business operations;

Risk -free interest rate.  The risk-free interest rate is based on the U.S. Treasury yield curve in effect at the time of grant for zero coupon U.S. Treasury notes with maturities approximately equal the expected term of the stock-based awards; and

Expected dividend.  The expected dividend is assumed to be zero as the Company has never paid dividends and has no current plans to pay any dividends on its common stock.

If any of the assumptions used in the Black-Scholes model changes, stock-based compensation for future options may differ materially compared to that associated with previous grants.

(k)    Income Taxes

The Company accounts for income taxes in accordance with authoritative guidance which requires the use of the asset and liability approach. Deferred tax assets and liabilities are recognized for future tax consequences attributable to temporary differences between the financial statement carrying amounts of existing assets and liabilities and their respective tax bases, as well as net operating loss and tax credit carry-forwards. Deferred tax amounts are determined by using the enacted tax rates expected to be in effect when the 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. A valuation allowance reduces the deferred tax assets to the amount that is more likely than not to be realized.

The Company recognizes the effect of uncertain income tax positions only if those positions are more likely than not of being sustained. Recognized income tax positions are measured at the largest amount that is greater than 50% likely of being realized. Changes in recognition or measurement are reflected in the period in which the change in judgment occurs.

The Company records interest and penalties related to uncertain tax positions in the provision for income taxes in the consolidated statements of operations.

(l)    Foreign Currency Translation

The functional currency of the Company's foreign subsidiaries is the U.S. dollar. Accordingly, the subsidiaries remeasure monetary assets and liabilities at period-end exchange rates, while non-monetary items are remeasured at historical rates. Revenue and expense accounts are remeasured at the average exchange rate in effect during the year. Remeasurement adjustments are recognized in the consolidated statements of operations as other income or expense in the year of occurrence. Foreign currency transaction gains and losses were insignificant for all periods presented.

(m)    Comprehensive Loss

During the years ended December 31, 2016, 2015 and 2014, the Company did not have any other comprehensive income or loss, and therefore, the net loss and comprehensive loss was the same for all periods presented.

(n)    Net Loss Per Share Attributable to Common Stockholders

The Company calculates its basic and diluted net loss per share attributable to common stockholders in conformity with the two-class method required for companies with participating securities. All series of convertible preferred stock are considered to be participating securities as the holders of the preferred stock are entitled to receive a non-cumulative dividend on a pro rata pari passu basis in the event that a dividend is declared or paid on common stock. Shares of common stock issued upon early exercise of stock options that are subject to repurchase are also considered to be participating securities, because holders of such shares have non-forfeitable dividend rights in the event a dividend is declared or paid on common stock. Under the two-class method, in periods when the Company has net income, net income attributable to common stockholders is determined by allocating undistributed earnings, calculated as net income less current period convertible preferred stock non-cumulative dividends, between common stock and the convertible preferred stock. In computing diluted net income attributable to common stockholders, undistributed earnings are re-allocated to reflect the potential impact of dilutive securities. The Company's basic net loss per share attributable to common stockholders is calculated by dividing the net loss attributable to common stockholders by the weighted-average number of shares of common stock outstanding for the period. The diluted net loss per share attributable to common stockholders is computed by giving effect to all potential dilutive common stock equivalents outstanding for the period. The dilutive effect of these potential common shares is reflected in diluted earnings per share by application of the treasury stock method. For purposes of this calculation, convertible preferred stock, options to purchase common stock, unvested restricted stock units, common stock issued subject to future vesting, any shares of stock committed under the ESPP, any shares of stock held in escrow and any shares of stock reserved for future donations are considered common stock equivalents but have been excluded from the calculation of diluted net loss per share attributable to common stockholders as their effect is antidilutive.

Since the Company's IPO, Class A and Class B common stock are the only outstanding equity of the Company. The rights of the holders of Class A and Class B common stock are identical, except with respect to voting and conversion. Each share of Class A common stock is entitled to one vote per share and each share of Class B common stock is entitled to 10 votes per share. Shares of Class B common stock may be converted into Class A common stock at any time at the option of the stockholder on a one-for-one basis, and are automatically converted into Class A common stock upon sale or transfer, subject to certain limited exceptions. Shares of Class A common stock are not convertible.

(o)    Cash and Cash Equivalents

The Company considers all highly liquid investments with an original maturity of three months or less when purchased to be cash equivalents. Cash equivalents consist of funds deposited into money market funds. All credit and debit card transactions that process as of the last day of each month and settle within the first few days of the subsequent month are also classified as cash and cash equivalents as of the end of the month in which they were processed.

(p)    Restricted Cash

Restricted cash consists of cash deposited into a savings account with a financial institution as collateral for the Company's obligations under its facility leases of premises located in San Francisco, California. The facility lease for the Company's old office space expired in January 2017, as amended, and the facility lease for the Company's new office space expires in October 2024.

(q)    Accounts Receivable and Allowance for Doubtful Accounts

Accounts receivable are recorded net of the allowance for doubtful accounts and the reserve for sales credits. The allowance for doubtful accounts is estimated based on the Company's assessment of its ability to collect on customer accounts receivable. The Company regularly reviews the allowance by considering certain factors such as historical experience, credit quality, age of accounts receivable balances and other known conditions that may affect a customer's ability to pay. In cases where the Company is aware of circumstances that may impair a specific customer's ability to meet their financial obligations, a specific allowance is recorded against amounts due from the customer which reduces the net recognized receivable to the amount the Company reasonably believe will be collected. The Company writes-off accounts receivable against the allowance when a determination is made that the balance is uncollectible and collection of the receivable is no longer being actively pursued. The allowance for doubtful accounts was $1.1 million and $0.5 million as of December 31, 2016 and 2015, respectively.

(r)    Costs Related to the Public Offerings

Costs related to the public offerings, which consist of direct incremental legal, printing and accounting fees, are deferred until the offering is completed. Upon completion of the offering, these costs are offset against the offering proceeds within the consolidated statements of stockholders' equity. As of December 31, 2016, the Company recorded in its consolidated statement of stockholders' equity $5.7 million in total offering costs, of which $4.9 million and $0.8 million related to the IPO and the FPO, respectively.

As of December 31, 2015, the Company had $2.0 million of deferred offering costs that were recorded as prepaid expenses and other current assets in the accompanying consolidated balance sheet.

(s)    Property and Equipment

Property and equipment is stated at cost less accumulated depreciation and amortization. Depreciation is computed using the straight-line method over the estimated useful life of the related asset. Maintenance and repairs are charged to expenses as incurred.

The useful lives of property and equipment are as follows:

                                                                                                                                                                                    

Capitalized software development costs

 

3 years

Office equipment

 

3 years

Furniture and fixtures

 

5 years

Software

 

3 years

Leasehold improvements

 

Shorter of 5 years or remaining lease term

 

 

(t)    Intangible Assets

Intangible assets recorded by the Company are costs directly associated with securing legal registration of patents and trademarks, acquiring domain names and the fair value of identifiable intangible assets acquired in business combinations.

Intangible assets with determinable economic lives are carried at cost, less accumulated amortization. Amortization is computed over the estimated useful life of each asset on a straight-line basis. The Company determines the useful lives of identifiable intangible assets after considering the specific facts and circumstances related to each intangible asset. Factors the Company considers when determining useful lives include the contractual term of any agreement related to the asset, the historical performance of the asset, the Company's long-term strategy for using the asset, any laws or other local regulations which could impact the useful life of the asset and other economic factors, including competition and specific market conditions. Intangible assets without determinable economic lives are carried at cost, not amortized and reviewed for impairment at least annually.

The useful lives of the intangible assets are as follows:

                                                                                                                                                                                    

Developed technology

 

3 years

Customer relationship

 

5 years

Trade names

 

2 years

Patents

 

20 years

Trademarks

 

Indefinite

Domain names

 

Indefinite

 

 

(u)    Goodwill

Goodwill represents excess of the aggregate purchase price over the fair value of net identifiable assets acquired in a business combination. Goodwill is not amortized and is tested for impairment at least annually or whenever events or changes in circumstances indicate that the carrying value may not be recoverable. The Company has determined that it operates as one reporting unit and has selected November 30 as the date to perform its annual impairment test. In the valuation of goodwill, management must make assumptions regarding estimated future cash flows to be derived from the Company's business. If these estimates or their related assumptions change in the future, the Company may be required to record impairment for these assets. Management may first evaluate qualitative factors to assess if it is more likely than not that the fair value of a reporting unit is less than its carrying amount and to determine if a two-step impairment test is necessary. Management may choose to proceed directly to the two-step evaluation, bypassing the initial qualitative assessment. The first step of the impairment test involves comparing the fair value of the reporting unit to its net book value, including goodwill. If the net book value exceeds its fair value, then the Company would perform the second step of the goodwill impairment test to determine the amount of the impairment loss. The impairment loss would be calculated by comparing the implied fair value of the goodwill to its net book value. In calculating the implied fair value of goodwill, the fair value of the entity would be allocated to all of the other assets and liabilities based on their fair values. The excess of the fair value of the entity over the amount assigned to other assets and liabilities is the implied fair value of goodwill. An impairment loss would be recognized when the carrying amount of goodwill exceeds its implied fair value. No goodwill impairment charges have been recorded for any period presented.

(v)    Impairment of Long-Lived Assets

The Company evaluates long-lived assets, including property and equipment and intangible assets, for impairment whenever events or changes in circumstances indicate that the carrying amount of an asset may not be recoverable. Recoverability of assets held and used is measured by a comparison of the carrying amount of an asset or an asset group to estimated undiscounted future net cash flows expected to be generated by the asset or asset group. If such evaluation indicates that the carrying amount of the asset or the asset group is not recoverable, any impairment loss would be equal to the amount the carrying value exceeds the fair value. There was no impairment during the years ended December 31, 2016, 2015 and 2014. The value of the internally-developed software written-off due to abandonment was $0.7 million, $0.1 million and none in the years ended December 31, 2016, 2015 and 2014, respectively.

(w)    Deferred Revenue

Deferred revenue consists of cash deposits from customers to be applied against future usage and customer billings in advance of revenues being recognized from the Company's contracts. Deferred revenue is generally expected to be recognized during the succeeding 12-month period and is thus recorded as a current liability.

(x)    Business Combinations

The Company recognizes identifiable assets acquired and liabilities assumed at their acquisition date fair values. Goodwill is measured as the excess of the consideration transferred over the fair value of assets acquired and liabilities assumed on the acquisition date. While the Company uses its best estimates and assumptions as part of the purchase price allocation process to accurately value assets acquired and liabilities assumed, these estimates are inherently uncertain and subject to refinement. The authoritative guidance allows a measurement period of up to one year from the date of acquisition to make adjustments to the preliminary allocation of the purchase price. As a result, during the measurement period the Company may record adjustments to the fair values of assets acquired and liabilities assumed, with the corresponding offset to goodwill to the extent that it identifies adjustments to the preliminary purchase price allocation. Upon conclusion of the measurement period or final determination of the values of the assets acquired and liabilities assumed, whichever comes first, any subsequent adjustments will be recorded to the consolidated statement of operations.

(y)    Segment Information

The Company's Chief Executive Officer is the chief operating decision maker, who reviews the Company's financial information presented on a consolidated basis for purposes of allocating resources and evaluating the Company's financial performance. Accordingly, the Company has determined that it operates in a single reporting segment.

(z)    Fair Value of Financial Instruments

The Company records certain of its financial assets at fair value on a recurring basis. The Company's financial instruments, which include cash, cash equivalents, accounts receivable and accounts payable are recorded at their carrying amounts, which approximate their fair values due to their short-term nature. Restricted cash is long-term in nature. However, it consists of cash in a savings account, hence its carrying amount approximates its fair value. The accounting guidance for fair value provides a framework for measuring fair value, clarifies the definition of fair value, and expands disclosures regarding fair value measurements. Fair value is defined as the price that would be received to sell an asset or paid to transfer a liability (an exit price) in an orderly transaction between market participants at the reporting date. The accounting guidance establishes a three-tiered hierarchy, which prioritizes the inputs used in the valuation methodologies in measuring fair value as follows:

 

Level 1 Inputs: Unadjusted quoted prices in active markets for identical assets or liabilities accessible to the reporting entity at the measurement date.

Level 2 Inputs: Other than quoted prices included in Level 1 inputs that are observable for the asset or liability, either directly or indirectly, for substantially the full term of the asset or liability.

Level 3 Inputs: Unobservable inputs for the asset or liability used to measure fair value to the extent that observable inputs are not available, thereby allowing for situations in which there is little, if any, market activity for the asset or liability at measurement date.

A financial instrument's categorization within the valuation hierarchy is based upon the lowest level of input that is significant to the fair value measurement.

(aa)    Recent Accounting Pronouncements Not Yet Adopted

In January 2017, the FASB issued ASU 2017-04, "Simplifying the Test for Goodwill Impairment", which removes the second step of the goodwill impairment test that requires a hypothetical purchase price allocation. A goodwill impairment will now be the amount by which a reporting unit's carrying value exceeds its fair value, not to exceed the carrying amount of goodwill. This guidance is effective for interim and annual reporting periods beginning after December 15, 2019 and will be applied prospectively. Management does not expect the adoption of this guidance to have any impact on the Company's financial position, results of operations or cash flows.

In January 2017, the FASB issued ASU 2017-01, "Business Combinations (Topic 805) Clarifying the Definition of a Business", which amends the guidance of FASB Accounting Standards Codification Topic 805, "Business Combinations", adding guidance to assist entities with evaluating whether transactions should be accounted for as acquisitions or disposals of assets or businesses. The definition of a business affects many areas of accounting including acquisitions, disposals, goodwill, and consolidation. This guidance is effective for annual and interim periods beginning after December 15, 2017, and early adoption is permitted under certain circumstances. The Company will evaluate the impact of this guidance on its financial statements and related disclosures next time there is a potential business combination.

In November 2016, the FASB issued ASU 2016-18, "Restricted Cash", which requires a statement of cash flows to explain the change during the period in the total of cash, cash equivalents and amounts generally described as restricted cash and restricted cash equivalents when reconciling the beginning-of-period and end-of-period total amounts shown on the statement of cash flows. This guidance is effective for annual and interim periods beginning after December 15, 2017, and early adoption is permitted. The Company is evaluating the impact of this guidance on its consolidated financial statements and related disclosures.

In October 2016, the FASB issued ASU 2016-16, "Intra-Entity Transfers Other Than Inventory", which requires entities to recognize the income tax consequences of an intra-entity transfer of an asset other than inventory when the transfer occurs. This guidance is effective for annual and interim periods beginning after December 15, 2017, and early adoption is permitted. The Company is evaluating the impact of this guidance on its consolidated financial statements and related disclosures.

In June 2016, the FASB issued ASU No. 2016-13, "Financial Instruments—Credit Losses: Measurement of Credit Losses on Financial Instruments", which changes the impairment model for most financial assets. The new model uses a forward-looking expected loss method, which will generally result in earlier recognition of allowances for losses. This guidance is effective for annual and interim periods beginning after December 15, 2019 and early adoption is permitted for annual and interim periods beginning after December 15, 2018. The Company is evaluating the impact of this guidance on its consolidated financial statements and related disclosures.

In February 2016, the FASB issued ASU No. 2016-02, "Leases." The standard will affect all entities that lease assets and will require lessees to recognize a lease liability and a right-of-use asset for all leases (except for short-term leases that have a duration of less than one year) as of the date on which the lessor makes the underlying asset available to the lessee. For lessors, accounting for leases is substantially the same as in prior periods. This guidance is effective for fiscal years beginning after December 15, 2018, including interim periods within those fiscal years. Early adoption is permitted. For leases existing at, or entered into after, the beginning of the earliest comparative period presented in the financial statements, lessees and lessors must apply a modified retrospective transition approach. While the Company expects the adoption of this standard to result in an increase to its reported assets and liabilities, the Company has not yet determined the full impact that the adoption of this standard will have on its consolidated financial statements and related disclosures.

In May 2014, the FASB issued ASU 2014-09, "Revenue from Contracts with Customers". This new guidance will replace most existing U.S. GAAP guidance on this topic. The new revenue recognition standard provides a unified model to determine when and how revenue is recognized. The core principle is that a company should recognize revenue to depict the transfer of promised goods or services to customers in an amount that reflects the consideration for which the entity expects to be entitled in exchange for those goods or services. In August 2015, the FASB issued ASU 2015-14 which deferred, by one year, the effective date for the new revenue reporting standard for entities reporting under U.S. GAAP. In accordance with the deferral, this guidance will be effective for the Company beginning January 1, 2018 and can be applied either retrospectively to each period presented or as a cumulative-effect adjustment as of the date of adoption. Early adoption is permitted beginning January 1, 2017. In March 2016, the FASB issued ASU 2016-08, "Revenue from Contracts with Customers, Principal versus Agent Considerations (Reporting Revenue Gross versus Net)" clarifying the implementation guidance on principal versus agent considerations. Specifically, an entity is required to determine whether the nature of a promise is to provide the specified good or service itself (that is, the entity is a principal) or to arrange for the good or service to be provided to the customer by the other party (that is, the entity is an agent). The determination influences the timing and amount of revenue recognition. In April 2016, the FASB issued ASU 2016-10, "Revenue from Contracts with Customers, Identifying Performance Obligations and Licensing", clarifying the implementation guidance on identifying performance obligations and licensing. Specifically, the amendments reduce the cost and complexity of identifying promised goods or services and improve the guidance for determining whether promises are separately identifiable. The amendments also provide implementation guidance on determining whether an entity's promise to grant a license provides a customer with either a right to use the entity's intellectual property (which is satisfied at a point in time) or a right to access the entity's intellectual property (which is satisfied over time). In May 2016, the FASB issued ASU 2016-12 "Revenue from Contracts with Customers (Topic 606), Narrow-Scope Improvements and Practical Expedients", which amends the guidance on transition, collectability, noncash consideration and the presentation of sales and other similar taxes. ASU 2016-12 clarifies that, for a contract to be considered completed at transition, all (or substantially all) of the revenue must have been recognized under legacy GAAP. In addition, ASU 2016-12 clarifies how an entity should evaluate the collectability threshold and when an entity can recognize nonrefundable consideration received as revenue if an arrangement does not meet the standard's contract criteria. Finally, ASU 2016-20 makes minor corrections or minor improvements to the Codification that are not expected to have a significant effect on current accounting practice or create a significant administrative cost to most entities. The effective date and transition requirements for ASU 2016-08, ASU 2016-10, ASU 2016-12 and ASU 2016-20 are the same as the effective date and transition requirements for ASU 2014-09. The Company is currently evaluating the impact that these ASUs will have on its consolidated financial statements and related disclosures and expects to complete this evaluation in the first quarter of 2017. The Company anticipates disclosing its selected transition method in conjunction with the filing of its quarterly report on Form 10-Q for the quarter ending March 31, 2017.

Summary of Significant Accounting Policies (Tables)

                                                                                                                                                                                    

Capitalized software development costs

 

3 years

Office equipment

 

3 years

Furniture and fixtures

 

5 years

Software

 

3 years

Leasehold improvements

 

Shorter of 5 years or remaining lease term

 

                                                                                                                                                                                    

Developed technology

 

3 years

Customer relationship

 

5 years

Trade names

 

2 years

Patents

 

20 years

Trademarks

 

Indefinite

Domain names

 

Indefinite

 

Fair Value Measurements (Tables)
Schedule of assets measured at fair value on a recurring basis

 

The following table provides the assets measured at fair value on a recurring basis as of December 31, 2016 and 2015 (in thousands):

                                                                                                                                                                                    

 

 

 

 

As of December 31, 2016

 

 

 

Total Carrying
Value

 

 

 

Level I

 

Level 2

 

Level 3

 

Total

 

Financial Assets:

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

Money market funds (included in cash and cash equivalents)

 

$

274,135 

 

$

274,135 

 

$

 

$

 

$

274,135 

 

​  

​  

​  

​  

​  

​  

​  

​  

​  

​  

Total financial assets

 

$

274,135 

 

$

274,135 

 

$

 

$

 

$

274,135 

 

​  

​  

​  

​  

​  

​  

​  

​  

​  

​  

​  

​  

​  

​  

​  

​  

​  

​  

​  

​  

 

                                                                                                                                                                                    

 

 

 

 

As of December 31, 2015

 

 

 

Total Carrying
Value

 

 

 

Level 1

 

Level 2

 

Level 3

 

Total

 

Financial Assets:

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

Money market funds (included in cash and cash equivalents)

 

$

80,886 

 

$

80,886 

 

$

 

$

 

$

80,886 

 

​  

​  

​  

​  

​  

​  

​  

​  

​  

​  

Total financial assets

 

$

80,886 

 

$

80,886 

 

$

 

$

 

$

80,886 

 

​  

​  

​  

​  

​  

​  

​  

​  

​  

​  

​  

​  

​  

​  

​  

​  

​  

​  

​  

​  

 

Property and Equipment (Tables)

Property and equipment consisted of the following (in thousands):

                                                                                                                                                                                    

 

 

As of December 31,

 

 

 

2016

 

2015

 

Capitalized software development costs

 

$

28,661

 

$

16,030

 

Leasehold improvements

 

 

14,063

 

 

568

 

Office equipment

 

 

5,729

 

 

2,662

 

Furniture and fixtures

 

 

1,576

 

 

393

 

Software

 

 

968

 

 

755

 

​  

​  

​  

​  

Total property and equipment

 

 

50,997

 

 

20,408

 

Less: accumulated depreciation and amortization

 

 

(13,445

)

 

(6,350

)

​  

​  

​  

​  

Total property and equipment, net

 

$

37,552

 

$

14,058

 

​  

​  

​  

​  

​  

​  

​  

​  

 

The amortization expense was allocated as follows (in thousands):

                                                                                                                                                                                    

 

 

Year Ended December 31,

 

 

 

2016

 

2015

 

2014

 

Cost of revenue

 

$

3,304 

 

$

1,793 

 

$

783 

 

Research and development

 

 

2,182 

 

 

1,045 

 

 

415 

 

​  

​  

​  

​  

​  

​  

Total

 

$

5,486 

 

$

2,838 

 

$

1,198 

 

​  

​  

​  

​  

​  

​  

​  

​  

​  

​  

​  

​  

 

Business Combinations (Tables)

The following table presents the purchase price allocation recorded in the Company's consolidated balance sheet on the acquisition date (in thousands):

                                                                                                                                                                                    

 

 

Total

 

Net tangible assets(3)

 

$

1,217 

 

Goodwill(1)(3)

 

 

3,113 

 

Intangible assets(2)

 

 

1,760 

 

​  

​  

Total purchase price

 

$

6,090 

 

​  

​  

​  

​  

The Company acquired a net deferred tax liability of $0.1 million in this business combination.

 


 

(1)

Goodwill represents the excess of purchase price over the fair value of identifiable tangible and intangible assets acquired and liabilities assumed. The goodwill in this transaction is primarily attributable to the future cash flows to be realized from the acquired technology platform, existing customer base and the future development initiatives of the assembled workforce. None of the goodwill is deductible for tax purposes.

 

(2)

Identifiable finite-lived intangible assets were comprised of the following:

 

                                                                                                                                                                                    

 

 

Total

 

Estimated
life
(in years)

 

Developed technology

 

$

1,300 

 

 

 

Customer relationships

 

 

400 

 

 

 

Trade name

 

 

60 

 

 

 

​  

​  

Total intangible assets acquired

 

$

1,760 

 

 

 

 

​  

​  

​  

​  

 

 

(3)

As part of net tangible assets, the Company acquired $66,000 in accounts receivable subject to dispute resolution with a customer. The matter was resolved later in 2015 and $52,000 was deemed uncollectible immediately prior to the date of acquisition. The Company's adjustment of its initial purchase price allocation resulted in an increase to goodwill and decrease to net tangible assets of $52,000. After the adjustment, the purchase price allocation related to this acquisition became final. Goodwill balance as of December 31, 2015 was as follows:

 

                                                                                                                                                                                    

 

 

Total

 

Balance as of December 31, 2014

 

$

 

Goodwill recorded in connection with Authy acquisition

 

 

3,113 

 

Subsequent adjustment to purchase price allocation

 

 

52 

 

​  

​  

Balance as of December 31, 2015

 

$

3,165 

 

​  

​  

​  

​  

 

 

                                                                                                                                                                                    

 

 

Total

 

Estimated
life
(in years)

 

Developed technology

 

$

1,300 

 

 

 

Customer relationships

 

 

400 

 

 

 

Trade name

 

 

60 

 

 

 

​  

​  

Total intangible assets acquired

 

$

1,760 

 

 

 

 

​  

​  

​  

​  

 

 

 

                                                                                                                                                                                    

 

 

Total

 

Balance as of December 31, 2014

 

$

 

Goodwill recorded in connection with Authy acquisition

 

 

3,113 

 

Subsequent adjustment to purchase price allocation

 

 

52 

 

​  

​  

Balance as of December 31, 2015

 

$

3,165 

 

​  

​  

​  

​  

 

The following table presents the purchase price allocation recorded in the Company's consolidated balance sheet on the acquisition date (in thousands):

                                                                                                                                                                                    

 

 

Total

 

Intangible assets(1)

 

$

8,100 

 

Goodwill(2)

 

 

400 

 

​  

​  

Total purchase price

 

$

8,500 

 

​  

​  

​  

​  


 

(1)The intangible assets consist of developed technology with the estimated useful life of 3 years on the date of acquisition.

(2)The goodwill in this transaction is primarily attributable to the future cash flows to be realized from the acquired technology and the future development initiatives of the acquired workforce. The goodwill is deductible for tax purposes.

Goodwill and Intangible Assets (Tables)

                                                                                                                                                                                   

Balance as of December 31, 2014

 

$

 

Goodwill recorded in connection with Authy acquisition

 

 

3,165 

 

​  

​  

Balance as of December 31, 2015

 

 

3,165 

 

Goodwill recorded in connection with Kurento acquisition

 

 

400 

 

​  

​  

Balance as of December 31, 2016

 

$

3,565 

 

 

Intangible assets consisted of the following (in thousands):

                                                                                                                                                                                    

 

 

As of December 31, 2016

 

 

 

Gross

 

Accumulated
Amortization

 

Net

 

Amortizable intangible assets:

 

 

 

 

 

 

 

 

 

 

Developed technology

 

$

9,400

 

$

(1,140

)

$

8,260

 

Customer relationships

 

 

400

 

 

(148

)

 

252

 

Trade name

 

 

60

 

 

(56

)

 

4

 

Patent

 

 

1,512

 

 

(55

)

 

1,457

 

​  

​  

​  

​  

​  

​  

Total amortizable intangible assets

 

 

11,372

 

 

(1,399

)

 

9,973

 

​  

​  

​  

​  

​  

​  

Non-amortizable intangible assets:

 

 

 

 

 

 

 

 

 

 

Domain names

 

 

32

 

 

 

 

32

 

Trademarks

 

 

263

 

 

 

 

263

 

​  

​  

​  

​  

​  

​  

Total

 

$

11,667

 

$

(1,399

)

$

10,268

 

​  

​  

​  

​  

​  

​  

​  

​  

​  

​  

​  

​  

 

                                                                                                                                                                                    

 

 

As of December 31, 2015

 

 

 

Gross

 

Accumulated
Amortization

 

Net

 

Developed technology

 

$

1,300

 

$

(370

)

$

930

 

Customer relationships

 

 

400

 

 

(68

)

 

332

 

Trade name

 

 

60

 

 

(26

)

 

34

 

Patent

 

 

1,021

 

 

(25

)

 

996

 

​  

​  

​  

​  

​  

​  

Total

 

$

2,781

 

$

(489

)

$

2,292

 

​  

​  

​  

​  

​  

​  

​  

​  

​  

​  

​  

​  

 

Total estimated future amortization expense was as follows (in thousands):

                                                                                                                                                                                    

 

 

As of
December 31,
2016

 

2017

 

$

3,263 

 

2018

 

 

2,890 

 

2019

 

 

2,488 

 

2020

 

 

58 

 

2021

 

 

46 

 

Thereafter

 

 

1,228 

 

​  

​  

Total

 

$

9,973 

 

​  

​  

​  

​  

 

Accrued Expenses and Other Liabilities (Tables)

Accrued expenses and other current liabilities consisted of the following (in thousands):

                                                                                                                                                                                    

 

 

As of
December 31,

 

 

 

2016

 

2015

 

Accrued payroll and related

 

$

7,497 

 

$

972 

 

Accrued bonus and commission

 

 

2,251 

 

 

1,832 

 

Accrued cost of revenue

 

 

8,741 

 

 

6,496 

 

Sales and other taxes payable

 

 

28,795 

 

 

17,634 

 

Deferred rent

 

 

1,250 

 

 

206 

 

Accrued other expense

 

 

10,774 

 

 

4,858 

 

​  

​  

​  

​  

Total accrued expenses and other current liabilities

 

$

59,308 

 

$

31,998 

 

​  

​  

​  

​  

​  

​  

​  

​  

 

 

Other long-term liabilities consisted of the following (in thousands):

                                                                                                                                                                                    

 

 

As of
December 31,

 

 

 

2016

 

2015

 

Deferred rent

 

$

9,387 

 

$

364 

 

Accrued other expense

 

 

156 

 

 

84 

 

​  

​  

​  

​  

Total other long-term liabilities

 

$

9,543 

 

$

448 

 

​  

​  

​  

​  

​  

​  

​  

​  

 

Supplemental Balance Sheet Information (Tables)

A roll-forward of the Company's reserves for the years ended December 31, 2016, 2015 and 2014 is as follows (in thousands):

Allowance for doubtful accounts:

                                                                                                                                                                                    

 

 

Year Ended December 31,

 

 

 

2016

 

2015

 

2014

 

Balance, beginning of period

 

$

486

 

$

210

 

$

98

 

Additions

 

 

1,145

 

 

705

 

 

261

 

Write-offs

 

 

(555

)

 

(429

)

 

(149

)

​  

​  

​  

​  

​  

​  

Balance, end of period

 

$

1,076

 

$

486

 

$

210

 

​  

​  

​  

​  

​  

​  

​  

​  

​  

​  

​  

​  

 

A roll-forward of the Company's reserves for the years ended December 31, 2016, 2015 and 2014 is as follows (in thousands):

Sales credit reserve:

                                                                                                                                                                                    

 

 

Year Ended December 31,

 

 

 

2016

 

2015

 

2014

 

Balance, beginning of period

 

$

714

 

$

312

 

$

30

 

Additions

 

 

1,348

 

 

1,210

 

 

683

 

Deductions against reserve

 

 

(1,518

)

 

(808

)

 

(401

)

​  

​  

​  

​  

​  

​  

Balance, end of period

 

$

544

 

$

714

 

$

312

 

​  

​  

​  

​  

​  

​  

​  

​  

​  

​  

​  

​  

 

Revenue by Geographic Area (Tables)
Schedule of revenue by geographic area

Revenue by geographic area is based on the IP address at the time of registration. The following table sets forth revenue by geographic area (in thousands):

                                                                                                                                                                                    

 

 

Year Ended December 31,

 

 

 

2016

 

2015

 

2014

 

Revenue by geographic area:

 

 

 

 

 

 

 

 

 

 

United States

 

$

233,922 

 

$

143,145 

 

$

78,251 

 

International

 

 

43,413 

 

 

23,774 

 

 

10,595 

 

​  

​  

​  

​  

​  

​  

Total

 

$

277,335 

 

$

166,919 

 

$

88,846 

 

​  

​  

​  

​  

​  

​  

​  

​  

​  

​  

​  

​  

Percentage of revenue by geographic area:

 

 

 

 

 

 

 

 

 

 

United States

 

 

84 

%

 

86 

%

 

88 

%

International

 

 

16 

%

 

14 

%

 

12 

%

 

Commitments and Contingencies (Tables)

Future minimum lease payments under non-cancelable operating leases were as follows (in thousands):

                                                                                                                                                                                    

Year Ending December 31:(1) 

 

As of
December 31,
2016

 

2017

 

$

7,534 

 

2018

 

 

6,979 

 

2019

 

 

7,165 

 

2020

 

 

7,037 

 

2021

 

 

7,033 

 

Thereafter

 

 

16,052 

 

​  

​  

Total minimum lease payments

 

$

51,800 

 

​  

​  

​  

​  


 

(1)The future minimum lease payments related to the 375 Beale Street lease do not include the tenant improvement allowance available under the lease.

Future minimum payments under other existing noncancellable purchase obligations were as follows (in thousands)

                                                                                                                                                                                    

Year Ending December 31:

 

As of
December 31,
2016

 

2017

 

$

19,034 

 

2018

 

 

19,373 

 

2019

 

 

23,498 

 

2020

 

 

68 

 

2021

 

 

23 

 

​  

​  

Total payments

 

$

61,996 

 

​  

​  

​  

​  

 

Stockholders' Equity (Tables)

As of December 31, 2015, the Company had outstanding Series A, B, C, D, E and T convertible preferred stock (individually referred to as "Series A, B, C, D, E or T" or collectively "Preferred Stock") as follows (in thousands, except share data).                                                                                                                                                                  

 

 

As of December 31, 2015

 

 

 

Shares
Authorized

 

Shares Issued and
Outstanding

 

Aggregate
Liquidation
preference

 

Proceeds, Net
of Issuance
Costs

 

Series A

 

 

13,173,240 

 

 

13,076,491 

 

$

4,590 

 

$

4,592 

 

Series B

 

 

11,416,062 

 

 

11,146,895 

 

 

11,717 

 

 

11,658 

 

Series C

 

 

8,452,864 

 

 

8,452,864 

 

 

25,250 

 

 

25,196 

 

Series D

 

 

9,440,324 

 

 

9,440,324 

 

 

70,000 

 

 

69,930 

 

Series E

 

 

11,494,249 

 

 

11,494,249 

 

 

130,000 

 

 

125,448 

 

Series T

 

 

5,000,000 

 

 

897,618 

(1)

 

 

 

(2)

​  

​  

​  

​  

​  

​  

​  

​  

Total

 

 

58,976,739 

 

 

54,508,441 

 

$

241,566 

 

$

236,824 

 

​  

​  

​  

​  

​  

​  

​  

​  

​  

​  

​  

​  

​  

​  

​  

​  


 

(1)The outstanding shares include 687,885 shares held in escrow as of December 31, 2015 related to the Authy acquisition. Of these shares, 507,885 shares were subject to graded vesting over a period of three years, as amended, and had a fair value of $4.0 million. A total of 127,054 shares were subject to certain performance conditions and were returned to the issuer in the third quarter 2016 due to the non-fulfillment of certain conditions of the merger agreement. All remaining unvested shares vested in the fourth quarter of 2016.

(2)389,733 shares were issued as part of the purchase price for Authy acquisition and had a fair value of $3.1 million on the acquisition closing date.

                                                                                                                                                                                    

 

 

As of December 31,

 

 

 

2016

 

2015

 

Convertible preferred stock outstanding

 

 

 

 

54,508,441(1)

 

Stock options issued and outstanding

 

 

14,649,276 

 

 

16,883,837 

 

Nonvested restricted stock units issued and outstanding

 

 

2,034,217 

 

 

71,000 

 

Common stock reserved for Twilio.org

 

 

680,397 

 

 

888,022 

 

Stock-based awards available for grant under 2008 Plan

 

 

 

 

14,920 

 

Stock-based awards available for grant under 2016 Plan

 

 

10,143,743 

 

 

 

Common stock reserved for issuance under 2016 ESPP

 

 

597,038 

 

 

 

​  

​  

​  

​  

Total

 

 

28,104,671 

 

 

72,366,220 

 

​  

​  

​  

​  

​  

​  

​  

​  


 

(1)Includes 687,885 shares of Series T convertible preferred stock related to the Authy acquisition held in escrow as of December 31, 2015.

Stock-Based Compensation (Tables)

                                                                                                                                                                                    

 

 

Number of
options
outstanding

 

Weighted-
average
exercise
price
(per share)

 

Weighted-
average
remaining
contractual
term
(in years)

 

Aggregate
intrinsic value
(in thousands)

 

Outstanding options as of December 31, 2015

 

 

16,883,837

 

$

5.31

 

 

8.30

 

$

80,758

 

Granted

 

 

1,894,850

 

 

10.73

 

 

 

 

 

 

 

Exercised

 

 

(2,294,652

)

 

3.97

 

 

 

 

 

 

 

Forfeited and cancelled

 

 

(1,834,759

)

 

5.95

 

 

 

 

 

 

 

​  

​  

Outstanding options as of December 31, 2016

 

 

14,649,276

 

$

6.14

 

 

7.52

 

$

332,716

 

​  

​  

​  

​  

Options vested and exercisable as of December 31, 2016

 

 

7,075,211

 

$

4.30

 

 

6.48

 

$

173,678

 

​  

​  

​  

​  

 

                                                                                                                                                                                   

 

 

Number of
options
outstanding

 

Weighted-
average
grant date
fair value
(per share)

 

Aggregate
intrinsic
value
(in thousands)

 

Nonvested RSUs as of December 31, 2015

 

 

71,000

 

$

9.39

 

$

716

 

Granted

 

 

2,162,890

 

 

32.10

 

 

 

 

Vested

 

 

(87,523

)

 

19.09

 

 

 

 

Forfeited and cancelled

 

 

(112,150

)

 

17.80

 

 

 

 

​  

​  

Nonvested RSUs as of December 31, 2016

 

 

2,034,217

 

$

32.66

 

$

58,687

 

​  

​  

​  

​  

 

                                                                                                                                                                                    

 

 

Year Ended December 31,

 

 

2016

 

2015

 

2014

Employee Stock Options

 

 

 

 

 

 

Fair value of common stock

 

$10.09 - $15.00

 

$7.07 - $10.09

 

$3.99 - $6.69

Expected term (in years)

 

6.08

 

6.08

 

5.27 - 6.57

Expected volatility

 

51.4% - 53.0%

 

47.8% - 54.9%

 

54.4%

Risk-free interest rate

 

1.3% - 1.5%

 

1.4% - 2.0%

 

1.7% - 2.0%

Dividend rate

 

0%

 

0%

 

0%

Employee Stock Purchase Plan

 

 

 

 

 

 

Expected term (in years)

 

0.90

 

 

Expected volatility

 

52%

 

 

Risk-free interest rate

 

0.6%

 

 

Dividend rate

 

0%

 

 

 

The Company recorded the total stock-based compensation expense as follows (in thousands):

                                                                                                                                                                                    

 

 

Year Ended December 31,

 

 

 

2016

 

2015

 

2014

 

Cost of revenue

 

$

291 

 

$

65 

 

$

39 

 

Research and development

 

 

12,946 

 

 

4,046 

 

 

1,577 

 

Sales and marketing

 

 

4,972 

 

 

2,389 

 

 

1,335 

 

General and administrative

 

 

6,016 

 

 

2,377 

 

 

1,027 

 

​  

​  

​  

​  

​  

​  

Total

 

$

24,225 

 

$

8,877 

 

$

3,978 

 

​  

​  

​  

​  

​  

​  

​  

​  

​  

​  

​  

​  

 

Net Loss per Share Attributable to Common Stockholders (Tables)

 

The following table sets forth the calculation of basic and diluted net loss per share attributable to common stockholders during the periods presented (in thousands, except per share data):

                                                                                                                                                                                    

 

 

Year Ended December 31,

 

 

 

2016

 

2015

 

2014

 

Net loss attributable to common stockholders

 

$

(41,324

)

$

(38,896

)

$

(26,758

)

​  

​  

​  

​  

​  

​  

​  

​  

​  

​  

​  

​  

Weighted-average shares used to compute net loss per share attributable to common stockholders, basic and diluted

 

 

53,116,675

 

 

17,746,526

 

 

16,900,124

 

​  

​  

​  

​  

​  

​  

​  

​  

​  

​  

​  

​  

Net loss per share attributable to common stockholders, basic and diluted

 

$

(0.78

)

$

(2.19

)

$

(1.58

)

​  

​  

​  

​  

​  

​  

​  

​  

​  

​  

​  

​  

 

 

                                                                                                                                                                                    

 

 

Year Ended December 31,

 

 

 

2016

 

2015

 

2014

 

Convertible preferred stock outstanding

 

 

 

 

54,508,441 

(1)

 

42,482,490 

 

Stock options issued and outstanding

 

 

14,649,276 

 

 

16,883,837 

 

 

13,141,311 

 

Nonvested restricted stock units issued and outstanding

 

 

2,034,217 

 

 

71,000 

 

 

 

Common stock reserved for Twilio.org

 

 

680,397 

 

 

888,022 

 

 

 

Shares committed under 2016 ESPP

 

 

597,038 

 

 

 

 

 

Unvested shares subject to repurchase

 

 

49,580 

 

 

52,407 

 

 

127,316 

 

​  

​  

​  

​  

​  

​  

Total

 

 

18,010,508 

 

 

72,403,707 

 

 

55,751,117 

 

​  

​  

​  

​  

​  

​  

​  

​  

​  

​  

​  

​  


 

(1)Includes 687,885 shares as of December 31, 2015 of Series T convertible preferred stock related to the Authy acquisition held in escrow.

Income Taxes (Tables)

The following table presents domestic and foreign components of loss before income taxes for the periods presented (in thousands):

                                                                                                                                                                                    

 

 

Year Ended December 31,

 

 

 

2016

 

2015

 

2014

 

United States

 

$

(14,002

)

$

(23,962

)

$

(26,837

)

International

 

 

(26,996

)

 

(11,420

)

 

92

 

​  

​  

​  

​  

​  

​  

Loss before provision for income taxes

 

$

(40,998

)

$

(35,382

)

$

(26,745

)

​  

​  

​  

​  

​  

​  

​  

​  

​  

​  

​  

​  

 

 

Provision for income taxes consists of the following (in thousands):

                                                                                                                                                                                    

 

 

Year Ended
December 31,

 

 

 

2016

 

2015

 

2014

 

Current:

 

 

 

 

 

 

 

 

 

 

Federal

 

$

 

$

 

$

 

State

 

 

83

 

 

45

 

 

 

Foreign

 

 

214

 

 

213

 

 

13

 

​  

​  

​  

​  

​  

​  

Total

 

 

297

 

 

258

 

 

13

 

Deferred:

 

 

 

 

 

 

 

 

 

 

Federal

 

 

2

 

 

(109

)

 

 

State

 

 

 

 

 

 

 

Foreign

 

 

27

 

 

(27

)

 

 

​  

​  

​  

​  

​  

​  

Total

 

 

29

 

 

(136

)

 

 

​  

​  

​  

​  

​  

​  

Provision for income taxes

 

 

326

 

$

122

 

$

13

 

​  

​  

​  

​  

​  

​  

​  

​  

​  

​  

​  

​  

 

                                                                                                                                                                                    

 

 

Year Ended
December 31,

 

 

 

2016

 

2015

 

2014

 

Tax benefit at federal statutory rate

 

 

34

%

 

34

%

 

34

%

State tax, net of federal benefit

 

 

11

 

 

(3

)

 

7

 

Stock-based compensation

 

 

23

 

 

(8

)

 

(4

)

Credits

 

 

2

 

 

4

 

 

2

 

Foreign rate differential

 

 

(23

)

 

(11

)

 

 

Reserve for uncertain tax positions

 

 

(12

)

 

 

 

 

Change in valuation allowance

 

 

(34

)

 

(14

)

 

(39

)

Other

 

 

(2

)

 

(2

)

 

 

​  

​  

​  

​  

​  

​  

Effective tax rate

 

 

(1

)%

 

%

 

%

​  

​  

​  

​  

​  

​  

​  

​  

​  

​  

​  

​  

 

The following table presents the significant components of the Company's deferred tax assets and liabilities (in thousands):

                                                                                                                                                                                    

 

 

As of December 31,

 

 

 

2016

 

2015

 

2014

 

Deferred tax assets:

 

 

 

 

 

 

 

 

 

 

Net operating loss carryforwards

 

$

31,090

 

$

27,401

 

$

24,402

 

Accrued and prepaid expenses

 

 

16,698

 

 

7,603

 

 

5,573

 

Stock-based compensation

 

 

5,368

 

 

1,433

 

 

423

 

Research and development credits

 

 

7,807

 

 

6,022

 

 

3,918

 

Charitable contributions

 

 

1,458

 

 

 

 

 

​  

​  

​  

​  

​  

​  

Gross deferred tax assets

 

 

62,421

 

 

42,459

 

 

34,316

 

Valuation allowance

 

 

(49,601

)

 

(35,613

)

 

(30,559

)

​  

​  

​  

​  

​  

​  

Net deferred tax assets

 

 

12,820

 

 

6,846

 

 

3,757

 

Deferred tax liabilities:

 

 

 

 

 

 

 

 

 

 

Capitalized software

 

 

(7,086

)

 

(4,084

)

 

(2,019

)

Prepaid expenses

 

 

(452

)

 

(2,035

)

 

(1,607

)

Acquired intangibles

 

 

(152

)

 

(460

)

 

 

Property and equipment

 

 

(4,931

)

 

(240

)

 

(131

)

Other

 

 

(201

)

 

 

 

 

​  

​  

​  

​  

​  

​  

Net deferred tax asset (liability)

 

 

(2

)

$

27

 

$

 

​  

​  

​  

​  

​  

​  

​  

​  

​  

​  

​  

​  

 

A reconciliation of the beginning and ending amount of unrecognized tax benefits is as follows (in thousands):

                                                                                                                                                                                    

 

 

Year Ended
December 31,

 

 

 

2016

 

2015

 

2014

 

Unrecognized tax benefit, beginning of year

 

$

1,679 

 

$

1,024 

 

$

592 

 

Gross increases for tax positions of prior years

 

 

1,996 

 

 

 

 

 

Gross increases for tax positions of current years

 

 

8,600 

 

 

655 

 

 

432 

 

​  

​  

​  

​  

​  

​  

Unrecognized tax benefit, end of year

 

$

12,275 

 

$

1,679 

 

$

1,024 

 

​  

​  

​  

​  

​  

​  

​  

​  

​  

​  

​  

​  

 

Organization and Description of Business - Organization and Description of Business (Details)
Dec. 31, 2016
product
Organization and Description of Business
 
Number of basic categories of product offerings
Organization and Description of Business - Initial Public Offering (Details) (USD $)
In Millions, except Share data, unless otherwise specified
1 Months Ended
Jun. 30, 2016
Common Class B
 
Initial Public Offering
 
Shares issued upon automatic conversion (in shares)
54,508,441 
Conversion ratio
IPO |
Common Class A
 
Initial Public Offering
 
Shares sold (in shares)
11,500,000 
Share price (in dollars per share)
$ 15.00 
Proceeds received, after deducting underwriting discounts and offering expenses
$ 155.5 
Over-Allotment Option, IPO |
Common Class A
 
Initial Public Offering
 
Shares sold (in shares)
1,500,000 
Organization and Description of Business - Follow-on Public Offering (Details) (Common Class A, USD $)
In Millions, except Share data, unless otherwise specified
1 Months Ended
Oct. 31, 2016
Follow-on Public Offering
 
Follow-on Public Offering
 
Shares sold (in shares)
1,691,222 
Share price (in dollars per share)
$ 40.00 
Proceeds received, after deducting underwriting discounts and offering expenses
$ 64.4 
Over-Allotment Option, FPO
 
Follow-on Public Offering
 
Shares sold (in shares)
1,050,000 
Stock Sold by Certain Selling Stockholders
 
Follow-on Public Offering
 
Shares sold (in shares)
6,358,778 
Stock option exercises (in shares)
906,364 
Summary of Significant Accounting Policies - Concentration of Credit Risk (Details)
12 Months Ended
Dec. 31, 2016
customer
Dec. 31, 2015
customer
Dec. 31, 2014
customer
Revenue |
Credit Concentration Risk
 
 
 
Concentration of Credit Risk
 
 
 
Number of customers
Revenue |
Credit Concentration Risk |
Customer One
 
 
 
Concentration of Credit Risk
 
 
 
Concentration risk (as a percent)
14.00% 
 
 
Revenue |
Credit Concentration Risk |
Customer Two
 
 
 
Concentration of Credit Risk
 
 
 
Concentration risk (as a percent)
 
17.00% 
13.00% 
Accounts Receivable |
Customer Concentration Risk
 
 
 
Concentration of Credit Risk
 
 
 
Concentration risk (as a percent)
16.00% 
 
 
Number of customers
 
Accounts Receivable |
Customer Concentration Risk |
Customer One
 
 
 
Concentration of Credit Risk
 
 
 
Concentration risk (as a percent)
 
11.00% 
 
Accounts Receivable |
Customer Concentration Risk |
Customer Two
 
 
 
Concentration of Credit Risk
 
 
 
Concentration risk (as a percent)
 
11.00% 
 
Summary of Significant Accounting Policies - Revenue Recognition (Details) (Reserve for Sales Credits, USD $)
In Thousands, unless otherwise specified
Dec. 31, 2016
Dec. 31, 2015
Dec. 31, 2014
Dec. 31, 2013
Reserve for Sales Credits
 
 
 
 
Revenue Recognition
 
 
 
 
Reserve for sales credits
$ 544 
$ 714 
$ 312 
$ 30 
Summary of Significant Accounting Policies - Internal-Use Software Development Costs (Details) (Capitalized Software Development Costs)
12 Months Ended
Dec. 31, 2016
Capitalized Software Development Costs
 
Internal-Use Software Development Costs
 
Estimated useful life (in years)
3 years 
Summary of Significant Accounting Policies - Advertising Costs (Details) (USD $)
In Millions, unless otherwise specified
12 Months Ended
Dec. 31, 2016
Dec. 31, 2015
Dec. 31, 2014
Summary of Significant Accounting Policies
 
 
 
Advertising expense
$ 3.5 
$ 2.9 
$ 1.0 
Summary of Significant Accounting Policies - Stock-Based Compensation (Details) (Accounting Standards Update 2016-09, Early Adoption Impact, USD $)
3 Months Ended
Dec. 31, 2016
Accounting Standards Update 2016-09 |
Early Adoption Impact
 
Summary of Significant Accounting Policies
 
Increase in stock-based compensation expense for cumulative prior year impact
$ 100,000 
Increase in stock-based compensation expense for 2016 quarterly impact
$ 75,000 
Summary of Significant Accounting Policies - Comprehensive Loss (Details) (USD $)
In Thousands, unless otherwise specified
12 Months Ended
Dec. 31, 2016
Dec. 31, 2015
Dec. 31, 2014
Summary of Significant Accounting Policies
 
 
 
Other comprehensive income (loss)
$ 0 
$ 0 
$ 0 
Summary of Significant Accounting Policies - Net Loss Per Share Attributable to Common Stockholders (Details)
12 Months Ended
Dec. 31, 2016
Vote
Common Class A
 
Net Loss Per Share Attributable to Common Stockholders
 
Votes per share
Common Class B
 
Net Loss Per Share Attributable to Common Stockholders
 
Votes per share
10 
Ratio for option to convert to Class A
Summary of Significant Accounting Policies - Accounts Receivable and Allowance for Doubtful Accounts (Details) (USD $)
In Thousands, unless otherwise specified
Dec. 31, 2016
Dec. 31, 2015
Dec. 31, 2014
Dec. 31, 2013
Summary of Significant Accounting Policies
 
 
 
 
Allowance for doubtful accounts
$ 1,076 
$ 486 
$ 210 
$ 98 
Summary of Significant Accounting Policies - Property and Equipment (Details)
12 Months Ended
Dec. 31, 2016
Capitalized Software Development Costs
 
Property and Equipment
 
Estimated useful life (in years)
3 years 
Office Equipment
 
Property and Equipment
 
Estimated useful life (in years)
3 years 
Furniture and Fixtures
 
Property and Equipment
 
Estimated useful life (in years)
5 years 
Software
 
Property and Equipment
 
Estimated useful life (in years)
3 years 
Leasehold Improvements |
Maximum
 
Property and Equipment
 
Estimated useful life (in years)
5 years 
Summary of Significant Accounting Policies - Intangible Assets (Details)
12 Months Ended
Dec. 31, 2016
Developed Technology
 
Intangible Assets
 
Useful life (in years)
3 years 
Customer Relationships
 
Intangible Assets
 
Useful life (in years)
5 years 
Trade Name
 
Intangible Assets
 
Useful life (in years)
2 years 
Patent
 
Intangible Assets
 
Useful life (in years)
20 years 
Summary of Significant Accounting Policies - Goodwill (Details) (USD $)
In Thousands, unless otherwise specified
12 Months Ended
Dec. 31, 2016
item
Dec. 31, 2015
Dec. 31, 2014
Summary of Significant Accounting Policies
 
 
 
Number of reporting units
 
 
Goodwill impairment charges
$ 0 
$ 0 
$ 0 
Summary of Significant Accounting Policies - Impairment of Long Lived Assets (Details) (USD $)
12 Months Ended
Dec. 31, 2016
Dec. 31, 2015
Dec. 31, 2014
Summary of Significant Accounting Policies
 
 
 
Long-lived assets, including property and equipment and intangible assets, impairment loss
$ 0 
$ 0 
$ 0 
Value of internally-developed software written-off due to abandonment
$ 711,000 
$ 113,000 
$ 0 
Summary of Significant Accounting Policies - Segment Information (Details)
12 Months Ended
Dec. 31, 2016
segment
Summary of Significant Accounting Policies
 
Number of reportable segments
Fair Value Measurements - Assets Measured at Fair Value on a Recurring Basis (Details) (Recurring, USD $)
In Thousands, unless otherwise specified
Dec. 31, 2016
Dec. 31, 2015
Level 1
 
 
Fair Value Measurements
 
 
Total financial assets
$ 274,135 
$ 80,886 
Level 1 |
Money Market Funds
 
 
Fair Value Measurements
 
 
Money market funds (included in cash and cash equivalents)
274,135 
80,886 
Carrying Value
 
 
Fair Value Measurements
 
 
Total financial assets
274,135 
80,886 
Carrying Value |
Money Market Funds
 
 
Fair Value Measurements
 
 
Money market funds (included in cash and cash equivalents)
274,135 
80,886 
Fair Value
 
 
Fair Value Measurements
 
 
Total financial assets
274,135 
80,886 
Fair Value |
Money Market Funds
 
 
Fair Value Measurements
 
 
Money market funds (included in cash and cash equivalents)
$ 274,135 
$ 80,886 
Fair Value Measurements - Additional Disclosures (Details) (USD $)
In Thousands, unless otherwise specified
12 Months Ended
Dec. 31, 2016
Dec. 31, 2015
Dec. 31, 2014
Fair Value Measurements
 
 
 
Realized losses
$ 0 
$ 0 
$ 0 
Unrealized losses
Other-than-temporary impairments
$ 0 
$ 0 
 
Property and Equipment - Property and Equipment, Net (Details) (USD $)
In Thousands, unless otherwise specified
Dec. 31, 2016
Dec. 31, 2015
Property and Equipment
 
 
Total property and equipment
$ 50,997 
$ 20,408 
Less: accumulated depreciation and amortization
(13,445)
(6,350)
Total property and equipment, net
37,552 
14,058 
Capitalized Software Development Costs
 
 
Property and Equipment
 
 
Total property and equipment
28,661 
16,030 
Leasehold Improvements
 
 
Property and Equipment
 
 
Total property and equipment
14,063 
568 
Office Equipment
 
 
Property and Equipment
 
 
Total property and equipment
5,729 
2,662 
Furniture and Fixtures
 
 
Property and Equipment
 
 
Total property and equipment
1,576 
393 
Software
 
 
Property and Equipment
 
 
Total property and equipment
$ 968 
$ 755 
Property and Equipment - Depreciation and Amortization Expense (Details) (USD $)
In Millions, unless otherwise specified
12 Months Ended
Dec. 31, 2016
Dec. 31, 2015
Dec. 31, 2014
Property and Equipment
 
 
 
Depreciation and amortization
$ 7.4 
$ 3.7 
$ 1.7 
Property and Equipment - Capitalized Stock-Based Compensation Expense (Details) (USD $)
12 Months Ended
Dec. 31, 2016
Dec. 31, 2015
Dec. 31, 2014
Property and Equipment
 
 
 
Capitalized software development costs
$ 13,500,000 
$ 9,400,000 
$ 3,900,000 
Stock-based compensation capitalized in software development costs
$ 1,953,000 
$ 979,000 
$ 293,000 
Property and Equipment - Amortization of Capitalized Software Development Costs (Details) (USD $)
In Thousands, unless otherwise specified
12 Months Ended
Dec. 31, 2016
Dec. 31, 2015
Dec. 31, 2014
Property and Equipment
 
 
 
Capitalized software amortization expense
$ 5,486 
$ 2,838 
$ 1,198 
Cost of Revenue
 
 
 
Property and Equipment
 
 
 
Capitalized software amortization expense
3,304 
1,793 
783 
Research and Development Expense
 
 
 
Property and Equipment
 
 
 
Capitalized software amortization expense
$ 2,182 
$ 1,045 
$ 415 
Business Combinations - Consideration (Details) (USD $)
12 Months Ended 0 Months Ended 1 Months Ended
Dec. 31, 2015
Feb. 23, 2015
Authy, Inc.
Nov. 30, 2016
Certain Assets behind the Kurento Open Source Project
Business Combinations
 
 
 
Purchase price
 
$ 6,100,000 
$ 8,500,000 
Purchase price, cash
 
3,000,000 
8,500,000 
Purchase price, fair value of shares of Series T convertible preferred stock
3,087,000 
3,100,000 
 
Amount placed into an escrow account
 
 
$ 1,500,000 
Escrow effective period (in months and days)
 
 
24 months 10 days 
Business Combinations - Consideration - Shares of Stock (Details) (Authy, Inc., Preferred Stock, Series T Preferred Stock, USD $)
In Millions, except Share data, unless otherwise specified
0 Months Ended
Feb. 23, 2015
Dec. 31, 2016
Dec. 31, 2015
Feb. 23, 2015
Business Combinations
 
 
 
 
Shares issued (in shares)
389,733 
 
 
 
Shares held in escrow (in shares)
 
180,000 
687,885 
180,000 
Former Shareholder of Acquiree
 
 
 
 
Business Combinations
 
 
 
 
Shares issued to former shareholder (in shares)
507,885 
 
 
 
Fair value
 
 
 
$ 4.0 
Graded vesting period (in years)
3 years 
 
 
 
Reduction in unvested shares due to non-fulfillment of certain conditions of the merger agreement (in shares)
 
127,054 
 
 
Business Combinations - Cost of Shares Subject to Vesting and Performance Conditions (Details) (USD $)
In Thousands, unless otherwise specified
12 Months Ended
Dec. 31, 2016
Dec. 31, 2015
Dec. 31, 2014
Business Combinations
 
 
 
Stock-based compensation expense
$ 24,225 
$ 8,877 
$ 3,978 
Research and Development Expense
 
 
 
Business Combinations
 
 
 
Stock-based compensation expense
12,946 
4,046 
1,577 
Research and Development Expense |
Authy, Inc.
 
 
 
Business Combinations
 
 
 
Stock-based compensation expense
$ 2,400 
$ 600 
 
Business Combinations - Purchase Price Allocation (Details) (USD $)
Dec. 31, 2016
Dec. 31, 2015
Dec. 31, 2015
Authy, Inc.
Feb. 23, 2015
Authy, Inc.
Feb. 23, 2015
Authy, Inc.
Previously Reported
Nov. 30, 2016
Certain Assets behind the Kurento Open Source Project
Business Combinations
 
 
 
 
 
 
Net tangible assets
 
 
 
 
$ 1,217,000 
 
Goodwill
3,565,000 
3,165,000 
3,165,000 
 
3,113,000 
400,000 
Intangible assets
 
 
 
1,760,000 
1,760,000 
8,100,000 
Total purchase price
 
 
 
 
6,090,000 
8,500,000 
Net deferred tax liability
 
 
 
100,000 
 
 
Goodwill deductible for tax purposes
 
 
 
$ 0 
 
$ 400,000 
Business Combinations - Identifiable Finite-lived Intangible Assets (Details) (USD $)
In Thousands, unless otherwise specified
12 Months Ended 0 Months Ended 0 Months Ended 0 Months Ended 1 Months Ended
Dec. 31, 2016
Developed Technology
Dec. 31, 2016
Customer Relationships
Dec. 31, 2016
Trade Name
Feb. 23, 2015
Authy, Inc.
Feb. 23, 2015
Authy, Inc.
Developed Technology
Feb. 23, 2015
Authy, Inc.
Developed Technology
Feb. 23, 2015
Authy, Inc.
Customer Relationships
Feb. 23, 2015
Authy, Inc.
Customer Relationships
Feb. 23, 2015
Authy, Inc.
Trade Name
Feb. 23, 2015
Authy, Inc.
Trade Name
Nov. 30, 2016
Certain Assets behind the Kurento Open Source Project
Nov. 30, 2016
Certain Assets behind the Kurento Open Source Project
Developed Technology
Business Combinations
 
 
 
 
 
 
 
 
 
 
 
 
Intangible assets
 
 
 
$ 1,760 
 
$ 1,300 
 
$ 400 
 
$ 60 
$ 8,100 
 
Estimated life (in years)
3 years 
5 years 
2 years 
 
3 years 
 
5 years 
 
2 years 
 
 
3 years 
Business Combinations - Purchase Price Allocation Adjustment (Details) (USD $)
In Thousands, unless otherwise specified
Dec. 31, 2016
Dec. 31, 2015
Dec. 31, 2015
Authy, Inc.
Feb. 23, 2015
Authy, Inc.
Dec. 31, 2015
Authy, Inc.
Adjustment
Business Combinations
 
 
 
 
 
Accounts receivable subject to dispute
 
 
 
$ 66 
 
Accounts receivable subject to dispute, deemed uncollectable
 
 
 
52 
 
Goodwill
3,565 
3,165 
3,165 
 
52 
Net tangible assets
 
 
 
 
$ (52)
Business Combinations - Goodwill (Details) (USD $)
In Thousands, unless otherwise specified
12 Months Ended
Dec. 31, 2016
Dec. 31, 2015
Authy, Inc.
Goodwill
 
 
Balance at the beginning of the period
$ 3,165 
 
Goodwill recorded in connection with acquisitions
400 
3,113 
Subsequent adjustment to purchase price allocation
 
52 
Balance at the end of the period
$ 3,565 
$ 3,165 
Business Combinations - Acquisition Costs (Details) (General and Administrative Expense, USD $)
In Millions, unless otherwise specified
12 Months Ended 24 Months Ended 12 Months Ended
Dec. 31, 2015
Authy, Inc.
Dec. 31, 2014
Authy, Inc.
Dec. 31, 2015
Authy, Inc.
Dec. 31, 2016
Certain Assets behind the Kurento Open Source Project
Business Combinations
 
 
 
 
Acquisition related costs
$ 1.2 
$ 0.3 
$ 1.5 
$ 0.1 
Goodwill and Intangible Assets - Goodwill (Details) (USD $)
In Thousands, unless otherwise specified
12 Months Ended
Dec. 31, 2016
Dec. 31, 2015
Goodwill [Roll Forward]
 
 
Balance at the beginning of the period
$ 3,165 
 
Goodwill recorded in connection with the Authy acquisition
 
3,165 
Goodwill recorded in connection with Kurento acquisition
400 
 
Balance at the end of the period
$ 3,565 
$ 3,165 
Goodwill and Intangible Assets - Amortizable Intangible Assets (Details) (USD $)
In Thousands, unless otherwise specified
Dec. 31, 2016
Dec. 31, 2015
Intangible Assets
 
 
Gross
$ 11,372 
$ 2,781 
Accumulated Amortization
(1,399)
(489)
Net
9,973 
2,292 
Developed Technology
 
 
Intangible Assets
 
 
Gross
9,400 
1,300 
Accumulated Amortization
(1,140)
(370)
Net
8,260 
930 
Customer Relationships
 
 
Intangible Assets
 
 
Gross
400 
400 
Accumulated Amortization
(148)
(68)
Net
252 
332 
Trade Name
 
 
Intangible Assets
 
 
Gross
60 
60 
Accumulated Amortization
(56)
(26)
Net
34 
Patent
 
 
Intangible Assets
 
 
Gross
1,512 
1,021 
Accumulated Amortization
(55)
(25)
Net
$ 1,457 
$ 996 
Goodwill and Intangible Assets - Non-amortizable Intangible Assets (Details) (USD $)
In Thousands, unless otherwise specified
Dec. 31, 2016
Domain Names
 
Intangible Assets
 
Non-amortizable intangible assets
$ 32 
Trademarks
 
Intangible Assets
 
Non-amortizable intangible assets
$ 263 
Goodwill and Intangible Assets - Total Intangible Assets, Gross (Details) (USD $)
In Thousands, unless otherwise specified
Dec. 31, 2016
Dec. 31, 2015
Intangible Assets
 
 
Amortizable intangible assets, gross
$ 11,372 
$ 2,781 
Total
11,667 
 
Domain Names
 
 
Intangible Assets
 
 
Non-amortizable intangible assets
32 
 
Trademarks
 
 
Intangible Assets
 
 
Non-amortizable intangible assets
$ 263 
 
Goodwill and Intangible Assets - Total Intangible Assets, Net (Details) (USD $)
In Thousands, unless otherwise specified
Dec. 31, 2016
Dec. 31, 2015
Intangible Assets
 
 
Amortizable intangible assets, net
$ 9,973 
$ 2,292 
Total
10,268 
2,292 
Domain Names
 
 
Intangible Assets
 
 
Non-amortizable intangible assets
32 
 
Trademarks
 
 
Intangible Assets
 
 
Non-amortizable intangible assets
$ 263 
 
Goodwill and Intangible Assets - Total Intangible Assets (Details) (USD $)
In Thousands, unless otherwise specified
Dec. 31, 2016
Dec. 31, 2015
Goodwill and Intangible Assets
 
 
Gross
$ 11,667 
 
Accumulated Amortization
(1,399)
(489)
Net
$ 10,268 
$ 2,292 
Goodwill and Intangible Assets - Amortization Expense (Details) (USD $)
In Thousands, unless otherwise specified
12 Months Ended
Dec. 31, 2016
Dec. 31, 2015
Dec. 31, 2014
Goodwill and Intangible Assets
 
 
 
Amortization expense
$ 900 
$ 500 
$ 17 
Goodwill and Intangible Assets - Total Estimated Future Amortization Expense (Details) (USD $)
In Thousands, unless otherwise specified
Dec. 31, 2016
Dec. 31, 2015
Intangible Assets
 
 
2017
$ 3,263 
 
2018
2,890 
 
2019
2,488 
 
2020
58 
 
2021
46 
 
Thereafter
1,228 
 
Net
$ 9,973 
$ 2,292 
Accrued Expenses and Other Liabilities - Accrued Expenses and Other Current Liabilities (Details) (USD $)
In Thousands, unless otherwise specified
Dec. 31, 2016
Dec. 31, 2015
Accrued Expenses and Other Liabilities
 
 
Accrued payroll and related
$ 7,497 
$ 972 
Accrued bonus and commission
2,251 
1,832 
Accrued cost of revenue
8,741 
6,496 
Sales and other taxes payable
28,795 
17,634 
Deferred rent
1,250 
206 
Accrued other expense
10,774 
4,858 
Total accrued expenses and other current liabilities
$ 59,308 
$ 31,998 
Accrued Expenses and Other Liabilities - Other Long-term Liabilities (Details) (USD $)
In Thousands, unless otherwise specified
Dec. 31, 2016
Dec. 31, 2015
Accrued Expenses and Other Liabilities
 
 
Deferred rent
$ 9,387 
$ 364 
Accrued other expense
156 
84 
Total other long-term liabilities
$ 9,543 
$ 448 
Supplemental Balance Sheet Information - Allowance for Doubtful Accounts (Details) (USD $)
In Thousands, unless otherwise specified
12 Months Ended
Dec. 31, 2016
Dec. 31, 2015
Dec. 31, 2014
Allowance for doubtful accounts
 
 
 
Balance, beginning of period
$ 486 
$ 210 
$ 98 
Additions
1,145 
705 
261 
Write-offs
(555)
(429)
(149)
Balance, end of period
$ 1,076 
$ 486 
$ 210 
Supplemental Balance Sheet Information - Sales Credit Reserve (Details) (Reserve for Sales Credits, USD $)
In Thousands, unless otherwise specified
12 Months Ended
Dec. 31, 2016
Dec. 31, 2015
Dec. 31, 2014
Reserve for Sales Credits
 
 
 
Sales credit reserve
 
 
 
Balance, beginning of period
$ 714 
$ 312 
$ 30 
Additions
1,348 
1,210 
683 
Deductions against reserve
(1,518)
(808)
(401)
Balance, end of period
$ 544 
$ 714 
$ 312 
Revenue by Geographic Area - Revenue by Geographic Area (Details) (USD $)
In Thousands, unless otherwise specified
12 Months Ended
Dec. 31, 2016
Dec. 31, 2015
Dec. 31, 2014
Revenue by geographic area
 
 
 
Revenue
$ 277,335 
$ 166,919 
$ 88,846 
United States
 
 
 
Revenue by geographic area
 
 
 
Revenue
233,922 
143,145 
78,251 
International
 
 
 
Revenue by geographic area
 
 
 
Revenue
$ 43,413 
$ 23,774 
$ 10,595 
Revenue by Geographic Area - Percentage of Revenue by Geographic Area (Details) (Revenue, Geographic Concentration Risk)
12 Months Ended
Dec. 31, 2016
Dec. 31, 2015
Dec. 31, 2014
United States
 
 
 
Percentage of revenue by geographic area
 
 
 
Percentage of revenue (as a percent)
84.00% 
86.00% 
88.00% 
International
 
 
 
Percentage of revenue by geographic area
 
 
 
Percentage of revenue (as a percent)
16.00% 
14.00% 
12.00% 
Credit Facility (Details) (Line of Credit, Revolving Credit Facility, USD $)
In Millions, unless otherwise specified
1 Months Ended
Jan. 15, 2013
Revolving line of credit - 2013
Dec. 31, 2016
Revolving credit agreement - 2015
Dec. 31, 2015
Revolving credit agreement - 2015
Jan. 31, 2015
Revolving credit agreement - 2015
Jan. 31, 2015
Revolving credit agreement - 2015
Prime Rate
Credit Facility
 
 
 
 
 
Maximum borrowing capacity
$ 5.0 
 
 
$ 15.0 
 
Basis spread on variable rate (as a percent)
 
 
 
 
1.00% 
Amount available
 
15.0 
15.0 
 
 
Outstanding balance
 
$ 0 
$ 0 
 
 
Commitments and Contingencies - Lease Commitments (Details) (USD $)
12 Months Ended 1 Months Ended 3 Months Ended
Dec. 31, 2016
Dec. 31, 2015
Dec. 31, 2016
Various Facilities Leases
Maximum
Oct. 31, 2016
Office Space, 375 Beale Street, San Francisco, California
Dec. 31, 2016
Office Space, 375 Beale Street, San Francisco, California
Jan. 31, 2016
Office Space, 375 Beale Street, San Francisco, California
sqft
Dec. 31, 2016
Office Space, 375 Beale Street, San Francisco, California
Letter of Credit
Jan. 31, 2016
Office Space, 375 Beale Street, San Francisco, California
Letter of Credit
Commitments and Contingencies
 
 
 
 
 
 
 
 
Non-cancelable operating lease agreements, facilities, remaining term (in years)
 
 
7 years 
 
 
 
 
 
Area of office space (in square feet)
 
 
 
 
 
90,000 
 
 
Lease agreements term (in months)
 
 
 
96 months 
 
 
 
 
Monthly payment, first 60 months
 
 
 
$ 400,000 
 
 
 
 
Monthly payment, after 60 months
 
 
 
500,000 
 
 
 
 
Tenant improvements allowance
 
 
 
 
 
8,300,000 
 
 
Tenant improvement allowance collected
 
 
 
 
2,600,000 
 
 
 
Letter of credit
 
 
 
 
 
 
 
7,400,000 
Restricted cash
$ 7,445,000 
$ 1,170,000 
 
 
 
 
$ 7,400,000 
 
Commitments and Contingencies - Rent Expense (Details) (USD $)
In Millions, unless otherwise specified
12 Months Ended
Dec. 31, 2016
Dec. 31, 2015
Dec. 31, 2014
Commitments and Contingencies
 
 
 
Rent expense
$ 7.3 
$ 4.1 
$ 2.6 
Commitments and Contingencies - Other Commitments (Details)
12 Months Ended
Dec. 31, 2016
Minimum
 
Non-cancellable contractual commitments
 
Expiration period (in years)
1 year 
Maximum
 
Non-cancellable contractual commitments
 
Expiration period (in years)
5 years 
Commitments and Contingencies - Future Minimum Lease Payments (Details) (USD $)
In Thousands, unless otherwise specified
Dec. 31, 2016
Future minimum lease payments
 
2017
$ 7,534 
2018
6,979 
2019
7,165 
2020
7,037 
2021
7,033 
Thereafter
16,052 
Total minimum lease payments
$ 51,800 
Commitments and Contingencies - Future Minimum Payments under Other Existing Noncancellable Purchase Obligations (Details) (USD $)
In Thousands, unless otherwise specified
Dec. 31, 2016
Future minimum payments under other existing noncancellable purchase obligations
 
2017
$ 19,034 
2018
19,373 
2019
23,498 
2020
68 
2021
23 
Total payments
$ 61,996 
Commitments and Contingencies - Indemnification Agreements (Details) (Indemnification Agreement, USD $)
In Thousands, unless otherwise specified
Dec. 31, 2016
Dec. 31, 2015
Indemnification Agreement
 
 
Indemnification Agreements
 
 
Amount accrued
$ 0 
$ 0 
Commitments and Contingencies - Other Taxes (Details) (USD $)
In Millions, unless otherwise specified
Dec. 31, 2016
Dec. 31, 2015
Commitments and Contingencies
 
 
Liability for uncertain tax positions
$ 28.8 
$ 17.6 
Stockholders' Equity - Convertible Preferred Stock - IPO (Details) (Common Class B)
1 Months Ended
Jun. 30, 2016
Common Class B
 
Convertible Preferred Stock
 
Shares issued upon automatic conversion (in shares)
54,508,441 
Conversion ratio
Stockholders' Equity - Convertible Preferred Stock - Tabular Disclosure (Details) (USD $)
In Thousands, except Share data, unless otherwise specified
12 Months Ended
Dec. 31, 2015
Dec. 31, 2016
Preferred Stock
 
 
Shares Authorized (in shares)
58,976,739 
Shares Issued (in shares)
54,508,441 
Shares Outstanding (in shares)
54,508,441 
Aggregate Liquidation preference
$ 241,566 
$ 0 
Proceeds, Net of Issuance Costs
236,824 
 
Series A Preferred Stock
 
 
Preferred Stock
 
 
Shares Authorized (in shares)
13,173,240 
 
Shares Issued (in shares)
13,076,491 
 
Shares Outstanding (in shares)
13,076,491 
 
Aggregate Liquidation preference
4,590 
 
Proceeds, Net of Issuance Costs
4,592 
 
Series B Preferred Stock
 
 
Preferred Stock
 
 
Shares Authorized (in shares)
11,416,062 
 
Shares Issued (in shares)
11,146,895 
 
Shares Outstanding (in shares)
11,146,895 
 
Aggregate Liquidation preference
11,717 
 
Proceeds, Net of Issuance Costs
11,658 
 
Series C Preferred Stock
 
 
Preferred Stock
 
 
Shares Authorized (in shares)
8,452,864 
 
Shares Issued (in shares)
8,452,864 
 
Shares Outstanding (in shares)
8,452,864 
 
Aggregate Liquidation preference
25,250 
 
Proceeds, Net of Issuance Costs
25,196 
 
Series D Preferred Stock
 
 
Preferred Stock
 
 
Shares Authorized (in shares)
9,440,324 
 
Shares Issued (in shares)
9,440,324 
 
Shares Outstanding (in shares)
9,440,324 
 
Aggregate Liquidation preference
70,000 
 
Proceeds, Net of Issuance Costs
69,930 
 
Series E Preferred Stock
 
 
Preferred Stock
 
 
Shares Authorized (in shares)
11,494,249 
 
Shares Issued (in shares)
11,494,249 
 
Shares Outstanding (in shares)
11,494,249 
 
Aggregate Liquidation preference
130,000 
 
Proceeds, Net of Issuance Costs
125,448 
 
Series T Preferred Stock
 
 
Preferred Stock
 
 
Shares Authorized (in shares)
5,000,000 
 
Shares Issued (in shares)
897,618 
 
Shares Outstanding (in shares)
897,618 
 
Aggregate Liquidation preference
$ 9 
 
Stockholders' Equity - Convertible Preferred Stock - Authy Acquisition (Details) (USD $)
12 Months Ended 0 Months Ended 0 Months Ended
Dec. 31, 2015
Feb. 23, 2015
Authy, Inc.
Feb. 23, 2015
Authy, Inc.
Preferred Stock
Series T Preferred Stock
Dec. 31, 2016
Authy, Inc.
Preferred Stock
Series T Preferred Stock
Dec. 31, 2015
Authy, Inc.
Preferred Stock
Series T Preferred Stock
Feb. 23, 2015
Authy, Inc.
Preferred Stock
Series T Preferred Stock
Feb. 23, 2015
Authy, Inc.
Preferred Stock
Series T Preferred Stock
Former Shareholder of Acquiree
Feb. 23, 2015
Authy, Inc.
Preferred Stock
Series T Preferred Stock
Former Shareholder of Acquiree
Business Combinations
 
 
 
 
 
 
 
 
Shares held in escrow (in shares)
 
 
 
180,000 
687,885 
180,000 
 
 
Shares subject to graded vesting (in shares)
 
 
 
 
 
 
507,885 
 
Shares issued as part of purchase price (in shares)
 
 
389,733 
 
 
 
 
 
Graded vesting period (in years)
 
 
 
 
 
 
3 years 
 
Fair value
 
 
 
 
 
 
 
$ 4,000,000 
Shares subject to performance conditions (in shares)
 
 
127,054 
 
 
 
 
 
Purchase price, fair value of shares of Series T convertible preferred stock
$ 3,087,000 
$ 3,100,000 
 
 
 
 
 
 
Stockholders' Equity - Convertible Preferred Stock - Conversion (Details) (USD $)
In Millions, unless otherwise specified
12 Months Ended
Dec. 31, 2015
Class of Stock [Line Items]
 
Minimum IPO price for conversion
$ 50.0 
Voting power (as a percent)
50.00% 
Convertible Preferred Stock
 
Class of Stock [Line Items]
 
Ratio for option to convert into common stock
Stockholders' Equity - Convertible Preferred Stock - Voting (Details)
Dec. 31, 2015
director
Vote
Stockholders' Equity
 
Votes per share
Common stock, number of directors
Series A Preferred Stock
 
Stockholders' Equity
 
Preferred stock, number of directors
Series B Preferred Stock
 
Stockholders' Equity
 
Preferred stock, number of directors
Series D Preferred Stock
 
Stockholders' Equity
 
Preferred stock, number of directors
Minimum number of shares required for voting (in shares)
2,000,000 
Stockholders' Equity - Convertible Preferred Stock - Dividends (Details) (USD $)
In Thousands, unless otherwise specified
6 Months Ended 12 Months Ended
Jun. 30, 2016
Dec. 31, 2015
Stockholders' Equity
 
 
Dividends declared and paid
$ 0 
$ 0 
Stockholders' Equity - Convertible Preferred Stock - Liquidation Preference (Details)
Dec. 31, 2015
Series A Preferred Stock
 
Convertible Preferred Stock
 
Original issue price per share (in dollars per share)
$ 0.35 
Series B Preferred Stock
 
Convertible Preferred Stock
 
Original issue price per share (in dollars per share)
$ 1.05 
Series C Preferred Stock
 
Convertible Preferred Stock
 
Original issue price per share (in dollars per share)
$ 2.99 
Series D Preferred Stock
 
Convertible Preferred Stock
 
Original issue price per share (in dollars per share)
$ 7.42 
Series E Preferred Stock
 
Convertible Preferred Stock
 
Original issue price per share (in dollars per share)
$ 11.31 
Series T Preferred Stock
 
Convertible Preferred Stock
 
Original issue price per share (in dollars per share)
$ 0.01 
Stockholders' Equity - Preferred Stock (Details) (USD $)
Dec. 31, 2016
Dec. 31, 2015
Preferred Stock
 
 
Preferred stock, authorized (in shares)
58,976,739 
Preferred stock, par value (in dollars per share)
$ 0.001 
$ 0.001 
Preferred stock, issued (in shares)
54,508,441 
Preferred stock, outstanding (in shares)
54,508,441 
Undesignated Preferred Stock
 
 
Preferred Stock
 
 
Preferred stock, authorized (in shares)
100,000,000 
 
Preferred stock, par value (in dollars per share)
$ 0.001 
 
Preferred stock, issued (in shares)
 
Preferred stock, outstanding (in shares)
 
Stockholders' Equity - Common Stock (Details) (USD $)
Dec. 31, 2016
Dec. 31, 2015
Common Stock
 
 
Common stock, authorized (in shares)
1,100,000,000 
102,000,000 
Common stock, par value (in dollars per share)
$ 0.001 
$ 0.001 
Common stock, issued (in shares)
87,248,548 
17,324,003 
Common stock, outstanding (in shares)
87,248,548 
17,324,003 
Common Class A
 
 
Common Stock
 
 
Common stock, authorized (in shares)
1,000,000,000 
 
Common stock, par value (in dollars per share)
$ 0.001 
 
Common stock, issued (in shares)
49,996,410 
 
Common stock, outstanding (in shares)
49,996,410 
 
Votes per share
 
Common Class B
 
 
Common Stock
 
 
Common stock, authorized (in shares)
100,000,000 
 
Common stock, par value (in dollars per share)
$ 0.001 
 
Common stock, issued (in shares)
37,252,138 
 
Common stock, outstanding (in shares)
37,252,138 
 
Votes per share
10 
 
Stockholders' Equity - Common Stock Shares Reserved (Details)
Dec. 31, 2016
Dec. 31, 2015
Sep. 2, 2015
Stockholders' Equity
 
 
 
Convertible preferred stock outstanding (in shares)
 
54,508,441 
 
Common stock reserved for Twilio.org (in shares)
680,397 
888,022 
888,022 
Reserved shares of common stock (in shares)
28,104,671 
72,366,220 
 
2008 Stock Option Plan
 
 
 
Stockholders' Equity
 
 
 
Stock - based awards available for grant (in shares)
14,920 
 
2016 Stock Option and Incentive Plan
 
 
 
Stockholders' Equity
 
 
 
Stock - based awards available for grant (in shares)
10,143,743 
 
 
Employee and Nonemployee Stock Options
 
 
 
Stockholders' Equity
 
 
 
Stock options issued and outstanding (in shares)
14,649,276 
16,883,837 
 
Restricted Stock Units (RSUs)
 
 
 
Stockholders' Equity
 
 
 
Nonvested restricted stock units issued and outstanding (in shares)
2,034,217 
71,000 
 
Employee Stock
 
 
 
Stockholders' Equity
 
 
 
Common stock reserved for issuance under an ESPP (in shares)
597,038 
 
 
Stockholders' Equity - Shares Held in Escrow (Details) (Series T Preferred Stock, Preferred Stock, Authy, Inc.)
Dec. 31, 2016
Dec. 31, 2015
Feb. 23, 2015
Series T Preferred Stock |
Preferred Stock |
Authy, Inc.
 
 
 
Shares held in escrow
 
 
 
Shares held in escrow (in shares)
180,000 
687,885 
180,000 
Stockholders' Equity - Stock Repurchases (Details) (USD $)
In Thousands, except Share data, unless otherwise specified
12 Months Ended 0 Months Ended 12 Months Ended 0 Months Ended
Dec. 31, 2016
Dec. 31, 2015
Dec. 31, 2014
Dec. 31, 2016
Research and Development Expense
Dec. 31, 2015
Research and Development Expense
Dec. 31, 2014
Research and Development Expense
Dec. 31, 2016
Selling and Marketing Expense
Dec. 31, 2015
Selling and Marketing Expense
Dec. 31, 2014
Selling and Marketing Expense
Dec. 31, 2016
General and Administrative Expense
Dec. 31, 2015
General and Administrative Expense
Dec. 31, 2014
General and Administrative Expense
Aug. 21, 2015
2015 Repurchase
Dec. 31, 2015
2015 Repurchase
Dec. 31, 2015
2015 Repurchase
Research and Development Expense
Dec. 31, 2015
2015 Repurchase
Selling and Marketing Expense
Dec. 31, 2015
2015 Repurchase
General and Administrative Expense
Aug. 21, 2015
2015 Repurchase
Common Stock
Aug. 21, 2015
2015 Repurchase
Series A And B Preferred Stock
Stock Repurchases
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
Number of shares repurchased (in shares)
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1,869,156 
365,916 
Repurchases of stock
$ 2 
$ 20,810 
$ 4 
 
 
 
 
 
 
 
 
 
$ 22,800 
 
 
 
 
 
 
Stock-based compensation expense
$ 24,225 
$ 8,877 
$ 3,978 
$ 12,946 
$ 4,046 
$ 1,577 
$ 4,972 
$ 2,389 
$ 1,335 
$ 6,016 
$ 2,377 
$ 1,027 
 
$ 2,000 
$ 800 
$ 100 
$ 1,100 
 
 
Stockholders' Equity - Twilio.org (Details) (USD $)
In Millions, except Share data, unless otherwise specified
0 Months Ended 1 Months Ended
May 13, 2016
Dec. 31, 2016
Oct. 31, 2016
Dec. 31, 2015
Sep. 2, 2015
Stockholders' Equity
 
 
 
 
 
Common stock reserved for Twilio.org (in shares)
 
680,397 
 
888,022 
888,022 
Twilio.org, percentage of outstanding capital stock (as a percent)
 
 
 
 
1.00% 
Twilio.org, authorized reduction in shares reserved (in shares)
107,625 
 
 
 
 
Aggregate proceeds reserved for Twilio.org
 
 
$ 3.9 
 
 
Donation of proceeds into Donor Advised Fund
 
$ 3.9 
 
 
 
Common Class A
 
 
 
 
 
Stockholders' Equity
 
 
 
 
 
Twilio.org, authorized reduction in shares reserved (in shares)
 
 
100,000 
 
 
Stock-Based Compensation - 2008 Stock Option Plan (Details) (2008 Stock Option Plan)
Dec. 31, 2016
Dec. 31, 2015
2008 Stock Option Plan
 
 
Stock Based Compensation
 
 
Shares available for future issuance (in shares)
14,920 
Stock-Based Compensation - 2016 Stock Option Plan (Details) (2016 Stock Option and Incentive Plan, Employee and Nonemployee Stock Options)
0 Months Ended
Jun. 21, 2016
Jun. 21, 2016
Stock Based Compensation
 
 
Maximum automatic annual increase as a percentage of outstanding common shares
 
5.00% 
Minimum grant price as a percentage of fair market value per share of the underlying common stock on the date of grant (as a percent)
 
100.00% 
Expiration term (in years)
10 years 
 
Share-based Compensation Arrangement by Share-based Payment Award, Award Vesting Period
4 years 
 
Common Class A
 
 
Stock Based Compensation
 
 
Shares reserved for issuance (in shares)
11,500,000 
11,500,000 
After One Year
 
 
Stock Based Compensation
 
 
Share-based Compensation Arrangement by Share-based Payment Award, Award Vesting Rights, Percentage
25.00% 
 
Stock-Based Compensation - 2016 Employee Stock Purchase Plan (Details) (Employee Stock, USD $)
In Millions, except Share data, unless otherwise specified
12 Months Ended 0 Months Ended 12 Months Ended 4 Months Ended
Dec. 31, 2016
Jun. 21, 2016
Jun. 21, 2016
Common Class A
Dec. 31, 2016
Common Class A
Jun. 21, 2016
Common Class A
May 15, 2017
Common Class A
Forecast
Stock Based Compensation
 
 
 
 
 
 
Shares reserved for issuance (in shares)
 
 
 
 
2,400,000 
 
Maximum automatic annual increase (in shares)
 
 
 
 
1,800,000 
 
Maximum automatic annual increase as a percentage of outstanding common shares
 
1.00% 
 
 
 
 
Discount from market price, offering date (as a percent)
 
 
15.00% 
 
 
 
Discount from market price, purchase date (as a percent)
 
 
15.00% 
 
 
 
Purchase price, percentage of fair market value (as a percent)
 
 
85.00% 
 
 
 
Shares purchased (in shares)
 
 
 
 
597,038 
Unrecognized compensation cost, other than options
$ 1.3 
 
 
 
 
 
Weighted-average period (in years)
4 months 24 days 
 
 
 
 
 
Stock-Based Compensation - Stock Option Activity (Details) (Employee and Nonemployee Stock Options, USD $)
In Thousands, except Share data, unless otherwise specified
12 Months Ended
Dec. 31, 2016
Dec. 31, 2015
Employee and Nonemployee Stock Options
 
 
Number of options outstanding
 
 
Outstanding options as of the beginning of the period (in shares)
16,883,837 
 
Granted (in shares)
1,894,850 
 
Exercised (in shares)
(2,294,652)
 
Forfeited and cancelled (in shares)
(1,834,759)
 
Outstanding options as of the end of the period (in shares)
14,649,276 
16,883,837 
Weighted-average exercise price (per share)
 
 
Outstanding options as of the beginning of the period (in dollars per share)
$ 5.31 
 
Granted (in dollars per share)
$ 10.73 
 
Exercised (in dollars per share)
$ 3.97 
 
Forfeited and cancelled (in dollars per share)
$ 5.95 
 
Outstanding options as of the end of the period (in dollars per share)
$ 6.14 
$ 5.31 
Weighted-average remaining contractual term and aggregate intrinsic value
 
 
Weighted-average remaining contractual term (in years)
7 years 6 months 7 days 
8 years 3 months 18 days 
Aggregate intrinsic value
$ 332,716 
$ 80,758 
Options vested and exercisable and options vested and expected to vest
 
 
Options vested and exercisable - number of options outstanding (in shares)
7,075,211 
 
Options vested and exercisable - weighted-average exercise price (in dollars per share)
$ 4.30 
 
Options vested and exercisable - weighted-average remaining contractual term (in years)
6 years 5 months 23 days 
 
Options vested and exercisable - aggregate intrinsic value
$ 173,678 
 
Stock-Based Compensation - Stock Options - Additional Information (Details) (Employee and Nonemployee Stock Options, USD $)
In Millions, except Per Share data, unless otherwise specified
12 Months Ended
Dec. 31, 2016
Dec. 31, 2015
Dec. 31, 2014
Employee and Nonemployee Stock Options
 
 
 
Stock Based Compensation
 
 
 
Aggregate intrinsic value of stock options exercised
$ 54.4 
$ 10.1 
$ 1.5 
Grant date fair value of options vested
$ 15.3 
$ 8.2 
$ 3.9 
Weighted-average grant date fair value of options granted (in dollars per share)
$ 5.52 
$ 4.30 
$ 2.88 
Stock-Based Compensation - Stock Options - Unrecognized Compensation Cost (Details) (Employee and Nonemployee Stock Options, USD $)
In Millions, unless otherwise specified
12 Months Ended
Dec. 31, 2016
Employee and Nonemployee Stock Options
 
Stock Based Compensation
 
Unrecognized compensation cost, options
$ 29.2 
Weighted-average period (in years)
2 years 4 months 24 days 
Stock-Based Compensation - Restricted Stock Units Activity (Details) (Restricted Stock Units (RSUs), USD $)
In Thousands, except Share data, unless otherwise specified
12 Months Ended
Dec. 31, 2016
Dec. 31, 2015
Restricted Stock Units (RSUs)
 
 
Number of units outstanding
 
 
Nonvested RSUs at the beginning of the period (in shares)
71,000 
 
Granted (in shares)
2,162,890 
 
Vested (in shares)
(87,523)
 
Forfeited and cancelled (in shares)
(112,150)
 
Nonvested RSUs at the end of the period (in shares)
2,034,217 
 
Weighted-average grant date fair value (per share)
 
 
Nonvested RSUs at the beginning of the period (in dollars per share)
$ 9.39 
 
Granted (in dollars per share)
$ 32.10 
 
Vested (in dollars per share)
$ 19.09 
 
Forfeited and cancelled (in dollars per share)
$ 17.80 
 
Nonvested RSUs at the end of the period (in dollars per share)
$ 32.66 
 
Aggregate intrinsic value
 
 
Aggregate intrinsic value
$ 58,687 
$ 716 
Stock-Based Compensation - Restricted Stock Units - Additional Information (Details)
12 Months Ended
Dec. 31, 2016
Restricted Stock Units (RSUs), Pre-IPO
 
Stock Based Compensation
 
Service condition period (in years)
4 years 
Restricted Stock Units (RSUs), Post-IPO |
Minimum
 
Stock Based Compensation
 
Service condition period (in years)
2 years 
Restricted Stock Units (RSUs), Post-IPO |
Maximum
 
Stock Based Compensation
 
Service condition period (in years)
4 years 
Stock-Based Compensation - Restricted Stock Units - Unrecognized Compensation Cost (Details) (Restricted Stock Units (RSUs), USD $)
In Millions, unless otherwise specified
12 Months Ended
Dec. 31, 2016
Restricted Stock Units (RSUs)
 
Stock Based Compensation
 
Unrecognized compensation cost, other than options
$ 60.5 
Weighted-average period (in years)
3 years 3 months 18 days 
Stock-Based Compensation - Equity Awards Granted to Nonemployees (Details) (USD $)
In Thousands, except Share data, unless otherwise specified
12 Months Ended 1 Months Ended 12 Months Ended 1 Months Ended 12 Months Ended
Dec. 31, 2016
Dec. 31, 2015
Dec. 31, 2014
Sep. 30, 2016
Nonemployee Restricted Stock Units
Dec. 31, 2016
Nonemployee Restricted Stock Units
Dec. 31, 2014
Nonemployee Restricted Stock Units
Dec. 31, 2015
Nonemployee Stock Option
Dec. 31, 2016
Nonemployee Stock Option
Dec. 31, 2014
Nonemployee Stock Option
Stock Based Compensation
 
 
 
 
 
 
 
 
 
Restricted stock units granted (in shares)
 
 
 
30,255 
 
 
 
 
Stock options granted (in shares)
 
 
 
 
 
 
30,000 
 
Service condition period (in years)
 
 
 
2 years 
 
 
4 years 
 
 
Stock-based compensation expense
$ 24,225 
$ 8,877 
$ 3,978 
 
$ 600 
 
 
$ 300 
 
Stock-Based Compensation - Equity Awards Granted to Nonemployees - Unrecognized Compensation Cost (Details) (Nonemployee Awards, USD $)
In Millions, unless otherwise specified
12 Months Ended
Dec. 31, 2016
Nonemployee Awards
 
Stock Based Compensation
 
Unrecognized compensation cost, other than options
$ 0.8 
Weighted-average period (in years)
1 year 8 months 12 days 
Stock-Based Compensation - Early Exercises of Nonvested Options (Details) (2008 Stock Option Plan, Employee Stock Option, USD $)
In Millions, except Share data, unless otherwise specified
Dec. 31, 2016
Dec. 31, 2015
2008 Stock Option Plan |
Employee Stock Option
 
 
Stock Based Compensation
 
 
Liability for unvested shares
$ 0.3 
$ 0.2 
Unvested shares that were early exercised (in shares)
49,580 
52,407 
Stock-Based Compensation - Valuation Assumptions (Details)
12 Months Ended
Dec. 31, 2016
Dec. 31, 2015
Dec. 31, 2014
Employee Stock Option
 
 
 
Valuation Assumptions
 
 
 
Expected term (in years)
6 years 29 days 
6 years 29 days 
 
Expected volatility, low end of range (as a percent)
51.40% 
47.80% 
 
Expected volatility (as a percent)
 
 
54.40% 
Expected volatility, high end of range (as a percent)
53.00% 
54.90% 
 
Risk-free interest rate, low end of range (as a percent)
1.30% 
1.40% 
1.70% 
Risk-free interest rate, high end of range (as a percent)
1.50% 
2.00% 
2.00% 
Dividend rate (as a percent)
0.00% 
0.00% 
0.00% 
Employee Stock
 
 
 
Valuation Assumptions
 
 
 
Expected term (in years)
10 months 24 days 
 
 
Expected volatility (as a percent)
52.00% 
 
 
Risk-free interest rate (as a percent)
0.60% 
 
 
Dividend rate (as a percent)
0.00% 
 
 
Minimum |
Employee Stock Option
 
 
 
Valuation Assumptions
 
 
 
Fair value of common stock (in dollars per share)
$ 10.09 
$ 7.07 
$ 3.99 
Expected term (in years)
 
 
5 years 3 months 7 days 
Maximum |
Employee Stock Option
 
 
 
Valuation Assumptions
 
 
 
Fair value of common stock (in dollars per share)
$ 15.00 
$ 10.09 
$ 6.69 
Expected term (in years)
 
 
6 years 6 months 26 days 
Stock-Based Compensation - Stock-Based Compensation Expense (Details) (USD $)
In Thousands, unless otherwise specified
12 Months Ended
Dec. 31, 2016
Dec. 31, 2015
Dec. 31, 2014
Stock-Based Compensation Expense
 
 
 
Stock-based compensation expense
$ 24,225 
$ 8,877 
$ 3,978 
Cost of Revenue
 
 
 
Stock-Based Compensation Expense
 
 
 
Stock-based compensation expense
291 
65 
39 
Research and Development Expense
 
 
 
Stock-Based Compensation Expense
 
 
 
Stock-based compensation expense
12,946 
4,046 
1,577 
Selling and Marketing Expense
 
 
 
Stock-Based Compensation Expense
 
 
 
Stock-based compensation expense
4,972 
2,389 
1,335 
General and Administrative Expense
 
 
 
Stock-Based Compensation Expense
 
 
 
Stock-based compensation expense
$ 6,016 
$ 2,377 
$ 1,027 
Net Loss per Share Attributable to Common Stockholders - Basic and Diluted Net Loss per Share Attributable to Common Stockholders (Details) (USD $)
In Thousands, except Share data, unless otherwise specified
12 Months Ended
Dec. 31, 2016
Dec. 31, 2015
Dec. 31, 2014
Net Loss Per Share Attributable to Common Stockholders
 
 
 
Net loss attributable to common stockholders
$ (41,324)
$ (38,896)
$ (26,758)
Weighted average shares used to compute net loss per share attributable to common stockholders, basic and diluted (in shares)
53,116,675 
17,746,526 
16,900,124 
Net loss per share attributable to common stockholders, basic and diluted (in dollars per share)
$ (0.78)
$ (2.19)
$ (1.58)
Net Loss per Share Attributable to Common Stockholders - Anti-Dilutive Securities (Details)
12 Months Ended
Dec. 31, 2016
Dec. 31, 2015
Dec. 31, 2014
Anti-dilutive securities
 
 
 
Total
18,010,508 
72,403,707 
55,751,117 
Convertible Preferred Stock
 
 
 
Anti-dilutive securities
 
 
 
Total
 
54,508,441 
42,482,490 
Employee and Nonemployee Stock Options
 
 
 
Anti-dilutive securities
 
 
 
Total
14,649,276 
16,883,837 
13,141,311 
Restricted Stock Units (RSUs)
 
 
 
Anti-dilutive securities
 
 
 
Total
2,034,217 
71,000 
 
Donor-advised Fund
 
 
 
Anti-dilutive securities
 
 
 
Total
680,397 
888,022 
 
Employee Stock
 
 
 
Anti-dilutive securities
 
 
 
Total
597,038 
 
 
Unvested Shares Subject to Repurchase
 
 
 
Anti-dilutive securities
 
 
 
Total
49,580 
52,407 
127,316 
Net Loss per Share Attributable to Common Stockholders - Shares Held in Escrow (Details) (Authy, Inc., Preferred Stock, Series T Preferred Stock)
Dec. 31, 2016
Dec. 31, 2015
Feb. 23, 2015
Authy, Inc. |
Preferred Stock |
Series T Preferred Stock
 
 
 
Shares held in escrow
 
 
 
Shares held in escrow (in shares)
180,000 
687,885 
180,000 
Income Taxes - Domestic and Foreign Components of Loss Before Income Taxes (Details) (USD $)
In Thousands, unless otherwise specified
12 Months Ended
Dec. 31, 2016
Dec. 31, 2015
Dec. 31, 2014
Income Taxes
 
 
 
United States
$ (14,002)
$ (23,962)
$ (26,837)
International
(26,996)
(11,420)
92 
Loss before provision for income taxes
$ (40,998)
$ (35,382)
$ (26,745)
Income Taxes - Provision for Income Taxes (Details) (USD $)
In Thousands, unless otherwise specified
12 Months Ended
Dec. 31, 2016
Dec. 31, 2015
Dec. 31, 2014
Current:
 
 
 
State
$ 83 
$ 45 
 
Foreign
214 
213 
13 
Total
297 
258 
13 
Deferred:
 
 
 
Federal
(109)
 
Foreign
27 
(27)
 
Total
29 
(136)
 
Provision for income taxes
$ 326 
$ 122 
$ 13 
Income Taxes - Authy Acquisition (Details) (USD $)
12 Months Ended
Dec. 31, 2016
Dec. 31, 2015
Dec. 31, 2014
Income Taxes
 
 
 
Provision for income taxes
$ (326,000)
$ (122,000)
$ (13,000)
Authy, Inc.
 
 
 
Income Taxes
 
 
 
Provision for income taxes
 
$ 100,000 
 
Income Taxes - Reconciliation of the Statutory Federal Tax Rate and the Effective Tax Rate (Details)
12 Months Ended
Dec. 31, 2016
Dec. 31, 2015
Dec. 31, 2014
Income Taxes
 
 
 
Tax benefit at federal statutory rate
34.00% 
34.00% 
34.00% 
State tax, net of federal benefit
11.00% 
(3.00%)
7.00% 
Stock-based compensation
23.00% 
(8.00%)
(4.00%)
Credits
2.00% 
4.00% 
2.00% 
Foreign rate differential
(23.00%)
(11.00%)
 
Reserve for uncertain tax positions
(12.00%)
 
 
Change in valuation allowance
(34.00%)
(14.00%)
(39.00%)
Other
(2.00%)
(2.00%)
 
Effective tax rate
(1.00%)
0.00% 
0.00% 
Income Taxes - Significant Components of Deferred Tax Assets and Liabilities (Details) (USD $)
In Thousands, unless otherwise specified
Dec. 31, 2016
Dec. 31, 2015
Dec. 31, 2014
Deferred tax assets:
 
 
 
Net operating loss carryforwards
$ 31,090 
$ 27,401 
$ 24,402 
Accrued and prepaid expenses
16,698 
7,603 
5,573 
Stock-based compensation
5,368 
1,433 
423 
Research and development credits
7,807 
6,022 
3,918 
Charitable contributions
1,458 
 
 
Gross deferred tax assets
62,421 
42,459 
34,316 
Valuation allowance
(49,601)
(35,613)
(30,559)
Net deferred tax assets
12,820 
6,846 
3,757 
Deferred tax liabilities:
 
 
 
Capitalized software
(7,086)
(4,084)
(2,019)
Prepaid expenses
(452)
(2,035)
(1,607)
Acquired intangibles
(152)
(460)
 
Property and equipment
(4,931)
(240)
(131)
Other
(201)
 
 
Net deferred tax asset
 
27 
 
Net deferred tax liability
$ (2)
 
 
Income Taxes - Recently Issued Accounting Standards (Details) (USD $)
12 Months Ended 3 Months Ended
Dec. 31, 2016
Dec. 31, 2015
Dec. 31, 2014
Dec. 31, 2016
Accounting Standards Update 2016-09
Early Adoption Impact
Jan. 1, 2016
Accounting Standards Update 2016-09
Early Adoption Impact
Recently Issued Accounting Standards
 
 
 
 
 
Excess tax benefit reclassified from additional paid-in capital
 
 
 
$ (62,000)
 
Income tax expense
326,000 
122,000 
13,000 
(62,000)
 
Unrecognized excess tax benefit with no impact due to full valuation allowance on deferred tax assets
 
 
 
 
$ 2,000,000 
Income Taxes - Net Operating Loss Carryforwards (Details) (USD $)
In Millions, unless otherwise specified
Dec. 31, 2016
Federal
 
Income Taxes
 
Net operating loss carryforwards
$ 104.0 
State
 
Income Taxes
 
Net operating loss carryforwards
$ 88.7 
Income Taxes - Tax Credits (Details) (USD $)
In Millions, unless otherwise specified
Dec. 31, 2016
Federal
 
Income Taxes
 
Tax credits
$ 6.4 
State
 
Income Taxes
 
Tax credits
$ 5.4 
Income Taxes - Additional Information (Details) (USD $)
In Millions, unless otherwise specified
12 Months Ended
Dec. 31, 2016
Dec. 31, 2015
Income Taxes
 
 
Increase in valuation allowance
$ 14.0 
$ 5.1 
Reinvested foreign earnings
$ 1.1 
 
Income Taxes - Unrecognized Tax Benefits Reconciliation (Details) (USD $)
In Thousands, unless otherwise specified
12 Months Ended
Dec. 31, 2016
Dec. 31, 2015
Dec. 31, 2014
Income Taxes
 
 
 
Unrecognized tax benefit, beginning of year
$ 1,679 
$ 1,024 
$ 592 
Gross increases for tax positions of prior years
1,996 
 
 
Gross increases for tax positions of current years
8,600 
655 
432 
Unrecognized tax benefit, end of year
$ 12,275 
$ 1,679 
$ 1,024 
Income Taxes - Unrecognized Tax Benefit that Would Impact the Effective Tax Rate if Recognized (Details) (USD $)
In Millions, unless otherwise specified
Dec. 31, 2016
Income Taxes
 
Unrecognized tax benefit that would impact the effective tax rate if recognized
$ 0.1 
Employee Benefit Plan (Details) (USD $)
In Millions, unless otherwise specified
12 Months Ended
Dec. 31, 2016
Dec. 31, 2015
Dec. 31, 2014
Employee Benefit Plan
 
 
 
Employer contributions
$ 1.1 
$ 0 
$ 0 
Transactions With Investors (Details) (Investor, USD $)
In Millions, unless otherwise specified
1 Months Ended 12 Months Ended
Oct. 31, 2016
Dec. 31, 2016
Dec. 31, 2015
Dec. 31, 2014
Transactions With Investors
 
 
 
 
Vendors, number
 
 
Vendor 1
 
 
 
 
Transactions With Investors
 
 
 
 
Ownership percentage (as a percent)
 
2.00% 
2.50% 
 
Purchases from vendor
 
$ 14.5 
$ 11.1 
$ 8.0 
Purchase agreement period (in years)
3 years 
 
 
 
Purchase commitment amount
57.7 
 
 
 
Vendor 2
 
 
 
 
Transactions With Investors
 
 
 
 
Ownership percentage (as a percent)
 
1.00% 
1.20% 
 
Purchases from vendor
 
$ 0.5 
$ 0.5 
$ 0.5