Document and Entity Information
Document and Entity Information - USD ($) $ in Billions | 12 Months Ended | ||
Jun. 30, 2022 | Aug. 12, 2022 | Dec. 31, 2021 | |
Cover [Abstract] | |||
Document Type | 10-K | ||
Document Annual Report | true | ||
Document Period End Date | Jun. 30, 2022 | ||
Current Fiscal Year End Date | --06-30 | ||
Document Transition Report | false | ||
Entity File Number | 001-39149 | ||
Entity Registrant Name | BILL.COM HOLDINGS, INC. | ||
Entity Incorporation, State or Country Code | DE | ||
Entity Tax Identification Number | 83-2661725 | ||
Entity Address, Address Line One | 6220 America Center Drive, Suite 100 | ||
Entity Address, City or Town | San Jose | ||
Entity Address, State or Province | CA | ||
Entity Address, Postal Zip Code | 95022 | ||
City Area Code | 650 | ||
Local Phone Number | 621-7700 | ||
Title of 12(b) Security | Common Stock, $0.00001 par value | ||
Trading Symbol | BILL | ||
Security Exchange Name | NYSE | ||
Entity Well-known Seasoned Issuer | Yes | ||
Entity Voluntary Filers | No | ||
Entity Current Reporting Status | Yes | ||
Entity Interactive Data Current | Yes | ||
Entity Filer Category | Large Accelerated Filer | ||
Entity Small Business | false | ||
Entity Emerging Growth Company | false | ||
ICFR Auditor Attestation Flag | true | ||
Entity Shell Company | false | ||
Entity Common Stock, Shares Outstanding | 104,840,348 | ||
Documents Incorporated by Reference | DOCUMENTS INCORPORATED BY REFERENCE Portions of the registrant’s definitive proxy statement for its 2022 Annual Meeting of Stockholders (Proxy Statement) to be filed within 120 days after the end of the fiscal year covered by this Annual Report on Form 10-K, are incorporated by reference in Part III. Except with respect to information specifically incorporated by reference in this Annual Report, the Proxy Statement shall not be deemed to be filed as part hereof. | ||
Entity Central Index Key | 0001786352 | ||
Document Fiscal Year Focus | 2022 | ||
Document Fiscal Period Focus | FY | ||
Amendment Flag | false | ||
Entity Public Float | $ 24.7 |
Audit Information
Audit Information | 12 Months Ended |
Jun. 30, 2022 | |
Auditor Information [Abstract] | |
Auditor Name | Ernst & Young LLP |
Auditor Location | San Francisco, California |
Auditor Firm ID | 42 |
CONSOLIDATED BALANCE SHEETS
CONSOLIDATED BALANCE SHEETS - USD ($) $ in Thousands | Jun. 30, 2022 | Jun. 30, 2021 |
Current assets: | ||
Cash and cash equivalents | $ 1,596,542 | $ 509,615 |
Short-term investments | 1,108,493 | 655,314 |
Accounts receivable, net | 24,045 | 18,222 |
Acquired card receivables, net | 256,392 | 147,093 |
Prepaid expenses and other current assets | 151,258 | 67,195 |
Funds held for customers | 3,142,660 | 2,208,598 |
Total current assets | 6,279,390 | 3,606,037 |
Non-current assets: | ||
Operating lease right-of-use assets, net | 76,445 | 71,925 |
Property and equipment, net | 56,985 | 48,902 |
Intangible assets, net | 432,583 | 417,341 |
Goodwill | 2,362,893 | 1,772,043 |
Other assets | 47,730 | 52,925 |
Total assets | 9,256,026 | 5,969,173 |
Current liabilities: | ||
Accounts payable | 9,948 | 11,904 |
Accrued compensation and benefits | 29,004 | 20,287 |
Deferred revenue | 31,868 | 12,848 |
Other accruals and current liabilities | 120,080 | 72,022 |
Borrowings from credit facilities, net | 75,097 | 0 |
Customer fund deposits | 3,142,660 | 2,208,598 |
Total current liabilities | 3,408,657 | 2,325,659 |
Non-current liabilities: | ||
Deferred revenue | 2,159 | 2,926 |
Operating lease liabilities | 82,728 | 86,639 |
Borrowings from credit facilities, net | 0 | 79,534 |
Convertible senior notes, net | 1,697,985 | 909,847 |
Other long-term liabilities | 20,803 | 34,978 |
Total liabilities | 5,212,332 | 3,439,583 |
Commitments and Contingencies | ||
Stockholders' equity: | ||
Preferred stock: $0.00001 par value per share; 10,000 shares authorized; none issued and outstanding | 0 | 0 |
Common stock; $0.00001 par value per share; 500,000 shares authorized; 104,731 and 94,504 shares issued and outstanding at June 30, 2022 and 2021, respectively | 2 | 2 |
Additional paid-in capital | 4,598,737 | 2,777,155 |
Accumulated other comprehensive loss | (10,217) | (100) |
Accumulated deficit | (544,828) | (247,467) |
Total stockholders' equity | 4,043,694 | 2,529,590 |
Total liabilities and stockholders' equity | $ 9,256,026 | $ 5,969,173 |
CONSOLIDATED BALANCE SHEETS (Pa
CONSOLIDATED BALANCE SHEETS (Parenthetical) - $ / shares | Jun. 30, 2022 | Jun. 30, 2021 |
Statement of Financial Position [Abstract] | ||
Preferred stock par value (dollars per share) | $ 0.00001 | $ 0.00001 |
Preferred stock authorized (shares) | 10,000,000 | 10,000,000 |
Preferred stock issued (shares) | 0 | 0 |
Preferred stock outstanding (shares) | 0 | 0 |
Common stock par value (dollars per share) | $ 0.00001 | $ 0.00001 |
Common stock shares authorized (shares) | 500,000,000 | 500,000,000 |
Common stock issued (shares) | 104,731,000 | 94,504,000 |
Common stock shares outstanding (shares) | 104,731,000 | 94,504,000 |
CONSOLIDATED STATEMENTS OF OPER
CONSOLIDATED STATEMENTS OF OPERATIONS - USD ($) shares in Thousands, $ in Thousands | 12 Months Ended | |||
Jun. 30, 2022 | Jun. 30, 2021 | Jun. 30, 2020 | ||
Income Statement [Abstract] | ||||
Revenue | $ 641,959 | $ 238,265 | $ 157,600 | |
Cost of revenue | ||||
Service costs | 105,496 | 56,576 | 37,049 | |
Depreciation and amortization of intangible assets | [1] | 39,508 | 5,230 | 2,095 |
Total cost of revenue | 145,004 | 61,806 | 39,144 | |
Gross profit | 496,955 | 176,459 | 118,456 | |
Operating expenses | ||||
Research and development | 219,818 | 89,503 | 52,996 | |
Sales and marketing | 307,151 | 67,935 | 45,070 | |
General and administrative | 241,174 | 128,116 | 53,450 | |
Depreciation and amortization of intangible assets (1) | [1] | 45,630 | 4,872 | 1,138 |
Total operating expenses | 813,773 | 290,426 | 152,654 | |
Loss from operations | (316,818) | (113,967) | (34,198) | |
Other income (expense), net | (13,861) | (25,370) | 3,160 | |
Loss before (benefit from) provision for income taxes | (330,679) | (139,337) | (31,038) | |
(Benefit from) provision for income taxes | (4,318) | (40,617) | 53 | |
Net loss | $ (326,361) | $ (98,720) | $ (31,091) | |
Net loss per share attributable to common stockholders: | ||||
Earnings per share, basic (dollars per share) | $ (3.21) | $ (1.19) | $ (0.70) | |
Earnings per share, diluted (dollars per share) | $ (3.21) | $ (1.19) | $ (0.70) | |
Weighted-average number of common shares used to compute net loss per share attributable to common stockholders: | ||||
Weighted average number of shares outstanding, basic (shares) | 101,753 | 82,813 | 44,106 | |
Weighted average number of shares outstanding, diluted (shares) | 101,753 | 82,813 | 44,106 | |
[1]Depreciation expense does not include amortization of capitalized internal-use software costs. |
CONSOLIDATED STATEMENTS OF COMP
CONSOLIDATED STATEMENTS OF COMPREHENSIVE LOSS - USD ($) $ in Thousands | 12 Months Ended | ||
Jun. 30, 2022 | Jun. 30, 2021 | Jun. 30, 2020 | |
Statement of Comprehensive Income [Abstract] | |||
Net income (loss) | $ (326,361) | $ (98,720) | $ (31,091) |
Other comprehensive (loss) income: | |||
Net unrealized (loss) gain on investments in available-for-sale securities | (10,117) | (2,520) | 2,094 |
Comprehensive loss | $ (336,478) | $ (101,240) | $ (28,997) |
CONSOLIDATED STATEMENTS OF REDE
CONSOLIDATED STATEMENTS OF REDEEMABLE CONVERTIBLE PREFERRED STOCK AND STOCKHOLDERS EQUITY (DEFICIT) - USD ($) $ in Thousands | Total | Cumulative effect of adjustments | Follow-On Public Offering | Common Stock | Common Stock Follow-On Public Offering | Additional Paid-in Capital | Additional Paid-in Capital Cumulative effect of adjustments | Additional Paid-in Capital Follow-On Public Offering | Accumulated Other Comprehensive (Loss) Income | Accumulated Deficit | Accumulated Deficit Cumulative effect of adjustments | Redeemable Convertible Preferred Stock |
Beginning balance, shares at Jun. 30, 2019 | 8,154,000 | |||||||||||
Beginning balance at Jun. 30, 2019 | $ (102,657) | $ 1 | $ 14,672 | $ 326 | $ (117,656) | |||||||
Increase (Decrease) in Stockholders' Equity [Roll Forward] | ||||||||||||
Conversion of redeemable convertible preferred stock to common stock upon initial public offering, shares | 52,435,000 | |||||||||||
Conversion of redeemable convertible preferred stock to common stock upon initial public offering | 276,307 | $ 1 | 276,306 | |||||||||
Reclassification of redeemable convertible preferred stock warrant liabilities to additional paid-in capital upon initial public offering | 1,405 | 1,405 | ||||||||||
Issuance of common stock upon public offering, net of underwriting discounts and commissions and other offering costs, shares | 11,297,000 | 4,330,000 | ||||||||||
Issuance of common stock upon public offering, net of underwriting discounts and commissions and other offering costs | 225,481 | $ 307,512 | 225,481 | $ 307,512 | ||||||||
Issuance of common stock upon exercise of stock options and release of restricted stock units, shares | 3,298,000 | |||||||||||
Issuance of common stock upon exercise of stock options and release of restricted stock units | 13,460 | 13,460 | ||||||||||
Issuance of common stock upon exercise of stock warrants, shares | 121,000 | |||||||||||
Issuance of common stock upon exercise of stock warrants | 144 | 144 | ||||||||||
Stock-based compensation | 18,064 | 18,064 | ||||||||||
Other comprehensive income | 2,094 | 2,094 | ||||||||||
Net income (loss) | (31,091) | (31,091) | ||||||||||
Ending balance, shares at Jun. 30, 2020 | 79,635,000 | |||||||||||
Ending balance at Jun. 30, 2020 | $ 710,719 | $ 2 | 857,044 | 2,420 | (148,747) | |||||||
Beginning balance, shares at Jun. 30, 2019 | 52,435,000 | |||||||||||
Beginning balance at Jun. 30, 2019 | $ 276,307 | |||||||||||
Increase (Decrease) in Temporary Equity [Roll Forward] | ||||||||||||
Conversion of redeemable convertible preferred stock to common stock upon initial public offering, shares | (52,435,000) | |||||||||||
Conversion of redeemable convertible preferred stock to common stock upon initial public offering | $ (276,307) | |||||||||||
Ending balance, shares at Jun. 30, 2020 | 0 | |||||||||||
Ending balance at Jun. 30, 2020 | $ 0 | |||||||||||
Increase (Decrease) in Stockholders' Equity [Roll Forward] | ||||||||||||
Accounting Standards Update [Extensible Enumeration] | Accounting Standards Update 2020-06 | |||||||||||
Issuance of common stock as consideration for an acquisition, net of issuance costs, shares | 10,767,000 | |||||||||||
Issuance of common stock as consideration for an acquisition, net of issuance costs | $ 1,603,031 | 1,603,031 | ||||||||||
Equity component of 2025 Notes, net of issuance costs and taxes | 245,066 | 245,066 | ||||||||||
Fair value of replacement awards | 55,275 | 55,275 | ||||||||||
Issuance of common stock under the employee stock purchase plan, shares | 446,000 | |||||||||||
Issuance of common stock under the employee stock purchase plan | 8,864 | 8,864 | ||||||||||
Purchase of capped calls | (87,860) | (87,860) | ||||||||||
Issuance of common stock upon exercise of stock options and release of restricted stock units, shares | 3,656,000 | |||||||||||
Issuance of common stock upon exercise of stock options and release of restricted stock units | 26,981 | 26,981 | ||||||||||
Stock-based compensation | 68,754 | 68,754 | ||||||||||
Other comprehensive income | (2,520) | (2,520) | ||||||||||
Net income (loss) | $ (98,720) | (98,720) | ||||||||||
Ending balance, shares at Jun. 30, 2021 | 94,504,000 | 94,504,000 | ||||||||||
Ending balance at Jun. 30, 2021 | $ 2,529,590 | $ (216,066) | $ 2 | 2,777,155 | $ (245,066) | (100) | (247,467) | $ 29,000 | ||||
Increase (Decrease) in Stockholders' Equity [Roll Forward] | ||||||||||||
Issuance of common stock as consideration for an acquisition, net of issuance costs, shares | 1,788,000 | |||||||||||
Issuance of common stock as consideration for an acquisition, net of issuance costs | 488,263 | 488,263 | ||||||||||
Issuance of common stock upon public offering, net of underwriting discounts and commissions and other offering costs, shares | 5,074,000 | |||||||||||
Issuance of common stock upon public offering, net of underwriting discounts and commissions and other offering costs | 1,341,122 | 1,341,122 | ||||||||||
Fair value of replacement awards | 26,710 | 26,710 | ||||||||||
Issuance of common stock under the employee stock purchase plan, shares | 82,000 | |||||||||||
Issuance of common stock under the employee stock purchase plan | 12,849 | 12,849 | ||||||||||
Purchase of capped calls | (37,893) | (37,893) | ||||||||||
Issuance of common stock upon exercise of stock options and release of restricted stock units, shares | 3,283,000 | |||||||||||
Issuance of common stock upon exercise of stock options and release of restricted stock units | 34,024 | 34,024 | ||||||||||
Stock-based compensation | 201,573 | 201,573 | ||||||||||
Other comprehensive income | (10,117) | (10,117) | ||||||||||
Net income (loss) | $ (326,361) | (326,361) | ||||||||||
Ending balance, shares at Jun. 30, 2022 | 104,731,000 | 104,731,000 | ||||||||||
Ending balance at Jun. 30, 2022 | $ 4,043,694 | $ 2 | $ 4,598,737 | $ (10,217) | $ (544,828) |
CONSOLIDATED STATEMENTS OF CASH
CONSOLIDATED STATEMENTS OF CASH FLOWS - USD ($) $ in Thousands | 12 Months Ended | ||
Jun. 30, 2022 | Jun. 30, 2021 | Jun. 30, 2020 | |
Cash flows from operating activities: | |||
Net loss | $ (326,361) | $ (98,720) | $ (31,091) |
Adjustments to reconcile net loss to net cash (used in) provided by operating activities: | |||
Stock-based compensation | 197,157 | 68,290 | 18,064 |
Amortization of intangible assets | 75,977 | 5,659 | 0 |
Depreciation and amortization | 9,161 | 4,443 | 3,233 |
Amortization of capitalized internal-use software costs | 2,366 | 907 | 1,024 |
Amortization of debt discount (accretion of debt premium) and issuance costs | 4,777 | 27,531 | 0 |
Amortization of premium (accretion of discount) on investments in marketable debt securities | 11,386 | 4,692 | (3,815) |
Provision for losses on acquired card receivables | 19,879 | 741 | 0 |
Non-cash operating lease expense | 8,601 | 3,813 | 0 |
Deferred income taxes | (4,075) | (40,617) | 0 |
Other | (726) | 0 | 717 |
Changes in assets and liabilities: | |||
Accounts receivable | (3,032) | (6,535) | (1,608) |
Prepaid expenses and other current assets | (12,970) | 706 | (10,434) |
Other assets | 5,105 | (12,525) | (4,928) |
Accounts payable | (3,771) | 7,417 | (1,596) |
Other accruals and current liabilities | 7,460 | 22,980 | 9,755 |
Operating lease liabilities | (7,877) | 8,395 | 0 |
Other long-term liabilities | (6,749) | 592 | 12,991 |
Deferred revenue | 5,599 | 6,854 | 3,258 |
Net cash (used in) provided by operating activities | (18,093) | 4,623 | (4,430) |
Cash flows from investing activities: | |||
Cash paid for acquisition, net of acquired cash and cash equivalents | (144,349) | (556,090) | 0 |
Purchases of corporate and customer fund short-term investments | (2,801,697) | (2,070,296) | (1,088,611) |
Proceeds from maturities of corporate and customer fund short-term investments | 1,902,474 | 1,104,532 | 806,000 |
Proceeds from sale of corporate and customer fund short-term investments | 55,744 | 142,665 | 46,159 |
Increase in acquired card receivables and other | (130,537) | (26,495) | (959) |
Purchases of property and equipment | (5,377) | (18,902) | (11,437) |
Capitalization of internal-use software costs | (10,259) | (2,304) | (639) |
Proceeds from beneficial interest | 6,699 | 0 | 0 |
Net cash used in investing activities | (1,127,302) | (1,426,890) | (249,487) |
Cash flows from financing activities: | |||
Proceeds from issuance of common stock upon public offering, net of underwriting discounts and other offering costs | 1,341,122 | 0 | 0 |
Proceeds from issuance of convertible senior notes, net of discounts and issuance costs | 560,075 | 1,129,379 | 0 |
Purchase of capped calls | (37,893) | (87,860) | 0 |
Proceeds from issuance of common stock upon initial public offering, net of underwriting discounts and commissions and other offering costs | 0 | 0 | 225,481 |
Proceeds from issuance of common stock upon follow-on public offering, net of underwriting discounts and commissions and other offering costs | 0 | 0 | 308,176 |
Increase in customer fund deposits liability and other | 970,889 | 563,291 | 314,937 |
Proceeds from line of credit borrowings | 37,500 | 0 | 2,300 |
Payments on line of credit and bank borrowings | (40,000) | (2,300) | 0 |
Proceeds from exercise of stock options | 34,024 | 28,209 | 12,232 |
Proceeds from issuance of common stock under the employee stock purchase plan | 12,849 | 8,864 | 0 |
Net cash provided by financing activities | 2,878,566 | 1,639,583 | 863,126 |
Effect of exchange rate changes on cash, cash equivalents, restricted cash, and restricted cash equivalents | (149) | 0 | 0 |
Net increase in cash, cash equivalents, restricted cash, and restricted cash equivalents | 1,733,022 | 217,316 | 609,209 |
Cash, cash equivalents, restricted cash, and restricted cash equivalents, beginning of year | 1,809,693 | 1,592,377 | 983,168 |
Cash, cash equivalents, restricted cash, and restricted cash equivalents, end of year | 3,542,715 | 1,809,693 | 1,592,377 |
Reconciliation of cash, cash equivalents, restricted cash, and restricted cash equivalents within the consolidated balance sheets to the amounts shown in the consolidated statements of cash flows above: | |||
Cash and cash equivalents | 1,596,542 | 509,615 | 573,643 |
Restricted cash included in other current assets | 85,252 | 10,977 | 35 |
Restricted cash included in other assets | 6,724 | 6,875 | 0 |
Restricted cash and restricted cash equivalents included in funds held for customers | 1,854,197 | 1,282,226 | 1,018,699 |
Total cash, cash equivalents, restricted cash, and restricted cash equivalents, end of year | 3,542,715 | 1,809,693 | 1,592,377 |
Supplemental disclosure of cash flow information: | |||
Cash paid for interest | 4,867 | 112 | 174 |
Noncash investing and financing activities: | |||
Fair value of shares issued as consideration for acquisition | 488,494 | 1,603,543 | 0 |
Fair value of stock-based awards assumed in acquisition | 21,724 | 55,275 | 0 |
Recognition of beneficial interest | 4,690 | 0 | 0 |
Payable on purchases of property and equipment | 1,936 | 664 | 0 |
Conversion of redeemable convertible preferred stock into common stock upon initial public offering | 0 | 0 | 276,307 |
Reclassification of redeemable convertible preferred stock warrant liabilities into additional paid-in capital upon initial public offering | 0 | 0 | 1,405 |
Receivable from broker-assisted exercises of stock options | 0 | 0 | 1,228 |
Accrued stock and debt issuance costs | $ 0 | $ 120 | $ 664 |
The Company and Its Significant
The Company and Its Significant Accounting Policies | 12 Months Ended |
Jun. 30, 2022 | |
Accounting Policies [Abstract] | |
The Company and Its Significant Accounting Policies | THE COMPANY AND ITS SIGNIFICANT ACCOUNTING POLICIES Bill.com, Inc. was incorporated in the State of Delaware in April 2006. In November 2018, Bill.com, Inc. consummated a reorganization with Bill.com Holdings, Inc., which resulted in the latter becoming the parent entity of Bill.com, Inc. Bill.com, Inc. was subsequently converted into a limited liability company and renamed Bill.com, LLC. Bill.com Holdings, Inc., which was incorporated in the State of Delaware in August 2018, and its subsidiaries are collectively referred to as the “Company.” The Company is a provider of software-as-a-service, cloud-based payments and spend and expense management products, which allow users to automate accounts payable and accounts receivable transactions, enable businesses to easily connect with their suppliers and/or customers to do business, eliminate expense reports, manage cash flows and improve back office efficiency. Initial Public Offering and Follow-on Offering On December 16, 2019, the Company closed its initial public offering (IPO), in which it issued 11,297,058 shares of common stock at a public offering price of $22.00 per share, which included 1,473,529 shares of common stock issued pursuant to the exercise in full of the over-allotment option by the underwriters. The Company received $225.5 million in net proceeds from the IPO, after deducting underwriting discounts and commissions of $17.4 million and other offering costs of $5.6 million. Upon the completion of the IPO, all shares of the Company’s outstanding redeemable convertible preferred stock were converted into 52,434,505 shares of common stock. Additionally, the Company’s redeemable convertible preferred stock warrants were converted into common stock warrants and the associated redeemable convertible preferred stock warrant liabilities were re-measured to its fair value of $1.4 million and reclassified to additional paid-in capital. On June 15, 2020, the Company closed a follow-on public offering in which it issued 4,330,000 shares of common stock at a public offering price of $74.25 per share, which included 1,080,000 shares of common stock issued pursuant to the exercise in full of the over-allotment option by the underwriters. The Company received $307.5 million in net proceeds from the follow-on public offering, after deducting underwriting discounts and commissions of $12.9 million and other offering costs of $1.1 million. On September 24, 2021, the Company closed a public offering in which the Company issued and sold a total of 5,073,529 shares of common stock at a public offering price of $272.00 per share. The Company received $1.3 billion in net proceeds from this public offering, after deducting underwriting discounts, commissions and other offering costs of $38.9 million. Basis of Presentation and Principles of Consolidation The accompanying consolidated financial statements include the accounts of the Company and were prepared in conformity with U.S. generally accepted accounting principles (GAAP). All intercompany accounts and transactions have been eliminated. Reclassification Certain accounts in the prior period consolidated statements of operation were reclassified to conform with the current year presentation. Segment Reporting The Company operates as one operating segment because its chief operating decision maker, who is the Chief Executive Officer, reviews its financial information on a consolidated basis for purposes of making decisions regarding allocating resources and assessing performance. The Company's long-lived assets are mainly located in the United States (U.S.) and revenue is mainly generated in the U.S. Long-lived assets and revenue generated outside the U.S. are not material. Business Combination The Company accounts for acquisitions using the acquisition method of accounting, which requires, among other things, allocation of the fair value of purchase consideration to the tangible and intangible assets acquired and liabilities assumed at their estimated fair values on the acquisition date. The excess of the fair value of purchase consideration over the values of the identifiable assets and liabilities is recorded as goodwill. The determination of the fair value of assets acquired and liabilities assumed involves assessments of factors such as the expected future cash flows associated with individual assets and liabilities and appropriate discount rates at the date of the acquisition. Significant management inputs used in the estimation of fair value of assets acquired and liabilities assumed include, but are not limited to, expected future cash flows, future changes in technology, estimated replacement costs, discount rates and assumptions about the period of time the brand will continue to be used in the Company’s product portfolio. Where appropriate, external advisers are consulted to assist in the determination of fair value. For non-observable market values, fair value has been determined using acceptable valuation methods (e.g., relief from royalty methods). The results of operations for businesses acquired are included in the financial statements from the acquisition date. Acquisition-related expenses and post-acquisition integration costs are recognized separately from the business combination and are expensed as incurred. During the measurement period, not to exceed one year from the date of acquisition, the Company may record adjustments to the tangible and intangible assets acquired and liabilities assumed, including the fair value of acquired intangible assets, an indemnification asset related to certain assumed liabilities, net lease liabilities, uncertain tax positions, tax-related valuation allowances and pre-acquisition contingencies with a corresponding offset to goodwill. The Company continues to collect information and reevaluates these estimates and assumptions quarterly and records any adjustments to the Company’s preliminary estimates to goodwill provided that the Company is within the measurement period. After the measurement period, any subsequent adjustments are reflected in the consolidated statements of operations. Use of Estimates The preparation of consolidated financial statements in conformity with U.S. GAAP requires management to make various estimates and assumptions that affect the amounts reported and disclosed in the consolidated financial statements and the accompanying notes. Management regularly assesses these estimates, including, but not limited to useful lives of long-lived assets; capitalization of internal-use software costs; incremental borrowing rates for right-of-use operating lease assets and operating lease liabilities; the estimate of credit losses on accounts receivable, acquired card receivables and other financial assets; accrual for rewards; variable consideration used in revenue recognition for certain contracts; benefit periods used to amortize deferred commissions; reserve for losses on funds held for customers; inputs used to value certain stock-based compensation awards; inputs used to estimate beneficial interest derivative on card receivables sold , and valuation of deferred income tax assets. The Company evaluates these estimates and assumptions and adjusts them accordingly. Actual results could differ from those estimates, and such differences may be material to the consolidated financial statements. Funds held for customers and customer fund deposits Funds held for customers and the corresponding liability on customer fund deposits represent funds that are collected from customers for payments to their suppliers and funds that are collected on behalf of customers. Generally, these funds held for customers are initially deposited in separate bank accounts until remitted to the customers’ suppliers or to the customers. Funds held for customers also include amounts that are held by or deposited into the accounts of payment processing companies and receivables from customers. The funds held for customers are restricted for the purpose of satisfying the customers’ fund obligations and are not available for general business use by the Company. The Company partially invests funds held for customers in highly liquid investments with maturities of three months or less and in marketable debt securities with maturities of more than three months up to thirteen months at the time of purchase. Funds held for customers that are invested in marketable debt securities are classified as available-for-sale. These investments are carried at fair value, with unrealized gains or losses included in accumulated other comprehensive (loss) income on the consolidated balance sheets and as a component of the consolidated statements of comprehensive loss. The Company contractually earns interest on funds held for customers with associated counterparties. Cash, cash equivalents, restricted cash and restricted cash equivalents Cash and cash equivalents consist of cash in banks, highly liquid investments with maturities of three months or less at the time of purchase, and securities purchased under overnight reverse repurchase agreements. Restricted cash consists of (i) amounts restricted under deposit account control agreements, (ii) minimum cash balances that are required to be maintained by certain banks, (iii) cash collateral required by the Company’s lessors to satisfy letter of credit requirements under its lease agreements, (iv) cash collateral required by a bank in connection with the Company’s money transmission activities, and (v) cash in bank and cash deposits held by payment processing companies included in funds held for customers. Restricted cash equivalents consist of highly liquid investments with maturities of three months or less at the time of purchase that are included in funds held for customers. Except for the restricted cash included in funds held for customers, the current and non-current portion of the restricted cash is included in prepaid expenses and other current assets and in other assets, respectively, in the accompanying consolidated balance sheets. Short–term investments The Company invests excess cash in marketable debt securities with maturities of more than three months. These securities are classified as available-for-sale and recorded at fair value. The Company determines the appropriate classification of investments in marketable debt securities at the time of purchase and reevaluates such designation at each balance sheet date. After consideration of risk versus reward attributes and liquidity requirements, the Company may sell these debt securities prior to their stated maturities. As the Company views these securities as available to support current operations, the Company classifies highly liquid securities with maturities beyond 12 months as current assets. Unrealized gains or losses are included in accumulated other comprehensive income (loss) on the consolidated balance sheets and as a component of the consolidated statements of comprehensive loss. An impairment loss is recognized when the decline in fair value of the marketable debt securities is determined to be other than temporary. The Company periodically evaluates its investments to determine if impairment charges are required. The Company determined that there was no other-than-temporary impairment on short-term investments during the years ended June 30, 2022, 2021 and 2020. Concentrations of Credit Risk Financial instruments that potentially subject the Company to concentrations of credit risk consist principally of cash, cash equivalents, restricted cash, restricted cash equivalents, short-term investments, accounts receivable, acquired card receivables, and card receivables held for sale (collectively referred to as Financial Assets). The Company maintains its cash, cash equivalents, restricted cash, restricted cash equivalents, and short-term investments with major financial institutions that may at times exceed federally insured limits. Management believes that these financial institutions are financially sound with minimal credit risk. The Company performs credit evaluations to verify the credit quality of its financial assets and determine any at-risk receivables. An allowance for potential credit losses on Financial Assets is recognized, if material. As of June 30, 2022 and 2021, the allowance for potential credit losses related to accounts receivable and acquired card receivables totaled approximately $5.8 million and $1.9 million, respectively. These amounts do not include the immaterial allowance for potential credit losses on purchase of card receivables that have been authorized but not cleared at the end of the periods (see Note 15). There were no customers that exceeded 10% of the Company’s total revenue during the years ended June 30, 2022, 2021 and 2020. Accounts receivable and unbilled revenue Accounts receivable, which consist primarily of fees from customers, including accounting firm and financial institution customers, are recorded at the invoiced amount, net of an allowance for credit losses. Unbilled revenue is recorded based on amounts that the Company expects to invoice to customers in the subsequent period. The allowance for credit losses related to accounts receivable and unbilled revenue is based on the Company’s assessment of the collectability of the receivables. The Company regularly reviews the adequacy of the allowance for credit losses by considering the age of each outstanding invoice and the collection history of each customer to determine whether a specific allowance is appropriate. Accounts receivable deemed uncollectable are charged against the allowance for credit losses when identified. For all periods presented, the allowance for credit losses related to accounts receivable and unbilled revenue was not material. Acquired card receivables The portfolios of acquired card receivables are commercial accounts diversified across various geographies and industries. The Company manages credit risk based on common risk characteristics including macroeconomic factors such as unemployment rates and financial condition of the users of the spend and expense management application. Acquired card receivables are reported at their principal amounts and include uncollected fees outstanding net of allowance for credit losses. Acquired card receivables are deemed to be held for investment when such receivables are not acquired specifically for resale. As part of the onboarding process, users of the Company’s free spend and expense management application are provided with a credit limit subject to a credit policy and underwriting process which is periodically re-performed based on risk indicators and the size of the credit limit. Spending businesses may over fund their accounts through payments in excess of the outstanding balance. Such over funded amounts are recorded as prepaid card deposits, which are included in other accruals and current liabilities in the accompanying consolidated balance sheets. Acquired card receivables represent amounts due on card transactions integrated with the spend and expense management application. The Company is contractually obligated to purchase all card receivables from U.S. based card Issuing Banks (Issuing Banks) including authorized transactions that have not cleared at the Issuing Banks. Acquired card receivables are recorded at the time a transaction clears the Issuing Banks and generally payment for the card receivables is made on the day the transaction clears the Issuing Banks. The acquired card receivables portfolio consists of a large group of smaller balances from spending businesses across a wide range of industries. The allowance for credit losses reflects the Company’s estimate of uncollectible balances resulting from credit and fraud losses and is based on the determination of the amount of expected losses inherent in the acquired card receivable as of the reporting date. An estimate of lifetime expected credit losses is performed by incorporating historical loss experience, as well as current and future economic conditions over a reasonable and supportable period beyond the balance sheet date. In estimating expected credit losses, the Company uses models that entail a significant amount of judgment. The primary areas of judgment used in measuring the quantitative components of the Company’s reserves relate to the attributes used to segment the portfolio, the determination of the historical loss experience look-back period, and the weighting of historical loss experience by monthly cohort. The Company uses these models and assumptions to determine the reserve rates applicable to the outstanding acquired card receivable balances to estimate reserves for expected credit losses. Based on historical loss experience, the probability of default decreases over time, therefore the attribute used to segment the portfolio is the length of time since an account’s credit limit origination. The Company’s models use past loss experience to estimate the probability of default and exposure at default by aged balances. The Company also estimates the likelihood and magnitude of recovery of previously written off loans based on historical recovery experience. Additionally, management evaluates whether to include qualitative reserves to cover losses that are expected but may not be adequately represented in the quantitative methods or the economic assumptions. The qualitative reserves address possible limitations within the models or factors not included within the models, such as external conditions, changes in underwriting strategies, the nature and volume of the portfolio, and the volume and severity of past due accounts. In general, acquired card receivables are written off after substantially the entire balance becomes 120 days delinquent. Assumptions regarding expected losses are reviewed periodically and may be impacted by actual performance of the acquired card receivables and changes in any of the factors discussed above. As of June 30, 2022 and 2021, the allowance for potential credit losses on acquired card receivables shown on the consolidated balance sheets totaled $5.4 million and $1.7 million, respectively. These amounts do not include the immaterial allowance for potential credit losses on purchase of card receivables that have been authorized but not cleared at the end of the periods (see Note 15). Derivative Instruments The Company retains a beneficial interest derivative in the form of a deferred purchase price on card receivables sold. This derivative is not designated as a hedging instrument, and is initially recorded at fair value, with subsequent changes in fair value recorded through other gains and losses. The Company does not use derivative instruments for speculative or trading purposes. The beneficial interest derivative is a residual interest in collections on card receivables sold, and serves to align the economic interests of the Company as servicer with those of the Purchasing Bank. Property and equipment Property and equipment are stated at cost, less accumulated depreciation and amortization. Depreciation and amortization are computed using the straight-line method over the estimated useful lives of the respective assets, generally one The Company capitalizes internal and external direct costs incurred related to obtaining or developing internal-use software. Costs incurred during the application development stage are capitalized and are amortized using the straight-line method over the estimated useful lives of the software, generally three years commencing on the first day of the month following when the software is ready for its intended use. Costs related to planning and post-implementation activities are expensed as incurred. Goodwill Goodwill represents the excess of the purchase price of the acquisition over the net fair value of identifiable assets acquired and liabilities assumed. Goodwill amounts are not amortized. Intangible Assets The Company generally recognizes assets for customer relationships, developed technology, and finite-lived trade names from an acquisition. Finite-lived intangible assets are carried at acquisition cost less accumulated amortization. Such amortization is recorded on a straight-line basis over the estimated useful lives of the respective assets, generally from 3 to 10 years. Amortization for developed technology is recognized in cost of revenue. Amortization for customer relationships and trade names is recognized in sales and marketing expenses. Impairment The valuation of goodwill at the reporting unit level is reviewed annually during the fourth fiscal quarter or more frequently if facts or changes in circumstances indicate the carrying amount of goodwill may not be recoverable. The Company has one reporting unit; therefore, all of its goodwill is associated with the entire company. Management has the option to first perform a qualitative assessment to determine whether it is more likely than not that the fair value of the Company is less than the carrying amount, including goodwill. If it is determined that it is more likely than not that the fair value of the Company is less than the carrying amount, a quantitative assessment is performed by comparing the fair value of a reporting unit with its carrying amount. An impairment charge is recognized for the amount by which the carrying amount exceeds the reporting unit’s fair value, not to exceed the total amount of goodwill allocated to that reporting unit. The Company also has the option to bypass the qualitative assessment and perform the quantitative assessment. Intangible assets with indefinite useful lives are not amortized but are evaluated for impairment annually during the fourth fiscal quarter or more frequently if events or changes in circumstances indicate that impairment may exist. The Company first assesses qualitative factors to determine whether it is necessary to perform a quantitative impairment test for indefinite-lived intangible assets. Impairment exists if the fair value of the indefinite-lived intangible asset is less than the carrying value. The Company reviews the valuation of long-lived assets, including property and equipment and finite-lived intangible assets, whenever events or changes in circumstances indicate that the carrying amount of the asset may not be recoverable. The recoverability of long-lived assets or asset groups is calculated based on the estimated undiscounted future cash flows expected to result from the use and eventual disposition of the asset. Impairment testing is performed at the asset group level. Based on management's assessment, the Company did not recognize any impairment losses on its goodwill, finite-lived intangible assets, or other long-lived assets during the periods presented herein. Leases The Company determines if an arrangement is a lease, or contains a lease, by evaluating whether there is an identified asset and whether the Company controls the use of the identified asset throughout the period of use. The Company determines the classification of the lease, whether operating or financing, at the lease commencement date, which is the date the leased assets are made available for use. The Company uses the non-cancelable lease term when recognizing the right-of-use (ROU) assets and lease liabilities, unless it is reasonably certain that a renewal or termination option will be exercised. The Company accounts for lease components and non-lease components as a single lease component. Modifications are assessed to determine whether incremental differences result in new contract terms and accounted for as a new lease or whether the additional right of use should be included in the original lease and continue to be accounted with the remaining ROU asset. Operating lease ROU assets and lease liabilities are recognized at the lease commencement date based on the present value of the lease payments over the lease term. Lease payments consist of the fixed payments under the arrangement, less any lease incentives. Variable costs, such as common area maintenance costs, are not included in the measurement of the ROU assets and lease liabilities, but are expensed as incurred. As the implicit rate of the leases is not determinable, the Company uses an incremental borrowing rate in determining the present value of the lease payments. Lease expenses are recognized on a straight-line basis over the lease term. The Company does not recognize ROU assets on lease arrangements with a term of 12 months or less. Lease expense for such arrangements is recognized on a straight-line basis over the term of the lease. Accrued Rewards Spending businesses participate in rewards programs based on card transactions. The Company records a rewards liability that represents the estimated cost for rewards owed to spending businesses. Rewards liabilities are impacted over time by redemption costs and by spending businesses meeting eligibility requirements. Changes in the rewards liabilities during the period are recognized as an increase or decrease to sales and marketing expense in the accompanying consolidated statements of operations. The accrued rewards liability, which was $36.2 million and $19.2 million as of June 30, 2022 and 2021, respectively, is included in other accruals and current liabilities in the accompanying consolidated balance sheets. The rewards expense, which was $95.2 million and $4.5 million during the years ended June 30, 2022 and 2021, respectively, is included in sales and marketing expenses in the accompanying consolidated statements of operations. Revenue recognition Arrangements with SMBs and Accounting Firms The Company enters into contracts with SMB and accounting firm customers to provide access to the functionality of the Company’s cloud-based payments platform to process transactions. These contracts are either monthly contracts paid in arrears or upfront, or annual arrangements paid up front. The Company charges its SMB and accounting firm customers subscription fees for access to its platform either based on the number of users or per customer account and the level of service. The Company generally also charges these customers transaction fees based on transaction volume and the category of transaction. The contractual price for subscription and transaction services is based on either negotiated fees or the rates published on the Company’s website. The Company accounts for its annual and monthly contracts as a series of distinct services that are satisfied over time. The Company determines the transaction price for such contracts by estimating the total consideration to be received over the contract term from subscription and transaction fees. The Company recognizes the transaction price as a single performance obligation based on the proportion of transactions processed to the total estimated transactions to be processed over the contract period. Revenues recognized exclude amounts collected on behalf of third parties, such as sales taxes collected and remitted to governmental authorities. Arrangements with Spending Businesses The Company facilitates the extension of credit to spending businesses through the Divvy product in the form of Divvy cards, which are originated through agreements with its Issuing Banks. The agreements with the Issuing Banks allow for card transactions on the MasterCard and Visa networks. Spending businesses utilize the credit on the Divvy cards as a means of payment for goods and service provided by their suppliers. For each transaction, the suppliers are required to pay interchange fees to the issuer of the credit. Based on the Company's agreements with its Issuing Banks, the Company recognizes the interchange fees as revenue gross or net of rebates received from the Issuing Bank based on the Company's determination of whether it is the principal or agent under the agreements. Arrangements with Financial Institutions The Company enters into multi-year contracts with financial institution customers to provide access to the Company’s cloud-based payments platform to process transactions. These contracts typically include fees for initial implementation services that are paid during the period the implementation services are provided as well as fees for subscription and transaction processing services, which are subject to guaranteed monthly minimum fees that are paid monthly over the contract term. These contracts enable the financial institutions to provide their customers with access to online bill pay services through the financial institutions’ online platforms. Implementation services are required up-front to establish an infrastructure that allows the financial institutions’ online platforms to communicate with the Company’s online platform. A financial institution’s customers cannot access online bill pay services until implementation is complete. Initial implementation services and transaction processing services are not capable of being distinct from the subscription for online bill pay services and are combined into a single performance obligation. The total consideration in these contracts varies based on the number of users and transactions to be processed. The Company has determined it meets the variable consideration allocation exception and therefore recognizes guaranteed monthly payments and any overages as revenue in the month they are earned. Implementation fees are recognized based on the proportion of transactions processed to the total estimated transactions to be processed over the contract period. The ability of the financial institution customers to renew their contracts without having to pay up-front implementation fees again could provide them a material right. Material rights, which have not been significant to date, are treated as separate performance obligations and are recognized over the expected period of benefit. For such arrangements, the Company allocates revenue to each performance obligation based on its relative standalone selling price. Deferred revenue Subscription and transaction fees from customers for which the Company has annual or multi-year contracts are generally billed in advance. These fees are initially recorded as deferred revenue and subsequently recognized as revenue as the performance obligation is satisfied. Deferred costs Deferred costs consist of (i) deferred sales commissions that are incremental costs of obtaining customer contracts and (ii) deferred service costs, primarily direct payroll costs, for implementation services Service Costs Service costs consist primarily of personnel-related costs, including stock-based compensation expenses, for the Company’s customer success and payment operations teams, outsourced support services for our customer success team, costs that are directly attributed to processing customers’ and spending businesses' transactions (such as the cost of printing checks, postage for mailing checks, fees associated with the issuance and processing of card transactions, fees for processing payments, such as ACH, check and cross-border wires), direct and amortized costs for implementing and integrating the Company’s platform into the customers’ systems, costs for maintaining, optimizing, and securing the Company’s cloud payments infrastructure, amortization of capitalized internal-use software, fees on the investment of customer funds, and allocation of overhead costs. Research and development Costs incurred in research and development, excluding development costs eligible for capitalization as internal-use software, are expensed as incurred. Stock-based compensation The Company measures stock-based compensation for stock options and purchase rights issued under the Employee Stock Purchase Plan (ESPP) at fair value on the date of grant using the Black-Scholes option-pricing model. The Company measures stock-based compensation for restricted stock units (RSUs) and market-based RSUs based on the closing price of the Company’s stock and using the Monte Carlo simulation model, respectively, on the date of grant. The Company measures stock-based compensation for performance-based awards at fair value on the date of grant by using the Black-Scholes valuation option-pricing model or other valuation technique depending on the nature of the award. Awards that are classified as liabilities are remeasured at fair value at the end of each reporting period. The Company recognizes compensation costs on a straight-line basis over the requisite service period, which is generally the vesting term of four years for stock options and RSUs, the offering period of one year for purchase |
Revenue
Revenue | 12 Months Ended |
Jun. 30, 2022 | |
Revenue from Contract with Customer [Abstract] | |
Revenue | REVENUE The Company generates revenue primarily from subscription and transaction fees. The Company’s customers include small and midsize businesses (SMB), accounting firms, and financial institutions. The table below shows the Company’s revenue from subscription and transaction fees, which are disaggregated by customer category, and revenue from interest on funds held for customers (in thousands). Year ended June 30, 2022 2021 2020 Small-to-midsize business, accounting firm customers and other $ 603,171 $ 218,227 $ 126,035 Financial institution customers 30,194 14,028 10,370 Subscription and transaction fees 633,365 232,255 136,405 Interest on funds held for customers 8,594 6,010 21,195 Revenue $ 641,959 $ 238,265 $ 157,600 Deferred revenue Fees from customers with which the Company has annual or multi-year contracts are generally billed in advance. These fees are initially recorded as deferred revenue and subsequently recognized as revenue as the performance obligation is satisfied. During the year ended June 30, 2022, the Company recognized $13.0 million of revenue that was included in the deferred revenue balance as of June 30, 2021. Remaining performance obligations The Company has performance obligations associated with commitments in customer contracts for future services that have not yet been recognized as revenue. As of June 30, 2022, the aggregate amount of transaction price allocated to performance obligations that are unsatisfied (or partially unsatisfied), including deferred revenue, was approximately $150.3 million. Of the total remaining performance obligations, the Company expects to recognize approximately 66% within two years and 34% over the next three Unbilled revenue Unbilled revenue, which is included in prepaid expenses and other current assets in the accompanying consolidated balance sheets, consists of revenue recognized that has not been billed to the customers yet. The unbilled revenue amounted to $11.4 million and $8.1 million as of June 30, 2022 and 2021, respectively. Deferred costs Deferred costs consisted of the following as of the dates presented (in thousands): June 30, 2022 2021 Deferred sales commissions: Current $ 5,460 $ 4,169 Non-current 9,187 6,542 Total deferred sales commissions $ 14,647 $ 10,711 Deferred service costs: Current $ 1,706 $ 1,539 Non-current 13,862 15,260 Total deferred service costs $ 15,568 $ 16,799 The current portion of deferred costs is included in prepaid expenses and other current assets and the non-current portion is included in other assets in the accompanying consolidated balance sheets. The amortization of deferred sales commissions, which is included in sales and marketing in the accompanying consolidated statements of operations, was $5.2 million, $3.6 million and $2.3 million during the years ended June 30, 2022, 2021 and 2020, respectively. The amortization of deferred service costs, which is included in the service costs in the accompanying consolidated statements of operations, was $1.6 million, $0.6 million and $0.4 million during the years ended June 30, 2022, 2021 and 2020, respectively. |
Business Combination
Business Combination | 12 Months Ended |
Jun. 30, 2022 | |
Business Combinations [Abstract] | |
Business Combination | BUSINESS COMBINATION Fiscal 2022 acquisition On September 1, 2021, the Company acquired 100% of the outstanding equity interests of Invoice2go. The results of Invoice2go's operations have been included in the accompanying consolidated financial statements since the acquisition date. Invoice2go provides mobile-first accounts receivable software that empowers SMBs and freelancers to grow their client base, manage invoicing and payments, and build their brand. Invoice2go has operations in the U.S. and in Australia, and serves a large global customer base of SMBs. The acquisition of Invoice2go will enhance the Company’s ability to provide an expanded product solution to enable SMBs to manage accounts payable, corporate card spend, and accounts receivable all in one place. Additionally, the acquisition will expand the market opportunity for the Company by offering Invoice2go's product to its existing customers and network members and vice versa. The acquisition purchase consideration totaled $674.3 million, which consisted of the following (in thousands): Equity consideration (1) $ 510,218 Cash 164,087 Total $ 674,305 (1) This includes 1,788,372 shares of the Company’s common stock issued with a fair value based upon the opening market price on the acquisition date. This also includes the stock options assumed to replace stock options that were outstanding on the acquisition date under Invoice2go's 2014 Equity Incentive Plan (Invoice2go 2014 Plan). The fair value of these stock options was $21.7 million, which was the amount attributable to the pre-combination requisite service period. The following table summarizes the preliminary fair values of the assets acquired and liabilities assumed at the acquisition date (in thousands): Cash and cash equivalents $ 19,738 Accounts receivable and other assets 4,518 Intangible assets 91,219 Total identifiable assets acquired 115,475 Accounts payable and other liabilities (26,618) Net identifiable assets acquired 88,857 Goodwill 585,448 Net assets acquired $ 674,305 The preliminary fair values allocated to the identifiable intangible assets (in thousands) and their estimated useful lives are as follows: Preliminary Weighted average Customer relationships $ 61,269 10.0 Developed technology 15,908 3.0 Trade name 14,042 3.0 Total $ 91,219 7.7 Customer relationships were measured at fair value using the multiple-period excess earnings method under the income approach. Significant inputs used to measure the fair value include an estimate of projected revenue and costs associated with existing customers, and a discount rate of 12.3%. Developed technology was measured at fair value using the relief-from-royalty method of the income approach. Significant inputs used to measure the fair value include an estimate of projected revenue from existing technology, a pre-tax royalty rate of 15.0% and a discount rate of 12.3%. Trade name was measured at fair value using the relief-from-royalty method under the income approach. Significant inputs used to measure the fair value include an estimate of projected revenue from the trade name, a pre-tax royalty rate of 2.5% and a discount rate of 12.3%. The $585.4 million goodwill is attributable primarily to the expected synergies and economies of scale expected from combining the operations of both entities, and intangible assets that do not qualify for separate recognition, including assembled workforce acquired through the acquisition. None of the goodwill is expected to be deductible for income tax purposes. As a result of ASU 2021-08 adoption on October 1, 2021, retrospectively to September 1, 2021, the Company recorded adjustments of $8.0 million to increase goodwill and deferred revenue, and an immaterial amount to deferred income tax liability. The amounts recorded as measurement period adjustments from the acquisition date through June 30, 2022 were not material. The Company recognized $3.7 million of acquisition-related costs that were expensed during the year ended June 30, 2022. These costs are shown as part of general and administrative expenses in the accompanying consolidated statements of operations. The amount of Invoice2go’s revenue and net loss, which includes amortization of intangible assets, from the acquisition date of Invoice2go that were included in the Company’s consolidated statements of operations during the year ended June 30, 2022 were approximately $32.9 million and $32.0 million, respectively. Unaudited Pro Forma Financial Information The unaudited pro forma information below summarizes the combined results (in thousands) of the Company and Invoice2go as if the Company’s acquisition of Invoice2go closed on July 1, 2020, but does not necessarily reflect the combined actual results of operations of the Company and Invoice2go that would have been achieved, nor are they necessarily indicative of future results of operations. The unaudited pro forma information reflects certain adjustments that were directly attributable to the acquisition of Invoice2go, including additional depreciation and amortization adjustments for the fair value of the assets acquired and liabilities assumed. The pro forma net loss for the year ended June 30, 2022 was adjusted to exclude nonrecurring acquisition-related costs of $19.0 million. The pro forma net loss for the year ended June 30, 2021 was adjusted to exclude nonrecurring acquisition-related costs of $20.6 million. Year ended June 30, 2022 2021 Revenue $ 648,476 $ 274,842 Net loss $ (327,136) $ (149,003) Fiscal 2021 acquisition On Jun 1, 2021, the Company acquired 100% of the outstanding equity interests of DivvyPay, Inc. (Divvy). The results of Divvy’s operations have been included in the consolidated financial statements since the acquisition date. Divvy offers a cloud-based spend management application and smart corporate cards to SMBs in the U.S. The acquisition of Divvy will enhance the Company’s ability to provide an expanded solution to enable SMBs to manage accounts payable, corporate card spend, and accounts receivable all in one place. Additionally, the acquisition will expand the market opportunity for the Company by offering a spend management application combined with smart corporate cards to its existing customers and network members. The acquisition purchase consideration totaled $2.3 billion, which consisted of the following (in thousands): Equity consideration (1) $ 1,658,818 Cash 664,779 Total $ 2,323,597 (1) This includes 10,767,140 shares of the Company’s common stock issued with a fair value based upon the opening market price on the acquisition date. This also includes the stock options assumed to replace stock options that were granted after May 1, 2019 under Divvy’s 2016 Equity Incentive Plan (Divvy 2016 Plan) and were outstanding on the acquisition date. The fair value of these stock options was $55.3 million, which was the amount attributable to the pre-combination requisite service period. The following table summarizes the fair values of the assets acquired and liabilities assumed at the acquisition date (in thousands): Cash $ 108,689 Acquired card receivables 159,784 Accounts receivable 7,435 Card receivables held for sale 12,730 Property and equipment 15,805 Intangible assets 423,000 Prepaid expenses and other assets 57,669 Total identifiable assets acquired 785,112 Accounts payable and other liabilities (153,855) Outstanding borrowings from credit facilities (79,703) Total liabilities assumed (233,558) Net identifiable assets acquired 551,554 Goodwill 1,772,043 Net assets acquired $ 2,323,597 The fair values allocated to the identifiable intangible assets (in thousands) and their estimated useful lives are as follows: Fair value Weighted average useful life (in years) Customer relationships $ 198,000 10.0 Developed technology 191,000 6.0 Trade name 34,000 3.0 Total $ 423,000 7.6 Following the acquisition of Divvy, the Company had a period of not more than 12 months to finalize the fair values of assets acquired and liabilities assumed, including valuations of identifiable intangible assets and indemnification asset related to certain assumed liabilities at the acquisition date. During the 12-month measurement period, the Company remeasured the fair value of the leases acquired and the replacement stock based awards included in the purchase consideration. The effect of these measurement period adjustments resulted in a decrease of goodwill by $2.7 million. There were no other material adjustments made during the 12-month measurement period related to the acquisition of Divvy. Customer relationships were measured at fair value using the multiple-period excess earnings method under the income approach. Significant inputs used to measure the fair value include an estimate of projected revenue and costs associated with existing customers, and a discount rate of 16.0%. Developed technology was measured at fair value using the relief-from-royalty method of the income approach. Significant inputs used to measure the fair value include an estimate of projected revenue from existing technology, a pre-tax royalty rate of 15.0% and a discount rate of 16.0%. Trade name was measured at fair value using the relief-from-royalty method under the income approach. Significant inputs used to measure the fair value include an estimate of projected revenue from the trade name, a pre-tax royalty rate of 1.0% and a discount rate of 16.0%. The $1.8 billion goodwill is attributable primarily to the expected synergies and economies of scale expected from combining the operations of both entities, and intangible assets that do not qualify for separate recognition, including assembled workforce acquired through the acquisition. Goodwill is not expected to be deductible for income tax purposes. As of the acquisition date, the fair value of card receivables held for sale, which approximates the gross contractual amount, was $12.7 million. These receivables were substantially settled as of June 30, 2021. Pursuant to the terms of the merger agreement, the Company recognized an indemnification asset of $13.4 million and $20.4 million related to certain assumed liabilities at the acquisition date as of June 30, 2022 and 2021, respectively. The indemnification asset was measured and recognized on the same basis and at the same time as the indemnified liabilities. The Company recognized $15.5 million of acquisition-related costs that were expensed during the year ended June 30, 2021. These costs are shown as part of general and administrative expenses in the accompanying consolidated statements of operations. The amounts of Divvy’s total revenues and net loss that were included in the Company’s consolidated statement of operations from the acquisition date through June 30, 2021 were $10.3 million and $11.4 million, respectively. Unaudited Pro Forma Financial Information The unaudited pro forma information does not necessarily reflect the actual results of operations of the combined entities that would have been achieved, nor are they necessarily indicative of future results of operations. The unaudited pro forma information reflects certain adjustments that were directly attributable to the acquisition of Divvy, including additional depreciation and amortization adjustments for the fair value of the assets acquired and liabilities assumed. The pro forma net loss for the year ended June 30, 2021 was adjusted to exclude nonrecurring acquisition related costs of $2.3 million. The pro forma net loss for the year ended Jun 30, 2020 was adjusted to include nonrecurring acquisition-related costs of $75.3 million. Below is the unaudited pro forma financial information of the combined results of operations of the Company and Divvy as if the acquisition occurred on July 1, 2019 (in thousands). Year ended 2021 2020 Total revenue $ 307,618 $ 192,770 Net loss $ (223,470) $ (206,166) |
Fair Value Measurement
Fair Value Measurement | 12 Months Ended |
Jun. 30, 2022 | |
Fair Value Disclosures [Abstract] | |
Fair Value Measurement | FAIR VALUE MEASUREMENT The Company measures and reports its cash equivalents, short-term investments, funds held for customers that are invested in money market funds and marketable debt securities, and beneficial interest derivative on card receivables sold at fair value. Fair value is defined as the exchange price that would be received for an asset or an exit price paid to transfer a liability in the principal or most advantageous market for the asset or liability in an orderly transaction between market participants on the measurement date. Valuation techniques used to measure fair value must maximize the use of observable inputs and minimize the use of unobservable inputs. The fair value hierarchy defines a three-level valuation hierarchy for disclosure of fair value measurements as follows: Level 1 – Inputs are unadjusted quoted prices in active markets for identical assets or liabilities. Level 2 – Inputs other than quoted prices included within Level 1 that are observable, unadjusted quoted prices in markets that are not active, or other inputs that are observable or can be corroborated by observable market data for substantially the full term of the related assets or liabilities. Level 3 – Unobservable inputs that are supported by little or no market activity for the related assets or liabilities and typically reflect management’s estimate of assumptions that market participants would use in pricing the assets or liabilities. In determining fair value, the Company utilizes quoted market prices, or valuation techniques that maximize the use of observable inputs and minimize the use of unobservable inputs to the extent possible, and also considers counterparty credit risk in its assessment of fair value. The following tables set forth the fair value of assets that were measured at fair value on a recurring basis based on the three-tier fair value hierarchy as of the dates presented (in thousands): June 30, 2022 Level 1 Level 2 Level 3 Total Assets Cash equivalents: Money market funds $ 1,424,259 $ — $ — $ 1,424,259 Corporate bonds — 11,430 — 11,430 1,424,259 11,430 — 1,435,689 Short-term investments: Corporate bonds — 597,204 — 597,204 U.S. treasury securities 421,728 — — 421,728 Asset-backed securities — 51,406 — 51,406 Certificates of deposit — 38,155 — 38,155 421,728 686,765 — 1,108,493 Funds held for customers: Restricted cash equivalents Money market funds 34,703 — — 34,703 Corporate bonds — 133,557 — 133,557 34,703 133,557 — — 168,260 Short-term investments Corporate bonds — 807,685 — 807,685 Certificates of deposit — 397,533 — 397,533 Municipal bonds — 6,516 — 6,516 Asset-backed securities — 69,912 — 69,912 U.S. treasury securities 3,072 — — 3,072 3,072 1,281,646 — 1,284,718 Beneficial interest derivative on card receivables sold — — 398 398 Total assets measured at fair value $ 1,883,762 $ 2,113,398 $ 398 $ 3,997,558 June 30, 2021 Level 1 Level 2 Level 3 Total Assets Cash equivalents: Money market funds $ 365,550 $ — $ — $ 365,550 Corporate bonds — 15,499 — 15,499 365,550 15,499 — 381,049 Short-term investments: Corporate bonds — 466,459 — 466,459 U.S. treasury securities 155,674 — — 155,674 Asset-backed securities — 26,406 — 26,406 Certificates of deposit — 6,775 — 6,775 155,674 499,640 — — — 655,314 Funds held for customers: Restricted cash equivalents Money market funds 6,887 — — 6,887 Corporate bonds — 79,435 — 79,435 6,887 79,435 — — 86,322 Short-term investments Corporate bonds — 516,350 — 516,350 Certificates of deposit — 326,927 — 326,927 Municipal bonds — 42,957 — 42,957 Asset-backed securities — 25,085 — 25,085 U.S. treasury securities 3,009 — — 3,009 3,009 911,319 — 914,328 Beneficial interest derivative on card receivables sold — — 2,252 2,252 Total assets measured at fair value $ 531,120 $ 1,505,893 $ 2,252 $ 2,039,265 There were no transfers of financial instruments between Level 1, Level 2, and Level 3 during the periods presented. The fair values of the Company’s Level 1 instruments were derived from quoted market prices and active markets for these specific instruments. The valuation techniques used to measure the fair values of Level 2 instruments were derived from non-binding market consensus prices that were corroborated with observable market data, quoted market prices for similar instruments, or pricing models. The initial and recurring fair value of the beneficial interest derivative on card receivables sold is estimated using a discounted cash flow model, which uses Level 3 inputs including a discount rate and a default rate. The default rate estimate is based upon the expected transferred card receivables that will ultimately default. The default rate is calculated using historical trends and ages of the outstanding card receivable balances. The default rate did not have a material impact in the estimation of fair value of the beneficial interest derivative as of June 30, 2022 and 2021. Other inputs, such as the discount rate and expected repayments, are generally considered but had no material impact in the estimation of fair value of the beneficial interest derivative as of June 30, 2022 and 2021. A ten percent increase or decrease in the discount rate or default rate used would not result in a significantly higher or lower fair value measurement. The Company has $575 million and $1.15 billion in aggregate principal amount of its 0% convertible senior notes due in 2027 (2027 Notes) and in 2025 (2025 Notes, together with the 2027 Notes, the Notes), respectively, outstanding as of June 30, 2022 . The Company carries the Notes at par value, less the unamortized debt discount and issuance costs in the accompanying consolidated balance sheets. The estimated fair value of the 2027 Notes and 2025 Notes, which is presented for disclosure purposes only, was approximately $446.4 million and $1.19 billion, respectively, as of June 30, 2022. The fair value was based on a market approach, which represents a L evel 2 valuation estimate. The market approach was determined based on the actual bids and offers of the Notes in an over-the-counter market as of the last day of trading prior to the end of the period. |
Short-Term Investments
Short-Term Investments | 12 Months Ended |
Jun. 30, 2022 | |
Investments, Debt and Equity Securities [Abstract] | |
Short-Term Investments | SHORT-TERM INVESTMENTS Short-term investments consisted of the following as of the dates presented (in thousands): June 30, 2022 Amortized Gross Gross Fair value Corporate bonds $ 601,987 $ 3 $ (4,786) $ 597,204 U.S. treasury securities 424,644 1 (2,917) 421,728 Asset-backed securities 51,622 — (216) 51,406 Certificates of deposit 38,155 — — 38,155 $ 1,116,408 $ 4 $ (7,919) $ 1,108,493 June 30, 2021 Amortized Gross Gross Fair value Corporate bonds $ 466,403 $ 111 $ (55) $ 466,459 U.S. treasury securities 155,663 16 (5) 155,674 Asset-backed securities 26,391 16 (1) 26,406 Certificates of deposit 6,775 — — 6,775 $ 655,232 $ 143 $ (61) $ 655,314 The amortized cost and fair value amounts include accrued interest receivable of $3.0 million and $2.5 million at June 30, 2022 and 2021, respectively. See Note 4 for additional information about the fair value measurement of short-term investments. As of June 30, 2022, the fair value of the Company’s short-term investments that mature within one year and thereafter was $961.8 million and $146.7 million, respectively, or 87% and 13%, respectively, of the Company’s total short-term investments. As of June 30, 2021, the fair value of the Company’s short-term investments that mature within one year and thereafter was $495.8 million and $159.5 million, respectively, or 76% and 24%, respectively, of the Company’s total short-term investments. As of June 30, 2022, approximately 270 of about 360 investment positions were in an unrealized loss position. The following table presents the gross unrealized losses and fair values of those investments that were in an unrealized loss position as of the dates presented (in thousands): June 30, 2022 Fair value Unrealized Corporate bonds $ 392,699 $ (4,786) U.S. treasury securities 411,787 (2,917) Asset backed securities 51,406 (216) Total $ 855,892 $ (7,919) June 30, 2021 Fair value Unrealized Corporate bonds $ 152,485 $ (55) U.S. treasury securities 85,466 (5) Asset backed securities 8,089 (1) Total $ 246,040 $ (61) Most of the Company investments with unrealized losses had been in a continuous unrealized loss position for less than 12 months. Investments with unrealized losses that had been in a continuous unrealized loss position for more than 12 months have been immaterial. The Company does not intend to sell the investments and it is not likely that the Company will be required to sell the investments before recovery of their amortized cost bases, which may be at maturity. Therefore, the Company does not consider those unrealized investment losses as other-than-temporary impairment of the investments. There have been no significant realized gains or losses on the short-term investments during the years ended June 30, 2022, 2021 and 2020. |
Funds Held for Customers
Funds Held for Customers | 12 Months Ended |
Jun. 30, 2022 | |
Investments, Debt and Equity Securities [Abstract] | |
Funds Held for Customers | FUNDS HELD FOR CUSTOMERS Funds held for customers consisted of the following as of the dates presented (in thousands): June 30, 2022 2021 Restricted cash $ 1,685,937 $ 1,195,904 Restricted cash equivalents 168,260 86,322 Funds receivable 6,747 12,694 Corporate bonds 807,685 516,350 Certificates of deposit 397,533 326,927 Municipal bonds 6,516 42,957 Asset backed securities 69,912 25,085 U.S. treasury securities 3,072 3,009 Total funds held for customers 3,145,662 2,209,248 Less - income earned by the Company included in other current assets (3,002) (650) Total funds held for customers, net of income earned by the Company $ 3,142,660 $ 2,208,598 Income earned by the Company that is included in other current assets represents interest income, accretion of discount (offset by amortization of premium), and net unrealized gains on customer funds that were invested in money market funds and short-term marketable debt securities. Earnings from these investments are contractually earned by the Company and are either transferred into the Company’s corporate deposit account or reinvested in the funds held for customers portfolios upon sale or settlement of the associated investment. Below is a summary of the fair value of funds held for customers that were invested in short-term marketable debt securities as of the dates presented (in thousands): June 30, 2022 Amortized Gross Gross Fair value Corporate bonds $ 809,113 $ 1 $ (1,429) $ 807,685 Certificates of deposit 397,533 — — 397,533 Municipal bonds 6,542 — (26) 6,516 Asset backed securities 70,574 — (662) 69,912 U.S. treasury securities 3,082 — (10) 3,072 Total $ 1,286,844 $ 1 $ (2,127) $ 1,284,718 June 30, 2021 Amortized Gross Gross Fair value Corporate bonds $ 516,364 $ 24 $ (38) $ 516,350 Certificates of deposit 326,927 — — 326,927 Municipal bonds 42,952 5 — 42,957 Asset backed securities 25,081 4 — 25,085 U.S. treasury securities 3,010 — (1) 3,009 Total $ 914,334 $ 33 $ (39) $ 914,328 The amortized cost and estimated fair value amounts include accrued interest receivable of $3.0 million and $1.9 million at June 30, 2022 and 2021, respectively. See Note 4 for additional information about the fair value measurement of short-term investments. As of June 30, 2022, approximately 95%, or $1.2 billion, of the total funds held for customers invested in marketable debt securities mature within one year and approximately 5% or $69.9 million mature thereafter. As of June 30, 2021, 97%, or $882.4 million, of the funds held for customers invested in short-term marketable debt securities matured within one year and approximately 3% or $31.9 million mature thereafter. As of June 30, 2022, approximately 180 of the more than 400 investment positions were in an unrealized loss position. The following tables present the gross unrealized losses and fair values of those investments that were in an unrealized loss position as of the dates presented (in thousands): June 30, 2022 Fair value Unrealized Corporate bonds $ 301,625 $ (1,429) Municipal bonds 6,516 (26) Asset backed securities 64,361 (662) U.S. treasury securities 3,072 (10) Total $ 375,574 $ (2,127) June 30, 2021 Fair value Unrealized Corporate bonds $ 79,359 $ (38) U.S. treasury securities 2,501 (1) Total $ 81,860 $ (39) Investments with unrealized losses have been in a continuous unrealized loss position for less than 12 months. The Company does not intend to sell the investments and it is not likely that the Company will be required to sell the investments before recovery of their amortized cost bases, which may be at maturity. Therefore, the Company does not consider those unrealized investment losses as other-than-temporary impairment of the investments. There have been no significant realized gains or losses on the short-term investments during the years ended June 30, 2022, 2021 and 2020. |
Acquired Card Receivables
Acquired Card Receivables | 12 Months Ended |
Jun. 30, 2022 | |
Acquired Card Receivables [Abstract] | |
Acquired Card Receivables | ACQUIRED CARD RECEIVABLES Acquired Card Receivables Acquired card receivables consisted of the following as of the dates presented (in thousands): June 30, 2022 2021 Gross amount of acquired card receivables $ 261,806 $ 148,833 Less: allowance for credit losses (5,414) (1,740) Total $ 256,392 $ 147,093 Certain lines of credit and acquired card receivable balances are collateralized by cash deposits held by the Issuing Banks. Before an account is charged off, the Company obtains any available cash collateral from the Issuing Banks. As of June 30, 2022, approximately $115.8 million of the acquired card receivable balance served as collateral for the Company’s borrowings from the 2021 Revolving Credit Agreement (see Note 10). The Company also incurred losses related to card transactions disputed by spending businesses, which amounted to $4.3 million during the year ended June 30, 2022 and an immaterial amount during the year ended June 30, 2021. The acquired card receivable balances above do not include purchases of card receivables from the Issuing Banks that have not cleared at the end of the reporting period. Purchases of card receivables that have not cleared as of June 30, 2022 totaled $55.2 million. The Company recognized an immaterial amount of expected credit losses on the purchased card receivables that have not cleared yet as of June 30, 2022 and 2021 (see Note 15). Credit Quality Information The Company regularly reviews collection experience, delinquencies, and net charge-offs in determining allowance for credit losses related to acquired card receivables. Historical collections rates have shown that days past due is the primary indicator of the likelihood of loss. The Company elected to use the delinquency trends or past due status of the acquired card receivables as the credit quality indicator. Acquired card receivables are considered past due if full payment is not received on the bill date or within a grace period, which is generally limited to five days. Below is a summary of the acquired card receivables by class (i.e., past due status) as of the dates presented (in thousands): June 30, 2022 2021 Current and less than 30 days past due $ 257,618 $ 145,993 30 ~ 59 days past due 1,677 1,188 60 ~ 89 days past due 1,199 580 90 ~ 119 days past due 1,186 713 Over 119 days past due 126 359 Total $ 261,806 $ 148,833 The amount of outstanding balance of acquired card receivables that is (i) 90 days or more past due that continue to accrue fees and have an allowance for outstanding balance and fees, and (ii) classified as nonperforming was not material as of June 30, 2022 and 2021. Allowance for Credit Losses Below is a summary of the allowance for credit losses as of the dates presented and the changes during the years ended June 30, 2022 and 2021 (in thousands): June 30, 2022 2021 (1) Balance, beginning $ 1,740 $ — Initial allowance for credit losses on purchased card receivables with credit deterioration 313 2,082 Provision for expected credit losses 19,566 462 Charge-off amounts (18,005) (828) Recoveries collected 1,800 24 Balance, ending $ 5,414 $ 1,740 (1) Amounts from the acquisition date of Divvy on June 1, 2021. Card receivables acquired from the Issuing Banks and held for investment during the years ended June 30, 2022 and 2021 were $6.6 billion and $370.6 million, respectively. The allowance for credit losses related to acquired card receivables increased during the year ended June 30, 2022 due to portfolio growth, a decrease in the estimate of recoveries of previously written off card receivables based on current collection performance, and due to qualitative assumptions for macroeconomic factors. Purchased Financial Assets with Credit Deterioration A financial asset acquired is considered a purchased credit deteriorated (PCD) asset if, as of the acquisition date, such financial asset has experienced a more-than-insignificant deterioration in credit quality since origination. The Company used certain indicators, such as the past due status and charge-off status of the balances, in identifying and assessing whether the acquired card receivables are considered PCD assets. The acquired card receivables that were considered PCD assets were not material during the year ended June 30, 2022. Below is a summary of the acquired card receivables that were considered PCD assets from the acquisition of Divvy on June 1, 2021 through June 30, 2021 (in thousands): Purchase price $ 3,855 Allowance for credit losses 2,082 Less: discount attributable to other factors (79) Par value $ 5,858 Card Receivables Held for Sale The Company sells a portion of acquired card receivables to a Purchasing Bank at a discount. Card receivables held for sale, which are carried at the lower of cost or estimated market value at the individual user account level based on pricing agreed upon with the Purchasing Bank plus an estimate of the deferred purchased card receivables held for sale, are included in prepaid expenses and other current assets in the accompanying consolidated balance sheets, amounted to $8.7 million and $2.6 million as of June 30, 2022 and 2021, respectively. Card Receivables Sold and Related Servicing and Beneficial Interest Derivative Retained The Company accounts for the transfer of card receivables as a sale if all of the following conditions are met: • the financial asset is isolated from the transferor and its consolidated affiliates as well as its creditors, even in bankruptcy or other receivership; • the transferee or beneficial interest holders have the right to pledge or exchange the transferred financial asset; and • the transferor, its consolidated affiliates and its agents do not maintain effective control over the transferred financial asset The card receivables that the Company transferred to the Purchasing Bank during the years ended June 30, 2022 and 2021 met all of the requirements described above; therefore, the Company accounted for the transfer as a sale of financial assets. Accordingly, the Company measures gain or loss on the sales of financial assets as the net proceeds less the carrying amount of the card receivables sold. The net proceeds represent the fair value of any assets obtained or liabilities incurred as part of the transfer, including, but not limited to, servicing assets, servicing liabilities, or beneficial interest derivatives. The Company has an agreement with the Purchasing Bank to sell its acquired card receivables. The Company has continuing involvement under this agreement as servicer, and by retaining a beneficial interest derivative in the form of a deferred purchase price. The beneficial interest derivative represents the Company’s right to receive a portion of collections based on the performance of each cohort of card receivables sold to the Purchasing Bank. The fair value of the beneficial interest derivative was immaterial as of June 30, 2022 and 2021, respectively, and is included in prepaid expenses and other current assets in the accompanying consolidated balance sheets. The servicing fee income was not material during the years ended June 30, 2022 and 2021. The initial fair value of the beneficial interest derivative includes key inputs and assumptions that qualify as Level 3 inputs in the fair value hierarchy including discount rates and delinquency rates. See Note 4 for additional information about the fair value measurement of the beneficial interest derivative as of June 30, 2022 and 2021. Below is a summary of the fair value of consideration received from the transfer of card receivables accounted for as a sale during the periods presented (in thousands): Year ended June 30, 2022 2021 (1) Initial fair value of consideration received: Cash $ 1,483,481 $ 59,105 Beneficial interest derivative 4,690 187 Total $ 1,488,171 $ 59,292 (1) Amounts from the acquisition date of Divvy on June 1, 2021. The Company could experience losses on the beneficial interest derivative if the performance of the cohorts of card receivables sold to the Purchasing Bank is less than expected. The Company could also experience losses on card receivables sold if it were required to repurchase delinquent receivables due to a breach in representations and warranties associated with its sales of receivables. Card receivable repurchases during the years ended June 30, 2022 and 2021 were not material. Below is a summary of outstanding transferred card receivables by class (i.e., past due status) that have not been charged-off and have not been recorded on the Company's consolidated balance sheets, but with which the Company has a continuing involvement through its servicing agreements, as of the dates presented (in thousands): June 30, 2022 2021 Current and less than 30 days past due $ 56,162 $ 25,098 30 ~ 59 days past due 292 240 60 ~ 89 days past due 375 165 90 ~ 119 days past due 422 301 Over 119 days past due 30 132 Total $ 57,281 $ 25,936 The difference between the outstanding balance of transferred card receivables as of June 30, 2022 and 2021 and the amount derecognized for which the Company has a continuing involvement as a servicer as of June 30, 2022 and 2021 was not material. |
Property and Equipment
Property and Equipment | 12 Months Ended |
Jun. 30, 2022 | |
Property, Plant and Equipment [Abstract] | |
Property and Equipment | PROPERTY AND EQUIPMENT Property and equipment consisted of the following as of the dates presented (in thousands): June 30, 2022 2021 Software and equipment $ 20,102 $ 17,508 Capitalized software 21,457 6,794 Furniture and fixtures 10,608 8,926 Leasehold improvements 35,105 34,606 Property and equipment, gross 87,272 67,834 Less: accumulated depreciation and amortization (30,287) (18,932) Property and equipment, net $ 56,985 $ 48,902 Depreciation and amortization expense, which includes the amortization of capitalized software, during the years ended June 30, 2022, 2021 and 2020 was $11.5 million, $5.4 million and $4.3 million, respectively. |
Goodwill and Intangible Assets
Goodwill and Intangible Assets | 12 Months Ended |
Jun. 30, 2022 | |
Goodwill and Intangible Assets Disclosure [Abstract] | |
Goodwill and Intangible Assets | GOODWILL AND INTANGIBLE ASSETS Goodwill Goodwill, which is primarily attributable to expected synergies from acquisitions and is not deductible for U.S. federal and state income tax purposes, consisted of the following as of the dates presented (in thousands): June 30, 2022 2021 Balance, beginning $ 1,772,043 $ — Addition related to acquisition during the period 585,448 1,772,043 Measurement period adjustments (2,876) — Adoption of ASU 2021-08 8,278 — Balance, ending $ 2,362,893 $ 1,772,043 Intangible Assets Intangible assets consisted of the following as of the dates presented (amounts in thousands): June 30, 2022 Gross Carrying Amount Accumulated Amortization Net Carrying Amount Weighted average remaining Customer relationships $ 259,269 $ (26,556) $ 232,713 9.0 Developed technology 206,908 (38,909) 167,999 4.7 Trade name 48,042 (16,171) 31,871 2.0 Total $ 514,219 $ (81,636) $ 432,583 6.8 Jun 30, 2021 Gross Carrying Amount Accumulated Amortization Net Carrying Amount Weighted average remaining Customer relationships $ 198,000 $ (2,062) $ 195,938 9.9 Developed technology 191,000 (2,653) $ 188,347 5.9 Trade name 34,000 (944) $ 33,056 2.9 Total $ 423,000 $ (5,659) $ — $ 417,341 7.5 Amortization of finite-lived intangible assets was as follows during the years ended June 30, 2022 and 2021 (in thousands): June 30, 2022 2021 Cost of revenue $ 36,256 $ 2,653 Sales and marketing $ 39,721 3,006 Total $ 75,977 $ 5,659 As of June 30, 2022, future amortization of finite-lived intangible assets that will be recorded in cost of revenue and operating expenses is estimated as follows (in thousands): Fiscal years ending June 30: Amount 2023 $ 79,075 2024 78,147 2025 59,425 2026 57,763 2027 55,094 Thereafter 103,079 Total $ 432,583 |
Debt and Bank Borrowings
Debt and Bank Borrowings | 12 Months Ended |
Jun. 30, 2022 | |
Debt Disclosure [Abstract] | |
Debt and Bank Borrowings | DEBT AND BANK BORROWINGS Debt and borrowings consisted of the following as of the dates present (in thousands): June 30, 2022 2021 Convertible senior notes: 2027 Notes, principal $ 575,000 $ — 2025 Notes, principal 1,150,000 1,150,000 Total principle amount of convertible senior notes 1,725,000 1,150,000 Credit facilities: 2021 revolving credit agreement (Class A) 75,000 37,500 2021 revolving credit agreement (Class B) — 10,000 2019 credit agreement — 30,000 Total principal borrowings from credit facilities 75,000 77,500 Total principal amount of debt and borrowings 1,800,000 1,227,500 Less: unamortized debt discount and issuance costs (26,918) (238,119) Net carrying value of debt and borrowings $ 1,773,082 $ 989,381 Net carrying value of debt and borrowings consisted of: Current liabilities: Borrowings from credit facilities $ 75,097 $ — Non-current liabilities: 2027 Notes, net 562,127 — 2025 Notes, net 1,135,858 909,847 Borrowings from credit facilities (including unamortized debt premium) — 79,534 Total $ 1,773,082 $ 989,381 2027 Notes On September 24, 2021, the Company issued $575.0 million in aggregate principal amount of its 0% convertible senior notes due on April 1, 2027, in a private placement to qualified institutional buyers pursuant to Rule 144A under the Securities Act of 1933, as amended. The 2027 Notes are subject to the terms and conditions of the Indenture governing the 2027 Notes between the Company and Wells Fargo Bank, N.A., as trustee (Trustee). The net proceeds from the issuance of the 2027 Notes were $560.1 million, after deducting debt discount and debt issuance costs totaling $14.9 million. The 2027 Notes are senior, unsecured obligations of the Company, and will not accrue interest unless the Company determines to pay special interest as a remedy for failure to timely file any reports required to be filed with the SEC, certain trading restrictions, or failure to deliver reports to the Trustee. The 2027 Notes rank senior in right of payment to any of the Company’s indebtedness that is expressly subordinated to the 2027 Notes and rank equal in right of payment to any of the Company’s unsecured indebtedness that is not so subordinated, including the 2025 Notes. In addition, the 2027 Notes are subordinated to any of the Company’s secured indebtedness and to all indebtedness and other liabilities of the Company’s subsidiaries. The 2027 Notes have an initial conversion rate of 2.4108 shares of common stock per $1,000 principal amount, which is equivalent to an initial conversion price of approximately $414.80 per share of the Company’s common stock and approximately 1.4 million shares issuable upon conversion. The conversion rate is subject to customary adjustments for certain events as described below. Upon conversion, the Company will pay or deliver, as the case may be, cash, shares of its common stock, or a combination of cash and shares of its common stock, at its election. The Company’s current intent is to settle conversions of the 2027 Notes through a combination settlement, which involves a repayment of the principal portion in cash with any excess of the conversion value over the principal amount settled in shares of common stock. The Company may redeem for cash, all or any portion of the 2027 Notes, at the Company’s option, on or after October 5, 2024 if the last reported sale price of the Company’s common stock has been at least 130% of the conversion price then in effect for at least 20 trading days (whether or not consecutive) during any 30 consecutive trading day period (including the last trading day of such period) ending on and including the trading day preceding the date on which the Company provides notice of redemption at a redemption price equal to 100% of the principal amount of the notes to be redeemed, plus any accrued and unpaid special interest to, but excluding, the redemption date. No sinking fund is provided for the 2027 Notes. The holders of the 2027 Notes may convert their notes at their option at any time prior to the close of business on the business day immediately preceding January 1, 2027 in multiples of 100% principal amount, under the following circumstances: • during any calendar quarter commencing after the calendar quarter ending on December 31, 2021, and only during such calendar quarter, if the last reported sale price of the Company's common stock for at least 20 trading days (whether or not consecutive) during a period of 30 consecutive trading days ending on and including the last trading day of the immediately preceding calendar quarter is greater than or equal to 130% of the conversion price on each applicable trading day; • during the five business day periods after any five consecutive trading day period in which the trading price per $1,000 principal amount of the 2027 Notes for each trading day of that period was less than 98% of the product of the last reported sale price of the Company’s common stock and the conversion rate on each such trading day; • if the Company calls such notes for redemption, at any time prior to the close of business on the second scheduled trading day immediately preceding the redemption date; or • upon the occurrence of specified corporate events. The conversion rate is subject to adjustment upon the occurrence of certain events or if the Company’s Board of Directors determines it is in the best interest of the Company. Additionally, holders of the 2027 Notes that convert their notes in connection with a make-whole fundamental change or during the redemption period, may be eligible to receive a make-whole premium through an increase of the conversion rate based on the estimated fair value of the 2027 Notes for the given date and stock price. The make-whole premium is designed to compensate the holder for lost “time-value” of the conversion option. The maximum number of additional shares that may be issued under the make-whole premium is 1.2656 per $1,000 principal (the lowest price of $272.00 in the make whole). The Indenture governing the 2027 Notes contains customary events of default with respect to the 2027 Notes and provides that upon certain events of default occurring and continuing, the holders of the 2027 Notes will have the right, at their option, to require the Company to repurchase for cash all or a portion of their outstanding notes, at a price equal to 100% of the principal amount of the 2027 Notes to be repurchased, plus any accrued and unpaid interest. 2025 Notes On November 30, 2020, the Company issued $1.15 billion in aggregate principal amount of its 0% convertible senior notes due on December 1, 2025, in a private placement to qualified institutional buyers pursuant to Rule 144A under the Securities Act of 1933, as amended. The 2025 Notes are subject to the terms and conditions of the Indenture governing the 2025 Notes between the Company and the Trustee. The net proceeds from the issuance of the 2025 Notes were $1.13 billion, after deducting debt discount and debt issuance costs totaling $20.6 million. The 2025 Notes are senior, unsecured obligations of the Company, and will not accrue interest unless the Company determines to pay special interest as a remedy for failure to timely file any reports required to be filed with the SEC, certain trading restrictions, or failure to deliver reports to the Trustee. The 2025 Notes rank senior in right of payment to any of the Company’s indebtedness that is expressly subordinated to the 2025 Notes and rank equal in right of payment to any of the Company’s unsecured indebtedness that is not so subordinated, including the 2027 Notes. In addition, the 2025 Notes are subordinated to any of the Company’s secured indebtedness and to all indebtedness and other liabilities of the Company’s subsidiaries. The 2025 Notes have an initial conversion rate of 6.2159 shares of common stock per $1,000 principal amount, which is equivalent to an initial conversion price of approximately $160.88 per share of the Company’s common stock and approximately 7.1 million shares issuable upon conversion. The conversion rate is subject to customary adjustments for certain events as described below. Upon conversion, the Company will pay or deliver, as the case may be, cash, shares of its common stock, or a combination of cash and shares of its common stock, at its election. The Company’s current intent is to settle conversions of the 2025 Notes through a combination settlement, which involves a repayment of the principal portion in cash with any excess of the conversion value over the principal amount settled in shares of common stock. The Company may redeem for cash, all or any portion of the 2025 Notes, at the Company’s option, on or after December 5, 2023 if the last reported sale price of the Company’s common stock has been at least 130% of the conversion price then in effect for at least 20 trading days (whether or not consecutive) during any 30 consecutive trading day period (including the last trading day of such period) ending on and including the trading day preceding the date on which the Company provides notice of redemption at a redemption price equal to 100% of the principal amount of the notes to be redeemed, plus any accrued and unpaid special interest to, but excluding, the redemption date. No sinking fund is provided for the 2025 Notes. The holders of the 2025 Notes may convert their notes at their option at any time prior to the close of business on the business day immediately preceding September 1, 2025 in multiples of $1,000 principal amount, under the following circumstances: • during any calendar quarter commencing after the calendar quarter ending on March 31, 2021, and only during such calendar quarter, if the last reported sale price of the Company's common stock for at least 20 trading days (whether or not consecutive) during a period of 30 consecutive trading days ending on and including the last trading day of the immediately preceding calendar quarter is greater than or equal to 130% of the conversion price on each applicable trading day; • during the five business day periods after any five consecutive trading day period in which the trading price per $1,000 principal amount of the 2025 Notes for each trading day of that period was less than 98% of the product of the last reported sale price of the Company’s common stock and the conversion rate on each such trading day; • if the Company calls such notes for redemption, at any time prior to the close of business on the second scheduled trading day immediately preceding the redemption date; or • upon the occurrence of specified corporate events. The conversion rate is subject to adjustment upon the occurrence of certain events or if the Company’s Board of Directors determines it is in the best interest of the Company. Additionally, holders of the 2025 Notes that convert their notes in connection with a make-whole fundamental change or during the redemption period, may be eligible to receive a make-whole premium through an increase of the conversion rate based on the estimated fair value of the 2025 Notes for the given date and stock price. The make-whole premium is designed to compensate the holder for lost “time-value” of the conversion option (i.e., the difference between the conversion option’s fair value and the intrinsic value). The maximum number of shares that may be issued under the make-whole premium is 2.9525 per $1,000 principal (the lowest price of $109.07 in the make whole). The Indenture governing the 2025 Notes contains customary events of default with respect to the 2025 Notes and provides that upon certain events of default occurring and continuing, the holders of the 2025 Notes will have the right, at their option, to require the Company to repurchase for cash all or a portion of their outstanding notes, at a price equal to 100% of the principal amount of the 2025 Notes to be repurchased, plus any accrued and unpaid interest. Additional Information About the Notes Prior to the adoption of ASU 2020-06 on July 1, 2021, the Company separated the 2025 Notes into liability and equity components upon the issuance of the 2025 Notes. The carrying amount of the liability component was calculated by measuring the fair value of a similar liability that does not have an associated convertible feature using a discounted cash flow model with a discount rate determined using observable yields for stand-alone debt instruments with a comparable credit rating and term. The carrying amount of the equity component, representing the conversion option, was determined by deducting the fair value of the liability component from the par value of the 2025 Notes as a whole. The difference between the principal amount of the 2025 Notes and the liability component was initially recorded as a debt discount and was amortized as interest expense using the effective interest method over the term of the 2025 Notes. The equity component of the 2025 Notes, which was included in additional paid-in capital, was not required to be remeasured. The total amount of debt issuance costs of $20.6 million was allocated between the liability and equity components based on the respective values of the liability and equity components. The debt issuance costs allocated to the liability component was amortized as interest expense over the term of the 2025 Notes using the effective interest method. The debt issuance costs allocated to the equity component were included as a reduction of additional paid-in capital. As discussed in Note 1, effective July 1, 2021, the Company early-adopted ASU 2020-06 using the modified retrospective method which resulted in the accounting for the 2027 Notes and 2025 Notes as a single liability and no longer required to be accounted for separately between liability and equity components. As of June 30, 2022 and 2021, the Notes consisted of the following (in thousands): June 30, 2022 June 30, 2021 2027 Notes 2025 Notes 2025 Notes Liability component: Principal $ 575,000 $ 1,150,000 $ 1,150,000 Less: unamortized debt discount and issuance costs $ (12,873) $ (14,142) $ (240,153) Net carrying amount $ 562,127 $ — $ 1,135,858 $ 909,847 Amount allocated to equity component, net of issuance costs and tax $ — $ — $ 245,066 The debt discount and issuance costs of the Notes are being amortized using the effective interest method. During the years ended June 30, 2022 and 2021, the Company recognized $6.1 million and $27.7 million, respectively, of interest expense related to the amortization of the debt discount and issuance costs of the Notes. The effective interest rates during the year ended June 30, 2022, which consisted of the 2027 Notes and the 2025 Notes after the adoption of ASU 2020-06 beginning July 1, 2021 were 0.48% and 0.36%, respectively. The effective interest rate during the year ended June 30, 2021, which includes the 2025 Notes and prior to the adoption of ASU 2020-06 was 5.37% and was based on the interest rate of similar debt instruments, at the time of the offering, that do not have associated convertible features. As of June 30, 2022, the weighted-average remaining life of the Notes was 3.9 years. The "if-converted" value of the Notes did not exceed the principal amount of $1.7 billion as of June 30, 2022. Capped Call Transactions In conjunction with the issuance of the 2025 Notes and the 2027 Notes, the Company entered into Capped Call transactions (Capped Calls) with certain of the initial purchasers of the Notes and/or their respective affiliates or other financial institutions at a cost of $125.8 million. The Capped Calls are separate transactions and are not part of the terms of the Notes. The total amount paid for the Capped Calls was recorded as a reduction to additional paid-in capital. The Company used the proceeds from the Notes to pay for the cost of the Capped Call premium. The cost of the Capped Calls is not expected to be tax-deductible as the Company did not elect to integrate the Capped Calls into the Notes for tax purposes. The Capped Calls associated with the 2027 Notes and 2025 Notes have an initial strike price of approximately $414.80 per share and $160.88 per share, respectively, subject to certain adjustments, which corresponds to the respective initial conversion price of the 2027 Notes and 2025 Notes, and have an initial cap price of $544.00 per share and $218.14 per share, respectively, subject to certain adjustments; provided that such cap price shall not be reduced to an amount less than their respective strike price. The Capped Calls associated with the Notes cover, subject to anti-dilution adjustments, a total of approximately 8.5 million shares of the Company’s common stock. The Capped Calls are expected to generally reduce the potential dilution of the Company’s common stock upon any conversion of the Notes and/or offset any cash payments that the Company is required to make in excess of the principal amount of such converted notes, as the case may be, with such reduction and/or offset subject to a cap. 2021 Revolving Credit Agreement (as amended) and 2019 Credit Agreement (as amended) The 2021 Revolving Credit Agreement was executed in March 2021, and was most recently amended in October 2021, to finance the acquisition of card receivables. The 2021 Revolving Credit Agreement matures in June 2023 or earlier pursuant to the agreement and had a total commitment of $95.0 million consisting of a Class A facility amounting to $75.0 million and a Class B facility amounting to $20.0 million. As of June 30, 2021, the outstanding borrowings from the Class A facility and Class B facility were $37.5 million and $10.0 million, respectively. In June 2022, the Company paid off the previous balance of $10.0 million under the Class B facility and cancelled the total commitment of $20.0 million. As of June 30, 2022, the Company increased its borrowings under the Class A facility to $75.0 million. Borrowings from the Class A facility, which are secured by acquired card receivables, bear interest at 2.75% per annum plus LIBOR (subject to a floor rate of 0.25%). As of June 30, 2022, the interest rate on borrowings from the Class A facility was 4.35% per annum. The Company is required to comply with certain restricted covenants, including liquidity requirements. As of June 30, 2022, the Company was in compliance with those covenants. The 2019 Credit Agreement, which originally matures in January 2023, had a total commitment of $60.0 million As of June 30, 2021, the outstanding borrowings from the 2019 Credit Agreement was $30.0 million. In June 2022, the Company paid off the total amount outstanding and terminated the 2019 Credit Agreement. The debt premium associated with the 2021 Revolving Credit Agreement was amortized over the remaining term of the agreements using the effective interest method. The unamortized debt premium associated with the 2019 Credit Agreement and the Class B facility under the 2021 Revolving Credit Agreement was written off as of June 30, 2022 as a result of the debt prepayment and an immaterial extinguishment gain was recorded and included in other expense, net in the accompanying consolidated statements of operations. The unamortized debt premium under the Class A facility under the 2021 Revolving Credit Agreement has a remaining amortization period of approximately 1 year. Interest income related to the amortization of the debt premium during the years ended June 30, 2022 and 2021 was not material. |
Stockholders' Equity
Stockholders' Equity | 12 Months Ended |
Jun. 30, 2022 | |
Equity [Abstract] | |
Stockholders' Equity | STOCKHOLDERS’ EQUITY Equity Incentive Plans On November 26, 2019 , the Company’s board of directors approved the 2019 Equity Incentive Plan (2019 Plan), which became effective on December 10, 2019. The 2019 Plan authorizes the award of stock options, restricted stock units (RSUs), restricted stock awards, stock appreciation rights, performance awards, cash awards, and stock bonus awards, as determined by the Company’s board of directors. The Company’s 2016 Equity Incentive Plan (2016 Plan), which was adopted in February 2016, was terminated concurrent to the effective date of the 2019 Plan. The Company’s 2006 Equity Incentive Plan (2006 Plan), which was adopted in April 2006, was terminated upon the adoption of the 2016 Plan. There were no equity-based awards granted under the 2016 Plan and the 2006 Plan after their termination; however, all outstanding awards under the 2016 Plan and the 2006 Plan continue to remain subject to the terms of the respective Equity Incentive Plan until such awards are exercised or until they terminate or expire by their terms. The 2019 Plan, 2016 Plan and 2006 Plan are collectively referred to as the “Equity Incentive Plans.” The 2019 Plan authorizes the award of stock options, restricted stock units (RSUs), restricted stock awards, stock appreciation rights, performance-based awards, cash awards, and stock bonus awards. The Company initially reserved 7,100,000 shares of its common stock, plus any reserved shares not issued or subject to outstanding grants under the 2016 Plan, for issuance pursuant to awards granted under the Company’s 2019 Plan. The number of shares reserved for issuance under the 2019 Plan increases automatically on July 1 of each of 2020 through 2029 by the number of shares equal to the lesser of 5% of the total number of outstanding shares of the Company’s common stock as of the immediately preceding June 30 , or a number as may be determined by the Company’s board of directors. In addition, the following shares of common stock from the 2016 Plan and the 2006 Plan will be available for grant and issuance under the 2019 Plan: • shares issuable upon the exercise of options or subject to other awards under the 2016 Plan or 2006 Plan that cease to be subject to such options or other awards by forfeiture or after the effective date of the 2019 Plan; and • shares issued pursuant to outstanding awards under the Company’s 2016 Plan and 2006 Plan that are forfeited or repurchased after the effective date of the 2019 Plan. The total number of common shares available for issuance under the Equity Incentive Plans was 12,332,663 shares as of June 30, 2022. Equity Awards Assumed in Acquisitions The Company assumed and replaced the outstanding stock options of Invoice2go and Divvy upon their acquisition. The assumed equity awards will be settled in shares of the Company’s common stock and will retain the terms and conditions under which they were originally granted. No additional equity awards will be granted under equity incentive plans of the acquired companies. Stock Options The Company may grant incentive and non-statutory stock options to employees, nonemployee directors, and consultants of the Company under the Equity Incentive Plans. Stock options granted generally vest and become exercisable ratably over a requisite service period of four years following the date of the grant and expire ten years from the date of the grant. The Company may grant stock options with early exercise provisions, but subject to repurchase conditions. There were no outstanding unvested stock options that had been early exercised as of June 30, 2022. The Company may also grant stock options with double-trigger vesting conditions. The unvested shares of options granted with double trigger vesting conditions will vest 50% in the event of a sale of the Company and the termination of the holder of the stock options. The exercise price of incentive stock options granted must be at least equal to 100% of the fair value of the Company’s common stock at the date of grant. The exercise price of non-statutory options granted must be at least equal to 85% of the fair value of the Company’s common stock at the date of grant. A summary of stock option activity as of June 30, 2022, and changes during the year ended June 30, 2022, is presented below: Number of Weighted Weighted Aggregate Outstanding at June 30, 2021 6,552 $ 13.31 7.87 $ 1,113,025 Granted (1) 280 $ 83.40 Exercised (2,747) $ 12.39 Forfeited (227) $ 26.66 Outstanding at June 30, 2022 3,858 $ 18.28 6.97 $ 361,053 Vested and expected to vest at June 30, 2022 (2) 3,624 $ 18.22 6.94 $ 339,548 Vested and exercisable at June 30, 2022 2,189 $ 12.59 6.63 $ 213,987 (1) Includes approximately 184,000 shares of outstanding stock options that were assumed upon the acquisition of Invoice2go. The weighted average exercise price of options assumed was $25.60 per share and the weighted average grant date fair value on the date of assumption was approximately $248.43 per share. (2) The expected to vest options are the result of applying the pre-vesting forfeiture rate assumptions to total outstanding options. The weighted-average grant date fair value of options granted during the years ended June 30, 2022, 2021 and 2020 was $207.07, $132.04 and $11.04 per share, respectively. The total intrinsic value of options exercised during the years ended June 30, 2022, 2021 and 2020 was $640.0 million, $387.1 million and $191.3 million, respectively. The intrinsic value was calculated as the difference between the estimated fair value of the Company’s common stock at exercise and the exercise price of the in-the-money options. The fair value of options granted during the years ended June 30, 2022, 2021 and 2020 was estimated at the date of grant using the Black-Scholes option-pricing model with the following assumptions: Year ended June 30, 2022 2021 2020 Expected term (in years) 2.00 to 7.05 4.00 to 6.25 6.25 Expected volatility 30.0% to 81.2% 35.0% to 85.1% 50.0% to 100.6% Risk-free interest rate 0.20% to 2.88% 0.38% to 1.03% 0.35% to 1.88% Expected dividend yield 0 % 0 % 0 % Prior to the IPO, the fair value of the shares of common stock underlying stock options had historically been determined by the Company’s Board of Directors. Because there had been no public market for the Company’s common stock, the Board of Directors determined fair value of the common stock at the time of grant of the option by considering a number of objective and subjective factors including important developments in the Company’s operations, valuations performed by an independent third party, sales of preferred stock, actual operating results and financial performance, the conditions in the industry and the economy in general, the stock price performance and volatility of comparable public companies, and the lack of liquidity of the Company’s common stock, among other factors. As of June 30, 2022, the total unamortized stock-based compensation cost related to the unvested stock options was approximately $61 million, which the Company expects to amortize over a weighted-average period of 1.89 years. The Company received approximately $34.0 million, $28.2 million and $12.2 million from options exercised during the years ended June 30, 2022, 2021 and 2020, respectively. Restricted Stock Units A summary of RSU activity as of June 30, 2022, and changes during the year ended June 30, 2022, is presented below. Number of Weighted Nonvested at June 30, 2021 1,176 $ 90.20 Granted 2,929 $ 202.79 Vested (535) $ 122.82 Forfeited (291) $ 164.74 Nonvested at June 30, 2022 3,279 $ 178.85 The fair value of the RSU grant is determined based upon the market closing price of the Company’s common stock on the date of grant. The RSUs vest over the requisite service period, which ranges between 1 year and 4 years from the date of grant, subject to the continued employment of the employees and services of the nonemployee board members. The total fair value of RSUs that vested during the years ended June 30, 2022, 2021 and 2020 was approximately $118.9 million, $40.0 million and $0.2 million, respectively. As of June 30, 2022, the total unamortized stock-based compensation expense related to the unvested RSUs was approximately $413.8 million, which the Company expects to amortize over a weighted-average period of 2.9 years. Market-based RSUs In December 2021, the Company granted a total of 50,000 market-based RSUs to one executive employee that vest based on appreciation of the price of the Company’s common stock over a multi-year period and upon continued service. The Company estimated the fair value of the market-based RSUs award on the grant date using the Monte Carlo simulation model with the following assumptions: (i) expected volatility of 60%, (ii) risk-free interest rate of 1.08% to 1.21%, and (iii) total performance period of three As of June 30, 2022, the total unrecognized compensation expense related to the market-based RSUs was approximately $5.9 million, which is expected to be amortized over a weighted-average period of 1.6 years. Employee Stock Purchase Plan On November 26, 2019, the Company’s board of directors approved the 2019 Employee Stock Purchase Plan (ESPP), which became effective on December 11, 2019. The ESPP is intended to qualify under Section 423 of the Internal Revenue Code of 1986 (as amended) and will provide eligible employees a means to acquire shares of common stock through payroll deductions. Under the ESPP, the Company initially reserved for issuance 1,400,000 shares of common stock, which will increase automatically on July 1 of each fiscal year during the term of the ESPP by the number of shares equal to 1% of the total number of shares of common stock and preferred stock (on as-converted basis) outstanding as of the immediately preceding June 30th, unless the board of directors elects to authorize a lesser number of shares; provided, that, the total number of shares issued under the ESPP may not exceed 14,000,000 shares of common stock. The ESPP provides for consecutive offering periods during which eligible employees can participate in the ESPP and be granted the right to purchase shares. The offering periods shall be for a 12-month period commencing on February 7th and September 7th, with each such offering period consisting of two separate purchase periods ending on September 6th and February 6th, and February 6th and September 6th, respectively. Eligible employees can contribute up to 15% of their eligible compensation, subject to limitation as provided for in the ESPP, and purchase the common stock at a purchase price per share equal to 85% of the lesser of the fair market value of the common stock on (i) the offering date or (ii) the purchase date. The fair value of ESPP offerings during the years ended June 30, 2022, 2021 and 2020 was estimated at the date of the offering using the Black-Scholes option-pricing model with the following assumptions: Year ended June 30, 2022 2021 2020 Expected term (in years) 0.4 to 1.0 0.5 to 1.0 0.5 to 1.17 Expected volatility 76.0% to 77.3% 81.0% to 88.4% 50.0% Risk-free interest rate 0.06% to 0.88% 0.05% to 0.13% 1.47% to 1.56% Expected dividend yield 0 % 0 % 0 % As of June 30, 2022, the total unrecognized compensation expense related to the ESPP was $3.9 million, which is expected to be amortized over the next 12 months. Warrants The Company has an agreement with a customer to issue warrants for up to 5.6 million shares of the Company’s common stock at an exercise price of $4.50 per share over a period of five years, ending in September 2023. Issuance of the warrants is contingent upon certain performance conditions and subject to certain limits. As of June 30, 2022, there were no warrants issued or issuable under this agreement. The Company has concluded that the performance conditions for the issuance of this warrant are not probable of being met. Stock Based Compensation Cost Stock-based compensation cost from stock options, RSUs and ESPP was included in the following line items in the accompanying consolidated statements of operations and consolidated balance sheets (in thousands): Year ended June 30, 2022 2021 2020 Cost of revenue - service costs $ 5,144 $ 2,938 $ 1,257 Research and development 54,907 16,091 5,495 Sales and marketing 60,237 8,547 2,777 General and administrative 76,869 44,411 8,535 Total amount charged to expense 197,157 71,987 18,064 Property and equipment (capitalized internal-use software) 4,405 464 — Total stock-based compensation cost $ 201,562 $ 72,451 $ 18,064 |
Other Income (Expense), Net
Other Income (Expense), Net | 12 Months Ended |
Jun. 30, 2022 | |
Other Income, Nonoperating [Abstract] | |
Other Income (Expense) , Net | OTHER INCOME (EXPENSE), NET Other income (expense), net consisted of the following for the periods presented (in thousands): Year ended June 30, 2022 2021 2020 Interest expense $ (9,419) $ (28,158) $ (229) Lower of cost or market adjustment on card (11,460) (691) — Interest income 6,691 2,992 4,092 Other 327 487 (703) Total $ (13,861) $ (25,370) $ 3,160 |
Income Taxes
Income Taxes | 12 Months Ended |
Jun. 30, 2022 | |
Income Tax Disclosure [Abstract] | |
Income Taxes | INCOME TAXES The components of loss before (benefit from) provision for income taxes were as follows during the periods presented (in thousands): Year ended June 30, 2022 2021 2020 Domestic $ (304,508) $ (139,337) $ (31,038) Foreign (26,171) — — Total $ (330,679) $ (139,337) $ (31,038) The components of (benefit from) provision for income taxes were as follows during the periods presented (in thousands): Year ended June 30, 2022 2021 2020 Current: Federal $ (247) $ — $ — State — — 53 Foreign — — — Total current (247) — 53 Deferred: — — — Federal (1,115) (27,529) — State (2,956) (13,088) — Foreign — — — Total deferred (4,071) (40,617) — (Benefit from) provision for income taxes $ (4,318) $ (40,617) $ 53 The items accounting for the difference between the income taxes computed at the federal statutory rate and the (benefit from) provision for income taxes consisted of the following during the periods presented (in thousands): Year ended June 30, 2022 2021 2020 Expected benefit at U.S. federal statutory rate $ (69,443) $ (29,261) $ (6,518) State income taxes, net of federal benefit 13,509 (54) — Stock-based compensation (93,705) (70,262) (31,047) Research and development tax credits (22,061) (8,846) (6,411) Change in valuation allowance related to acquisition (1) (2,831) (34,749) — Change in valuation allowance (2) 174,477 94,244 43,716 Unrecognized tax benefit (10,975) 6,766 — Acquisition-related costs 553 1,484 — Foreign rate differential 5,496 — — Other 662 61 313 (Benefit from) provision for income taxes $ (4,318) $ (40,617) $ 53 (1) The rate impact during the years ended June 30, 2022 and 2021 pertains to the income tax benefit recorded as a result of the acquisitions of Invoice2go of Divvy, which allowed the Company to release a portion of its valuation allowance due to the net deferred tax liabilities that were recorded as a result of such acquisitions. (2) The rate impact during the year ended June 30, 2022 and 2021 pertains to (i) an increase in valuation allowance due to the increase in deferred tax assets associated with losses and tax credits generated during the year, (ii) a change in deferred tax liability related to the 2025 Notes, and (iii) a change in deferred tax liability related to the acquisitions of Invoice2go and Divvy. The components of deferred tax assets and liabilities were as follows as of the dates presented (in thousands): June 30, 2022 2021 Deferred tax assets: Accruals and reserves $ 9,325 $ 8,677 Deferred revenue 1,794 1,109 Stock-based compensation 25,897 16,626 Net operating loss carryforwards 410,849 218,783 Research and development credits 46,013 15,864 Accrued rewards 2,867 1,342 Operating lease liabilities 24,203 25,122 Other 3,247 514 Total deferred tax assets before valuation allowance 524,195 288,037 Valuation allowance (384,158) (107,836) Deferred tax assets $ 140,037 $ 180,201 Deferred tax liabilities: Deferred contract costs $ (3,745) $ (2,763) Property and equipment (19,316) (3,133) Intangible assets (99,483) (107,631) Operating right of use assets (19,490) (18,551) Convertible notes — (57,213) Total deferred tax liabilities $ (142,034) $ (189,291) Net deferred tax liabilities $ (1,997) $ (9,090) ASC 740 requires that the tax benefit of net operating losses, temporary differences, and credit carryforwards be recorded as an asset to the extent that management assesses that realization is “more likely than not.” Realization of the future tax benefits is dependent on the Company’s ability to generate sufficient taxable income within the carryforward period. Because of the Company’s recent history of operating losses, management believes that recognition of the deferred tax assets arising from the above-mentioned future tax benefits is currently not likely to be realized and, accordingly, has provided a valuation allowance. The change in valuation allowance was approximately $276.3 million, $22.3 million and $52.3 million during the years ended June 30, 2022, 2021 and 2020, respectively. The increase in the June 30, 2022 valuation allowance is a result of current year losses, offset by a reduction in a deferred tax liabilities. The Tax Cuts and Job Act subjects a U.S. company to tax on its Global Intangible Low Tax Income (GILTI). Under U.S.GAAP, the Company can make an accounting policy election to either treat taxes due on the GILTI inclusion as a current period expense or factor such amounts into the measurement of deferred taxes. The Company elected the period expense method. The Company does not currently operate under any tax holiday in any country in which it operates. The Company does not have foreign earnings available to distribute. As such, there is no unrecorded deferred tax liability associated with an outside basis of foreign subsidiaries. As of June 30, 2022, the Company had net operating loss (NOL) carryforwards of $1.5 billion, $1.1 billion, and $61.3 million for federal, state tax and foreign tax purposes, respectively, that are available to reduce future taxable income. If not utilized, the federal and state NOL carryforwards will begin to expire in 2027. As of June 30, 2022, approximately $1.4 billion and $61.3 million of federal and foreign NOL carryforwards, respectively, do not expire and will carry forward indefinitely until utilized. As of June 30, 2022, the Company also had research and development tax credit carryforwards of approximately $40.1 million and $27.1 million for federal and state tax purposes, respectively. If not utilized, the federal tax credits will expire at various dates beginning in 2028. The state tax credits do not expire and will carry forward indefinitely until utilized. Utilization of the net operating loss and tax credit carryforwards may be subject to a substantial annual limitation due to the ownership change limitations provided by the Internal Revenue Code and other similar state provisions. The annual limitation may result in the expiration of net operating losses and tax credits before utilization. Below is the reconciliation of the unrecognized tax benefits related to federal and California R&D credits during the periods presented (in thousands): Year e 2022 2021 2020 Balance at the beginning of the year $ 22,185 $ 5,787 $ 2,692 Add: Tax positions related to the current year 7,354 8,267 3,078 Increase from business combination 160 668 — Tax positions related to the prior year — 7,463 17 Less: Tax positions related to the prior year (12,761) — — Statute of limitations lapse (214) — — Balance at the end of the year $ 16,724 $ 22,185 $ 5,787 The amount of interest and penalties accrued as of June 30, 2022 and June 30, 2021 were not material. If the balance of gross unrecognized tax benefits of $16.7 million as of June 30, 2022 were realized, this would result in an immaterial tax benefit within the provision for income taxes at that time. The Company files U.S. federal, California, and other various state income tax returns. All U.S. federal and state net operating losses and tax credits generated to date are subject to adjustments. The Company does not anticipate any material change on its unrecognized tax benefits over the next twelve months. If the unrecognized tax benefits as of June 30, 2022 is recognized, it will not have an impact to the effective tax rate due to the Company’s valuation allowance. The Company’s U.S. federal and state tax returns for all years remain subject to examination by taxing authorities as a result of unused tax attributes being carried forward. |
Leases
Leases | 12 Months Ended |
Jun. 30, 2022 | |
Leases [Abstract] | |
Leases | LEASES The Company has non-cancelable operating leases for office and other facilities in various locations, and certain equipment, which expire through 2031. Also, the Company subleases part of its office facility in Draper, Utah under a non-cancellable operating lease that expires in December 2025. The Company's leases do not contain any material residual value guarantees. As of June 30, 2022, the weighted average remaining term of these operating leases is 8.2 years and the weighted-average discount rate used to estimate the net present value of the operating lease liabilities was 5.1%. The total payment for amounts included in the measurement of operating lease liabilities was $13.8 million and $2.1 million during the years ended June 30, 2022 and 2021, respectively. The total amount of right-of-use assets obtained in exchange for new operating lease liabilities was $5.3 million and $31.6 million during the years ended June 30, 2022 and 2021, respectively. The components of lease expense during the years ended June 30, 2022 and 2021 are shown in the table below (in thousands), while the lease expense during the year ended June 30, 2020 was $5.3 million. Year ended June 30 2022 2021 Operating lease expense $ 12,906 $ 7,444 Short-term lease expense 77 382 Variable lease expense, net of credit 2,909 2,252 Sublease income (712) (55) Total lease cost $ 15,180 $ 10,023 |
Commitments and Contingencies
Commitments and Contingencies | 12 Months Ended |
Jun. 30, 2022 | |
Commitments and Contingencies Disclosure [Abstract] | |
Commitments and Contingencies | COMMITMENTS AND CONTINGENCIES Commitments The Company has non-cancelable operating leases for office and other facilities in various locations, and certain equipment, which expire through 2031. Future minimum lease payments as of June 30, 2022 are as follows (in thousands): Fiscal years ending June 30: Amount 2023 $ 13,987 2024 13,650 2025 13,424 2026 13,292 2027 13,226 Thereafter 49,510 Gross lease payments 117,089 Less - present value adjustments (22,222) Total operating lease liabilities, net $ 94,867 The current portion of operating lease liabilities, which is included in other accruals and current liabilities In addition to the minimum lease payments above, the Company has multi-year agreements with certain third parties and financial institution partners, expiring through 2029, which require the Company to pay fees over the term of the respective agreements. Future payments under these other agreements as of June 30, 2022 are as follows (in thousands). Fiscal years ending June 30: Amount 2023 $ 24,761 2024 11,833 2025 6,969 2026 4,750 2027 4,750 Thereafter 34,250 Total $ 87,313 Card Receivable Repurchase Obligations with Purchasing Bank The Company is obligated to repurchase card receivables sold to the Purchasing Bank if representations and warranties made with respect to such card receivables are breached. The Company is also obligated to repurchase card receivables for which a user fails to make the first payment within ten days when it becomes due. The obligation to repurchase card receivables meeting the previously specified criteria is limited to card receivables transferred to the Purchasing Bank, less related spending business payments remitted to the Purchasing Bank. The amount of payable to repurchase card receivables is generally offset against the proceeds from the sale of new card receivables to the Purchasing Bank. See Note 7 for additional discussion about acquired card receivables. Purchase of Card Receivables That Have Not Cleared The Company is contractually obligated to purchase all card receivables from the Issuing Banks including authorized transactions that have not cleared. The transactions that have been authorized but not cleared totaled $55.2 million as of June 30, 2022 and have not been recorded on the accompanying consolidated balance sheets. The Company has credit exposures with these authorized but not cleared transactions; however, the expected credit losses recorded was not material as of June 30, 2022. See Note 7 for additional discussion about acquired card receivables. Litigation From time to time, the Company is involved in lawsuits, claims, investigations, and proceedings that arise in the ordinary course of business. The Company records a provision for a liability when management believes that it is both probable that a liability has been incurred and the amount of the loss can be reasonably estimated. As of June 30, 2022 and 2021, the Company’s reserve for litigation is immaterial. The Company reviews these provisions periodically and adjusts these provisions to reflect the impact of negotiations, settlements, rulings, advice of legal counsel, and other information and events pertaining to a particular case. Litigation is inherently unpredictable. |
Net Loss Per Share Attributable
Net Loss Per Share Attributable To Common Stockholders | 12 Months Ended |
Jun. 30, 2022 | |
Earnings Per Share [Abstract] | |
Net Loss Per Share Attributable To Common Stockholders | NET LOSS PER SHARE ATTRIBUTABLE TO COMMON STOCKHOLDERS The following table presents the calculation of basic and diluted net loss per share attributable to common stockholders during the periods presented (in thousands, except per share amounts): Year ended June 30, 2022 2021 2020 Numerator: Net loss attributable to common stockholders $ (326,361) $ (98,720) $ (31,091) Denominator: Weighted-average shares used to compute net loss per share attributable to common stockholders Basic and diluted 101,753 82,813 44,106 Net loss per share attributable to common stockholders: Basic and diluted $ (3.21) $ (1.19) $ (0.70) Potentially dilutive securities, which were excluded from the diluted net loss per share calculations because they would have been antidilutive, are as follows as of the dates presented (in thousands): June 30, 2022 2021 2020 Stock options 3,858 6,552 9,019 Restricted stock units 3,279 1,176 1,141 Total 7,137 7,728 10,160 |
The Company and Its Significa_2
The Company and Its Significant Accounting Policies (Policies) | 12 Months Ended |
Jun. 30, 2022 | |
Accounting Policies [Abstract] | |
Initial Public Offering and Follow-on Offering | Initial Public Offering and Follow-on Offering On December 16, 2019, the Company closed its initial public offering (IPO), in which it issued 11,297,058 shares of common stock at a public offering price of $22.00 per share, which included 1,473,529 shares of common stock issued pursuant to the exercise in full of the over-allotment option by the underwriters. The Company received $225.5 million in net proceeds from the IPO, after deducting underwriting discounts and commissions of $17.4 million and other offering costs of $5.6 million. Upon the completion of the IPO, all shares of the Company’s outstanding redeemable convertible preferred stock were converted into 52,434,505 shares of common stock. Additionally, the Company’s redeemable convertible preferred stock warrants were converted into common stock warrants and the associated redeemable convertible preferred stock warrant liabilities were re-measured to its fair value of $1.4 million and reclassified to additional paid-in capital. On June 15, 2020, the Company closed a follow-on public offering in which it issued 4,330,000 shares of common stock at a public offering price of $74.25 per share, which included 1,080,000 shares of common stock issued pursuant to the exercise in full of the over-allotment option by the underwriters. The Company received $307.5 million in net proceeds from the follow-on public offering, after deducting underwriting discounts and commissions of $12.9 million and other offering costs of $1.1 million. |
Basis of Presentation and Principles of Consolidation | Basis of Presentation and Principles of ConsolidationThe accompanying consolidated financial statements include the accounts of the Company and were prepared in conformity with U.S. generally accepted accounting principles (GAAP). All intercompany accounts and transactions have been eliminated. |
Reclassification | Certain accounts in the prior period consolidated statements of operation were reclassified to conform with the current year presentation. |
Segment Reporting | Segment Reporting The Company operates as one operating segment because its chief operating decision maker, who is the Chief Executive Officer, reviews its financial information on a consolidated basis for purposes of making decisions regarding allocating resources and assessing performance. The Company's long-lived assets are mainly located in the United States (U.S.) and revenue is mainly generated in the U.S. Long-lived assets and revenue generated outside the U.S. are not material. |
Business Combination | Business Combination The Company accounts for acquisitions using the acquisition method of accounting, which requires, among other things, allocation of the fair value of purchase consideration to the tangible and intangible assets acquired and liabilities assumed at their estimated fair values on the acquisition date. The excess of the fair value of purchase consideration over the values of the identifiable assets and liabilities is recorded as goodwill. The determination of the fair value of assets acquired and liabilities assumed involves assessments of factors such as the expected future cash flows associated with individual assets and liabilities and appropriate discount rates at the date of the acquisition. Significant management inputs used in the estimation of fair value of assets acquired and liabilities assumed include, but are not limited to, expected future cash flows, future changes in technology, estimated replacement costs, discount rates and assumptions about the period of time the brand will continue to be used in the Company’s product portfolio. Where appropriate, external advisers are consulted to assist in the determination of fair value. For non-observable market values, fair value has been determined using acceptable valuation methods (e.g., relief from royalty methods). The results of operations for businesses acquired are included in the financial statements from the acquisition date. Acquisition-related expenses and post-acquisition integration costs are recognized separately from the business combination and are expensed as incurred. During the measurement period, not to exceed one year from the date of acquisition, the Company may record adjustments to the tangible and intangible assets acquired and liabilities assumed, including the fair value of acquired intangible assets, an indemnification asset related to certain assumed liabilities, net lease liabilities, uncertain tax positions, tax-related valuation allowances and pre-acquisition contingencies with a corresponding offset to goodwill. The Company continues to collect information and reevaluates these estimates and assumptions quarterly and records any adjustments to the Company’s preliminary estimates to goodwill provided that the Company is within the measurement period. After the measurement period, any subsequent adjustments are reflected in the consolidated statements of operations. |
Use of Estimates | Use of Estimates The preparation of consolidated financial statements in conformity with U.S. GAAP requires management to make various estimates and assumptions that affect the amounts reported and disclosed in the consolidated financial statements and the accompanying notes. Management regularly assesses these estimates, including, but not limited to useful lives of long-lived assets; capitalization of internal-use software costs; incremental borrowing rates for right-of-use operating lease assets and operating lease liabilities; the estimate of credit losses on accounts receivable, acquired card receivables and other financial assets; accrual for rewards; variable consideration used in revenue recognition for certain contracts; benefit periods used to amortize deferred commissions; reserve for losses on funds held for customers; inputs used to value certain stock-based compensation awards; inputs used to estimate beneficial interest derivative on card receivables sold , and valuation of deferred income tax assets. The Company evaluates these estimates and assumptions and adjusts them accordingly. Actual results could differ from those estimates, and such differences may be material to the consolidated financial statements. |
Funds held for customers and customer fund deposits | Funds held for customers and customer fund depositsFunds held for customers and the corresponding liability on customer fund deposits represent funds that are collected from customers for payments to their suppliers and funds that are collected on behalf of customers. Generally, these funds held for customers are initially deposited in separate bank accounts until remitted to the customers’ suppliers or to the customers. Funds held for customers also include amounts that are held by or deposited into the accounts of payment processing companies and receivables from customers. The funds held for customers are restricted for the purpose of satisfying the customers’ fund obligations and are not available for general business use by the Company. The Company partially invests funds held for customers in highly liquid investments with maturities of three months or less and in marketable debt securities with maturities of more than three months up to thirteen months at the time of purchase. Funds held for customers that are invested in marketable debt securities are classified as available-for-sale. These investments are carried at fair value, with unrealized gains or losses included in accumulated other comprehensive (loss) income on the consolidated balance sheets and as a component of the consolidated statements of comprehensive loss. The Company contractually earns interest on funds held for customers with associated counterparties. |
Cash and Cash Equivalents, Unrestricted Cash and Cash Equivalents, Policy | Cash, cash equivalents, restricted cash and restricted cash equivalents Cash and cash equivalents consist of cash in banks, highly liquid investments with maturities of three months or less at the time of purchase, and securities purchased under overnight reverse repurchase agreements. Restricted cash consists of (i) amounts restricted under deposit account control agreements, (ii) minimum cash balances that are required to be maintained by certain banks, (iii) cash collateral required by the Company’s lessors to satisfy letter of credit requirements under its lease agreements, (iv) cash collateral required by a bank in connection with the Company’s money transmission activities, and (v) cash in bank and cash deposits held by payment processing companies included in funds held for customers. Restricted cash equivalents consist of highly liquid investments with maturities of three months or less at the time of purchase that are included in funds held for customers. Except for the restricted cash included in funds held for customers, the current and non-current portion of the restricted cash is included in prepaid expenses and other current assets and in other assets, respectively, in the accompanying consolidated balance sheets. |
Short–term investments | Short–term investments The |
Concentrations of Credit Risk | Concentrations of Credit Risk Financial instruments that potentially subject the Company to concentrations of credit risk consist principally of cash, cash equivalents, restricted cash, restricted cash equivalents, short-term investments, accounts receivable, acquired card receivables, and card receivables held for sale (collectively referred to as Financial Assets). The Company maintains its cash, cash equivalents, restricted cash, restricted cash equivalents, and short-term investments with major financial institutions that may at times exceed federally insured limits. Management believes that these financial institutions are financially sound with minimal credit risk. The Company performs credit evaluations to verify the credit quality of its financial assets and determine any at-risk receivables. An allowance for potential credit losses on Financial Assets is recognized, if material. As of June 30, 2022 and 2021, the allowance for potential credit losses related to accounts receivable and acquired card receivables totaled approximately $5.8 million and $1.9 million, respectively. These amounts do not include the immaterial allowance for potential credit losses on purchase of card receivables that have been authorized but not cleared at the end of the periods (see Note 15). There were no customers that exceeded 10% of the Company’s total revenue during the years ended June 30, 2022, 2021 and 2020. |
Foreign Currency | Foreign Currency The Company has a foreign subsidiary whose functional currency is the U.S. dollar, which is the Company's reporting currency. Gains and losses from the remeasurement of transactions denominated in foreign currencies other than the functional currency of the foreign subsidiary are included in other (expense) income, net in the accompanying statements of operations |
Accounts receivable and unbilled revenue | Accounts receivable and unbilled revenue Accounts receivable, which consist primarily of fees from customers, including accounting firm and financial institution customers, are recorded at the invoiced amount, net of an allowance for credit losses. Unbilled revenue is recorded based on amounts that the Company expects to invoice to customers in the subsequent period. The allowance for credit losses related to accounts receivable and unbilled revenue is based on the Company’s assessment of the collectability of the receivables. The Company regularly reviews the adequacy of the allowance for credit losses by considering the age of each outstanding invoice and the collection history of each customer to determine whether a specific allowance is appropriate. Accounts receivable deemed uncollectable are charged against the allowance for credit losses when identified. For all periods presented, the allowance for credit losses related to accounts receivable and unbilled revenue was not material. |
Acquired card receivables | Acquired card receivables The portfolios of acquired card receivables are commercial accounts diversified across various geographies and industries. The Company manages credit risk based on common risk characteristics including macroeconomic factors such as unemployment rates and financial condition of the users of the spend and expense management application. Acquired card receivables are reported at their principal amounts and include uncollected fees outstanding net of allowance for credit losses. Acquired card receivables are deemed to be held for investment when such receivables are not acquired specifically for resale. As part of the onboarding process, users of the Company’s free spend and expense management application are provided with a credit limit subject to a credit policy and underwriting process which is periodically re-performed based on risk indicators and the size of the credit limit. Spending businesses may over fund their accounts through payments in excess of the outstanding balance. Such over funded amounts are recorded as prepaid card deposits, which are included in other accruals and current liabilities in the accompanying consolidated balance sheets. Acquired card receivables represent amounts due on card transactions integrated with the spend and expense management application. The Company is contractually obligated to purchase all card receivables from U.S. based card Issuing Banks (Issuing Banks) including authorized transactions that have not cleared at the Issuing Banks. Acquired card receivables are recorded at the time a transaction clears the Issuing Banks and generally payment for the card receivables is made on the day the transaction clears the Issuing Banks. The acquired card receivables portfolio consists of a large group of smaller balances from spending businesses across a wide range of industries. The allowance for credit losses reflects the Company’s estimate of uncollectible balances resulting from credit and fraud losses and is based on the determination of the amount of expected losses inherent in the acquired card receivable as of the reporting date. An estimate of lifetime expected credit losses is performed by incorporating historical loss experience, as well as current and future economic conditions over a reasonable and supportable period beyond the balance sheet date. In estimating expected credit losses, the Company uses models that entail a significant amount of judgment. The primary areas of judgment used in measuring the quantitative components of the Company’s reserves relate to the attributes used to segment the portfolio, the determination of the historical loss experience look-back period, and the weighting of historical loss experience by monthly cohort. The Company uses these models and assumptions to determine the reserve rates applicable to the outstanding acquired card receivable balances to estimate reserves for expected credit losses. Based on historical loss experience, the probability of default decreases over time, therefore the attribute used to segment the portfolio is the length of time since an account’s credit limit origination. The Company’s models use past loss experience to estimate the probability of default and exposure at default by aged balances. The Company also estimates the likelihood and magnitude of recovery of previously written off loans based on historical recovery experience. Additionally, management evaluates whether to include qualitative reserves to cover losses that are expected but may not be adequately represented in the quantitative methods or the economic assumptions. The qualitative reserves address possible limitations within the models or factors not included within the models, such as external conditions, changes in underwriting strategies, the nature and volume of the portfolio, and the volume and severity of past due accounts. In general, acquired card receivables are written off after substantially the entire balance |
Derivatives Instruments | Derivative Instruments The Company retains a beneficial interest derivative in the form of a deferred purchase price on card receivables sold. This derivative is not designated as a hedging instrument, and is initially recorded at fair value, with subsequent changes in fair value recorded through other gains and losses. The Company does not use derivative instruments for speculative or trading purposes. The beneficial interest derivative is a residual interest in collections on card receivables sold, and serves to align the economic interests of the Company as servicer with those of the Purchasing Bank. |
Property and equipment | Property and equipment Property and equipment are stated at cost, less accumulated depreciation and amortization. Depreciation and amortization are computed using the straight-line method over the estimated useful lives of the respective assets, generally one The Company capitalizes internal and external direct costs incurred related to obtaining or developing internal-use software. Costs incurred during the application development stage are capitalized and are amortized using the straight-line method over the estimated useful lives of the software, generally three years commencing on the first day of the month following when the software is ready for its intended use. Costs related to planning and post-implementation activities are expensed as incurred. |
Goodwill | Goodwill Goodwill represents the excess of the purchase price of the acquisition over the net fair value of identifiable assets acquired and liabilities assumed. Goodwill amounts are not amortized. |
Intangible Assets | Intangible Assets The Company generally recognizes assets for customer relationships, developed technology, and finite-lived trade names from an acquisition. Finite-lived intangible assets are carried at acquisition cost less accumulated amortization. Such amortization is recorded on a straight-line basis over the estimated useful lives of the respective assets, generally from 3 to 10 years. Amortization for developed technology is recognized in cost of revenue. Amortization for customer relationships and trade names is recognized in sales and marketing expenses. |
Impairment | Impairment The valuation of goodwill at the reporting unit level is reviewed annually during the fourth fiscal quarter or more frequently if facts or changes in circumstances indicate the carrying amount of goodwill may not be recoverable. The Company has one reporting unit; therefore, all of its goodwill is associated with the entire company. Management has the option to first perform a qualitative assessment to determine whether it is more likely than not that the fair value of the Company is less than the carrying amount, including goodwill. If it is determined that it is more likely than not that the fair value of the Company is less than the carrying amount, a quantitative assessment is performed by comparing the fair value of a reporting unit with its carrying amount. An impairment charge is recognized for the amount by which the carrying amount exceeds the reporting unit’s fair value, not to exceed the total amount of goodwill allocated to that reporting unit. The Company also has the option to bypass the qualitative assessment and perform the quantitative assessment. Intangible assets with indefinite useful lives are not amortized but are evaluated for impairment annually during the fourth fiscal quarter or more frequently if events or changes in circumstances indicate that impairment may exist. The Company first assesses qualitative factors to determine whether it is necessary to perform a quantitative impairment test for indefinite-lived intangible assets. Impairment exists if the fair value of the indefinite-lived intangible asset is less than the carrying value. The Company reviews the valuation of long-lived assets, including property and equipment and finite-lived intangible assets, whenever events or changes in circumstances indicate that the carrying amount of the asset may not be recoverable. The recoverability of long-lived assets or asset groups is calculated based on the estimated undiscounted future cash flows expected to result from the use and eventual disposition of the asset. Impairment testing is performed at the asset group level. Based on management's assessment, the Company did not recognize any impairment losses on its goodwill, finite-lived intangible assets, or other long-lived assets during the periods presented herein. |
Leases | Leases The Company determines if an arrangement is a lease, or contains a lease, by evaluating whether there is an identified asset and whether the Company controls the use of the identified asset throughout the period of use. The Company determines the classification of the lease, whether operating or financing, at the lease commencement date, which is the date the leased assets are made available for use. The Company uses the non-cancelable lease term when recognizing the right-of-use (ROU) assets and lease liabilities, unless it is reasonably certain that a renewal or termination option will be exercised. The Company accounts for lease components and non-lease components as a single lease component. Modifications are assessed to determine whether incremental differences result in new contract terms and accounted for as a new lease or whether the additional right of use should be included in the original lease and continue to be accounted with the remaining ROU asset. Operating lease ROU assets and lease liabilities are recognized at the lease commencement date based on the present value of the lease payments over the lease term. Lease payments consist of the fixed payments under the arrangement, less any lease incentives. Variable costs, such as common area maintenance costs, are not included in the measurement of the ROU assets and lease liabilities, but are expensed as incurred. As the implicit rate of the leases is not determinable, the Company uses an incremental borrowing rate in determining the present value of the lease payments. Lease expenses are recognized on a straight-line basis over the lease term. The Company does not recognize ROU assets on lease arrangements with a term of 12 months or less. Lease expense for such arrangements is recognized on a straight-line basis over the term of the lease. |
Accrued Rewards | Accrued Rewards Spending businesses participate in rewards programs based on card transactions. The Company records a rewards liability that represents the estimated cost for rewards owed to spending businesses. Rewards liabilities are impacted over time by redemption costs and by spending businesses meeting eligibility requirements. Changes in the rewards liabilities during the period are recognized as an increase or decrease to sales and marketing expense in the accompanying consolidated statements of operations. The accrued rewards liability, which was $36.2 million and $19.2 million as of June 30, 2022 and 2021, respectively, is included in other accruals and current liabilities in the accompanying consolidated balance sheets. The rewards expense, which was $95.2 million and $4.5 million during the years ended June 30, 2022 and 2021, respectively, is included in sales and marketing expenses in the accompanying consolidated statements of operations. |
Revenue recognition | Revenue recognition Arrangements with SMBs and Accounting Firms The Company enters into contracts with SMB and accounting firm customers to provide access to the functionality of the Company’s cloud-based payments platform to process transactions. These contracts are either monthly contracts paid in arrears or upfront, or annual arrangements paid up front. The Company charges its SMB and accounting firm customers subscription fees for access to its platform either based on the number of users or per customer account and the level of service. The Company generally also charges these customers transaction fees based on transaction volume and the category of transaction. The contractual price for subscription and transaction services is based on either negotiated fees or the rates published on the Company’s website. The Company accounts for its annual and monthly contracts as a series of distinct services that are satisfied over time. The Company determines the transaction price for such contracts by estimating the total consideration to be received over the contract term from subscription and transaction fees. The Company recognizes the transaction price as a single performance obligation based on the proportion of transactions processed to the total estimated transactions to be processed over the contract period. Revenues recognized exclude amounts collected on behalf of third parties, such as sales taxes collected and remitted to governmental authorities. Arrangements with Spending Businesses The Company facilitates the extension of credit to spending businesses through the Divvy product in the form of Divvy cards, which are originated through agreements with its Issuing Banks. The agreements with the Issuing Banks allow for card transactions on the MasterCard and Visa networks. Spending businesses utilize the credit on the Divvy cards as a means of payment for goods and service provided by their suppliers. For each transaction, the suppliers are required to pay interchange fees to the issuer of the credit. Based on the Company's agreements with its Issuing Banks, the Company recognizes the interchange fees as revenue gross or net of rebates received from the Issuing Bank based on the Company's determination of whether it is the principal or agent under the agreements. Arrangements with Financial Institutions The Company enters into multi-year contracts with financial institution customers to provide access to the Company’s cloud-based payments platform to process transactions. These contracts typically include fees for initial implementation services that are paid during the period the implementation services are provided as well as fees for subscription and transaction processing services, which are subject to guaranteed monthly minimum fees that are paid monthly over the contract term. These contracts enable the financial institutions to provide their customers with access to online bill pay services through the financial institutions’ online platforms. Implementation services are required up-front to establish an infrastructure that allows the financial institutions’ online platforms to communicate with the Company’s online platform. A financial institution’s customers cannot access online bill pay services until implementation is complete. |
Deferred revenue | Deferred revenue Subscription and transaction fees from customers for which the Company has annual or multi-year contracts are generally billed in advance. These fees are initially recorded as deferred revenue and subsequently recognized as revenue as the performance obligation is satisfied. |
Deferred costs | Deferred costs Deferred costs consist of (i) deferred sales commissions that are incremental costs of obtaining customer contracts and (ii) deferred service costs, primarily direct payroll costs, for implementation services |
Service Costs | Service Costs Service costs consist primarily of personnel-related costs, including stock-based compensation expenses, for the Company’s customer success and payment operations teams, outsourced support services for our customer success team, costs that are directly attributed to processing customers’ and spending businesses' transactions (such as the cost of printing checks, postage for mailing checks, fees associated with the issuance and processing of card transactions, fees for processing payments, such as ACH, check and cross-border wires), direct and amortized costs for implementing and integrating the Company’s platform into the customers’ systems, costs for maintaining, optimizing, and securing the Company’s cloud payments infrastructure, amortization of capitalized internal-use software, fees on the investment of customer funds, and allocation of overhead costs. |
Research and development | Research and developmentCosts incurred in research and development, excluding development costs eligible for capitalization as internal-use software, are expensed as incurred. |
Stock-based compensation | Stock-based compensation The Company measures stock-based compensation for stock options and purchase rights issued under the Employee Stock Purchase Plan (ESPP) at fair value on the date of grant using the Black-Scholes option-pricing model. The Company measures stock-based compensation for restricted stock units (RSUs) and market-based RSUs based on the closing price of the Company’s stock and using the Monte Carlo simulation model, respectively, on the date of grant. The Company measures stock-based compensation for performance-based awards at fair value on the date of grant by using the Black-Scholes valuation option-pricing model or other valuation technique depending on the nature of the award. Awards that are classified as liabilities are remeasured at fair value at the end of each reporting period. The Company recognizes compensation costs on a straight-line basis over the requisite service period, which is generally the vesting term of four years for stock options and RSUs, the offering period of one year for purchase rights under the ESPP, and the requisite period of one to three years for market-based RSUs. Stock compensation costs are reduced by the estimated forfeitures at the date of grant and revised, if necessary, in subsequent periods if actual forfeitures differ from those estimates. The Company estimates the forfeiture rate based on its historical experience for annual grant years where the majority of the vesting terms have been satisfied. The Company recognizes compensation costs for performance-based awards over the vesting period if it is probable that the performance condition will be achieved. The Black-Scholes option-pricing model and Monte Carlo simulation model require the use of highly subjective assumptions which determine the fair value of stock-based awards. The main assumptions used in the Black-Scholes option-pricing model include: Expected term – The expected term represents the period that stock-based awards are expected to be outstanding. The expected term for option grants is determined using the simplified method. The simplified method deems the term to be the average of the time-to-vesting and the contractual life of the stock-based awards. Expected volatility – Prior to the Company’s IPO, the expected volatility was estimated based on the average volatility for comparable publicly traded companies over a period equal to the expected term of the stock option grants. The comparable companies were chosen based on their similar size, stage in the life cycle or area of specialty. For grants made after the Company’s IPO, the expected volatility was estimated based on the historical volatility of the Company’s common stock. Risk-free interest rate – The risk-free interest rate is based on the U.S. Treasury zero coupon issues in effect at the time of grant for periods corresponding with the expected term of option. Expected dividend yield – The Company has never paid dividends on its common stock and has no plans to pay dividends on its common stock. Therefore, the Company used an expected dividend yield of zero. The main assumptions used in the Monte Carlo simulation model include (i) expected volatility, (ii) risk-free interest rate, and (iii) performance period of the market-based RSU award, which represents the period that the Company's stock price condition has to be achieved in order for the award to vest. |
Advertising | AdvertisingThe Company expenses the costs of advertising, including promotional expenses, as incurred. Advertising expenses during the years ended June 30, 2022, 2021 and 2020 were $29.4 million, $8.5 million and $5.8 million, respectively. |
Income taxes | Income taxes The Company accounts for income taxes using the asset and liability method, which requires that deferred income tax assets and liabilities are recognized for the expected future tax consequences of temporary differences between the financial statement carrying amounts and the tax basis of the Company's assets and liabilities, net operating loss (NOL) and tax credit carryforwards. A valuation allowance is established to reduce deferred tax assets to the amount expected to be realized. |
Net loss per share attributable to common stockholders | Net loss per share attributable to common stockholdersBasic 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 during the period, without consideration of potentially dilutive securities. Diluted net loss per share attributable to common stockholders is the same as basic net loss per share attributable to common stockholders for all periods presented since the effect of potentially dilutive securities is anti-dilutive given the net loss of the Company. |
New accounting pronouncements | New accounting pronouncements: Adopted In October 2021, the Financial Accounting Standards Board (FASB) issued Accounting Standards Update (ASU) 2021-08, Business Combinations (Topic 805)— Accounting for Contract Assets and Contract Liabilities from Contracts with Customers . The amendments in this ASU address diversity and inconsistency related to the recognition and measurement of contract assets and contract liabilities acquired in a business combination. The amendments in this ASU require that an acquirer recognize and measure contract assets and contract liabilities (e.g., deferred revenue) acquired in a business combination in accordance with Topic 606, Revenue from Contracts with Customers. Upon adoption, an acquirer should account for the related revenue contracts of the acquiree as if it had originated the contracts. For public business entities, the amendments in ASU 2021-08 are effective for fiscal years beginning after December 15, 2022, including interim periods within those fiscal years. The amendments in this ASU should be applied prospectively to business combinations occurring on or after the effective date of the amendments. Early adoption of the amendments is permitted, including adoption in an interim period. An entity that early adopts in an interim period should apply the amendments (i) retrospectively to all business combinations for which the acquisition date occurs on or after the beginning of the fiscal year that includes the interim period of early application and (ii) prospectively to all business combinations that occur on or after the date of initial application. The Company early-adopted this ASU on October 1, 2021, retrospectively to September 1, 2021, the date of the Company’s acquisition of Invoice2go, Inc. (Invoice2go), the Company’s only acquisition since July 1, 2021, the beginning of the fiscal year of adoption. The adoption of ASU 2021-08 resulted in an increase in deferred revenue assumed and a related increase to goodwill as of September 1, 2021 with a consequent increase in revenue during the year ended June 30, 2022, in connection with the Invoice2go acquisition. The adoption of ASU 2021-08 had the following impact on the Company's previously reported interim condensed consolidated balance sheet as of the periods presented (in thousands): As previously reported, September 30, 2021 ASU 2021-08 As adjusted, Assets Goodwill $ 2,354,812 $ 8,278 $ 2,363,090 Liabilities and Stockholders' Equity Current liabilities: Deferred revenue $ 21,328 $ 8,080 $ 29,408 Non-current liabilities: Deferred income tax liability $ 3,877 $ (1,228) $ 2,649 Stockholders' equity: Accumulated deficit $ (294,152) $ 1,426 $ (292,726) The adoption of ASU 2021-08 had the following impact on the Company's previously reported interim condensed consolidated statement of operations for the period presented (in thousands): As previously reported, ASU 2021-08 As adjusted, Revenue $ 116,403 $ 1,946 $ 118,349 Benefit from income taxes $ (3,941) $ 520 $ (3,421) Net loss $ (75,685) $ 1,426 $ (74,259) Net loss per share attributable to common stockholders, basic and diluted $ (0.79) $ 0.01 $ (0.78) These adjustments are reflected in the Company’s consolidated statement of operations during the year ended June 30, 2022. On July 1, 2021, the Company early-adopted FASB ASU 2020-06, Debt—Debt with Conversion and Other Options (Subtopic 470-20) and Derivatives and Hedging—Contracts in Entity’s Own Equity (Subtopic 815-40), Accounting for Convertible Instruments and Contracts in an Entity’s Own Equity , which simplifies the accounting for convertible instruments by removing certain separation models in Subtopic 470-20, Debt—Debt with Conversion and Other Options for convertible instruments. Under this ASU, the embedded conversion features are not required to be separated from the host contract for convertible instruments with conversion features that are not required to be accounted for as derivatives under Topic 815, Derivatives and Hedging , or that do not result in substantial premiums accounted for as paid-in capital. Consequently, a convertible debt instrument is accounted for as a single liability measured at its amortized cost and a convertible preferred stock is accounted for as a single equity instrument measured at its historical cost, as long as no other features require bifurcation and recognition as derivatives. In addition, this ASU amends the requirement for calculating diluted earnings per share for convertible instruments by using the “if-converted” method instead of the treasury stock method. The use of the "if-converted" method will not impact the Company's diluted earnings per share because of the Company's net losses. The Company elected to follow the modified retrospective method upon adopting this ASU with respect to the 2025 Notes, which is the convertible debt that existed at that date. As a result of the adoption, the Company accounts for the 2025 Notes as a single liability and no longer separately accounts for the liability and equity components. The adoption of this ASU also resulted in the derecognition of a deferred tax liability, which represented a basis difference in the face value of the 2025 Notes due to the previous allocation of a portion of the proceeds to the equity component. Additionally, the Company recorded a cumulative adjustment to decrease the beginning balance of the accumulated deficit at July 1, 2021, which represented a reduction in previously recorded amortization of debt discount through June 30, 2021. The following table summarizes the adjustments made to the consolidated balance sheet as of July 1, 2021 as a result of applying the modified retrospective method in adopting this ASU: ASU 2020-06 adjustments As previously reported, Account for the 2025 Notes as single liability Cumulative effect of adjustments As adjusted, Convertible senior notes, net (2025 Notes) $ 909,847 $ 247,231 $ (25,316) $ 1,131,762 Deferred income tax liability (1) $ 9,090 $ (2,165) $ (3,684) $ 3,241 Additional paid-in capital $ 2,777,155 $ (245,066) $ — $ 2,532,089 Accumulated deficit $ (247,467) $ — $ 29,000 $ (218,467) (1) The balance at June 30, 2021 included $5.8 million of deferred tax liability associated with the allocation of the 2025 Notes into equity. On July 1, 2021, the Company adopted FASB ASU 2020-04 , Reference Rate Reform (Topic 848): Facilitation of the Effects of Reference Rate Reform on Financial Reporting . This ASU provide optional guidance to ease the potential burden in accounting for (or recognizing the effects of) reference rate reform on financial reporting in response to concerns about structural risks of the cessation of LIBOR. It also provides optional expedients and exceptions for applying GAAP to contracts, hedging relationships and other transactions affected by reference rate reform if certain criteria are met. This ASU applies only to contracts and hedging relationships that reference LIBOR or another reference rate expected to be discontinued due to reference rate reform. The Company’s credit agreements reference both LIBOR and an alternative rate to replace LIBOR; therefore, the adoption of this ASU did not have a material impact on the Company’s consolidated financial statements. On July 1, 2021, the Company adopted ASU 2017-04, Intangibles—Goodwill and Other (Topic 350): Simplifying the Test for Goodwill Impairment , which eliminates the second step of the goodwill impairment test that required a calculation of the implied fair value of goodwill following the procedures that would be required in determining the fair value of assets acquired and liabilities assumed in a business combination. Accordingly, a goodwill impairment test will be performed by comparing the fair value of a reporting unit with its carrying amount. An impairment charge will be recognized for the amount by which the carrying amount exceeds the reporting unit’s fair value. The adoption of this ASU did not have a material impact on the Company's consolidated financial statements. Not Yet Adopted In March 2022 the FASB issued ASU 2022-02, Financial Instruments—Credit Losses (Topic 326): Troubled Debt Restructurings and Vintage Disclosures. This ASU eliminates the accounting guidance for Troubled Debt Restructurings (TDRs) by creditors in Subtopic 310-40, Receivables—Troubled Debt Restructurings by Creditors, while enhancing disclosure requirements for certain loan refinancings and restructurings by creditors when a borrower is experiencing financial difficulty. Additionally, this ASU requires a company to disclose current-period gross write-offs by year of origination for financing receivables and net investments in leases within the scope of Subtopic 326-20, Financial Instruments—Credit Losses—Measured at Amortized Cost. This ASU is effective for the Company beginning July 1, 2023, and shall be applied |
The Company and Its Significa_3
The Company and Its Significant Accounting Policies (Tables) | 12 Months Ended |
Jun. 30, 2022 | |
Accounting Policies [Abstract] | |
Adoption of ASU 2021-08, impact on the financial statements | The adoption of ASU 2021-08 had the following impact on the Company's previously reported interim condensed consolidated balance sheet as of the periods presented (in thousands): As previously reported, September 30, 2021 ASU 2021-08 As adjusted, Assets Goodwill $ 2,354,812 $ 8,278 $ 2,363,090 Liabilities and Stockholders' Equity Current liabilities: Deferred revenue $ 21,328 $ 8,080 $ 29,408 Non-current liabilities: Deferred income tax liability $ 3,877 $ (1,228) $ 2,649 Stockholders' equity: Accumulated deficit $ (294,152) $ 1,426 $ (292,726) The adoption of ASU 2021-08 had the following impact on the Company's previously reported interim condensed consolidated statement of operations for the period presented (in thousands): As previously reported, ASU 2021-08 As adjusted, Revenue $ 116,403 $ 1,946 $ 118,349 Benefit from income taxes $ (3,941) $ 520 $ (3,421) Net loss $ (75,685) $ 1,426 $ (74,259) Net loss per share attributable to common stockholders, basic and diluted $ (0.79) $ 0.01 $ (0.78) ASU 2020-06 adjustments As previously reported, Account for the 2025 Notes as single liability Cumulative effect of adjustments As adjusted, Convertible senior notes, net (2025 Notes) $ 909,847 $ 247,231 $ (25,316) $ 1,131,762 Deferred income tax liability (1) $ 9,090 $ (2,165) $ (3,684) $ 3,241 Additional paid-in capital $ 2,777,155 $ (245,066) $ — $ 2,532,089 Accumulated deficit $ (247,467) $ — $ 29,000 $ (218,467) (1) The balance at June 30, 2021 included $5.8 million of deferred tax liability associated with the allocation of the 2025 Notes into equity. |
Revenue (Tables)
Revenue (Tables) | 12 Months Ended |
Jun. 30, 2022 | |
Revenue from Contract with Customer [Abstract] | |
Schedule of Subscription and Transaction Fees Disaggregated by Customer Category | The table below shows the Company’s revenue from subscription and transaction fees, which are disaggregated by customer category, and revenue from interest on funds held for customers (in thousands). Year ended June 30, 2022 2021 2020 Small-to-midsize business, accounting firm customers and other $ 603,171 $ 218,227 $ 126,035 Financial institution customers 30,194 14,028 10,370 Subscription and transaction fees 633,365 232,255 136,405 Interest on funds held for customers 8,594 6,010 21,195 Revenue $ 641,959 $ 238,265 $ 157,600 |
Summary of Deferred Costs | Deferred costs Deferred costs consisted of the following as of the dates presented (in thousands): June 30, 2022 2021 Deferred sales commissions: Current $ 5,460 $ 4,169 Non-current 9,187 6,542 Total deferred sales commissions $ 14,647 $ 10,711 Deferred service costs: Current $ 1,706 $ 1,539 Non-current 13,862 15,260 Total deferred service costs $ 15,568 $ 16,799 |
Business Combination (Tables)
Business Combination (Tables) | 12 Months Ended |
Jun. 30, 2022 | |
Business Combinations [Abstract] | |
Summary of Acquisition Purchase Consideration | The acquisition purchase consideration totaled $674.3 million, which consisted of the following (in thousands): Equity consideration (1) $ 510,218 Cash 164,087 Total $ 674,305 (1) This includes 1,788,372 shares of the Company’s common stock issued with a fair value based upon the opening market price on the acquisition date. This also includes the stock options assumed to replace stock options that were outstanding on the acquisition date under Invoice2go's 2014 Equity Incentive Plan (Invoice2go 2014 Plan). The fair value of these stock options was $21.7 million, which was the amount attributable to the pre-combination requisite service period. The acquisition purchase consideration totaled $2.3 billion, which consisted of the following (in thousands): Equity consideration (1) $ 1,658,818 Cash 664,779 Total $ 2,323,597 (1) This includes 10,767,140 shares of the Company’s common stock issued with a fair value based upon the opening market price on the acquisition date. This also includes the stock options assumed to replace stock options that were granted after May 1, 2019 under Divvy’s 2016 Equity Incentive Plan (Divvy 2016 Plan) and were outstanding on the acquisition date. The fair value of these stock options was $55.3 million, which was the amount attributable to the pre-combination requisite service period. |
Summary of Preliminary Fair Values of Assets Acquired and Liabilities Assumed | The following table summarizes the preliminary fair values of the assets acquired and liabilities assumed at the acquisition date (in thousands): Cash and cash equivalents $ 19,738 Accounts receivable and other assets 4,518 Intangible assets 91,219 Total identifiable assets acquired 115,475 Accounts payable and other liabilities (26,618) Net identifiable assets acquired 88,857 Goodwill 585,448 Net assets acquired $ 674,305 The following table summarizes the fair values of the assets acquired and liabilities assumed at the acquisition date (in thousands): Cash $ 108,689 Acquired card receivables 159,784 Accounts receivable 7,435 Card receivables held for sale 12,730 Property and equipment 15,805 Intangible assets 423,000 Prepaid expenses and other assets 57,669 Total identifiable assets acquired 785,112 Accounts payable and other liabilities (153,855) Outstanding borrowings from credit facilities (79,703) Total liabilities assumed (233,558) Net identifiable assets acquired 551,554 Goodwill 1,772,043 Net assets acquired $ 2,323,597 |
Summary of Preliminary Fair Values Allocated to Identifiable Intangible Assets and Estimated Useful Lives | The preliminary fair values allocated to the identifiable intangible assets (in thousands) and their estimated useful lives are as follows: Preliminary Weighted average Customer relationships $ 61,269 10.0 Developed technology 15,908 3.0 Trade name 14,042 3.0 Total $ 91,219 7.7 Fair value Weighted average useful life (in years) Customer relationships $ 198,000 10.0 Developed technology 191,000 6.0 Trade name 34,000 3.0 Total $ 423,000 7.6 |
Summary of Unaudited Proforma Financial Information | The pro forma net loss for the year ended June 30, 2021 was adjusted to exclude nonrecurring acquisition-related costs of $20.6 million. Year ended June 30, 2022 2021 Revenue $ 648,476 $ 274,842 Net loss $ (327,136) $ (149,003) Year ended 2021 2020 Total revenue $ 307,618 $ 192,770 Net loss $ (223,470) $ (206,166) |
Fair Value Measurement (Tables)
Fair Value Measurement (Tables) | 12 Months Ended |
Jun. 30, 2022 | |
Fair Value Disclosures [Abstract] | |
Summary of Fair Value of Assets and Liabilities Measured on Recurring Basis | The following tables set forth the fair value of assets that were measured at fair value on a recurring basis based on the three-tier fair value hierarchy as of the dates presented (in thousands): June 30, 2022 Level 1 Level 2 Level 3 Total Assets Cash equivalents: Money market funds $ 1,424,259 $ — $ — $ 1,424,259 Corporate bonds — 11,430 — 11,430 1,424,259 11,430 — 1,435,689 Short-term investments: Corporate bonds — 597,204 — 597,204 U.S. treasury securities 421,728 — — 421,728 Asset-backed securities — 51,406 — 51,406 Certificates of deposit — 38,155 — 38,155 421,728 686,765 — 1,108,493 Funds held for customers: Restricted cash equivalents Money market funds 34,703 — — 34,703 Corporate bonds — 133,557 — 133,557 34,703 133,557 — — 168,260 Short-term investments Corporate bonds — 807,685 — 807,685 Certificates of deposit — 397,533 — 397,533 Municipal bonds — 6,516 — 6,516 Asset-backed securities — 69,912 — 69,912 U.S. treasury securities 3,072 — — 3,072 3,072 1,281,646 — 1,284,718 Beneficial interest derivative on card receivables sold — — 398 398 Total assets measured at fair value $ 1,883,762 $ 2,113,398 $ 398 $ 3,997,558 June 30, 2021 Level 1 Level 2 Level 3 Total Assets Cash equivalents: Money market funds $ 365,550 $ — $ — $ 365,550 Corporate bonds — 15,499 — 15,499 365,550 15,499 — 381,049 Short-term investments: Corporate bonds — 466,459 — 466,459 U.S. treasury securities 155,674 — — 155,674 Asset-backed securities — 26,406 — 26,406 Certificates of deposit — 6,775 — 6,775 155,674 499,640 — — — 655,314 Funds held for customers: Restricted cash equivalents Money market funds 6,887 — — 6,887 Corporate bonds — 79,435 — 79,435 6,887 79,435 — — 86,322 Short-term investments Corporate bonds — 516,350 — 516,350 Certificates of deposit — 326,927 — 326,927 Municipal bonds — 42,957 — 42,957 Asset-backed securities — 25,085 — 25,085 U.S. treasury securities 3,009 — — 3,009 3,009 911,319 — 914,328 Beneficial interest derivative on card receivables sold — — 2,252 2,252 Total assets measured at fair value $ 531,120 $ 1,505,893 $ 2,252 $ 2,039,265 |
Short-Term Investments (Tables)
Short-Term Investments (Tables) | 12 Months Ended |
Jun. 30, 2022 | |
Investments, Debt and Equity Securities [Abstract] | |
Schedule of Short-Term Investments | Short-term investments consisted of the following as of the dates presented (in thousands): June 30, 2022 Amortized Gross Gross Fair value Corporate bonds $ 601,987 $ 3 $ (4,786) $ 597,204 U.S. treasury securities 424,644 1 (2,917) 421,728 Asset-backed securities 51,622 — (216) 51,406 Certificates of deposit 38,155 — — 38,155 $ 1,116,408 $ 4 $ (7,919) $ 1,108,493 June 30, 2021 Amortized Gross Gross Fair value Corporate bonds $ 466,403 $ 111 $ (55) $ 466,459 U.S. treasury securities 155,663 16 (5) 155,674 Asset-backed securities 26,391 16 (1) 26,406 Certificates of deposit 6,775 — — 6,775 $ 655,232 $ 143 $ (61) $ 655,314 |
Schedule of Gross Unrealized Loss and Fair Values | The following table presents the gross unrealized losses and fair values of those investments that were in an unrealized loss position as of the dates presented (in thousands): June 30, 2022 Fair value Unrealized Corporate bonds $ 392,699 $ (4,786) U.S. treasury securities 411,787 (2,917) Asset backed securities 51,406 (216) Total $ 855,892 $ (7,919) June 30, 2021 Fair value Unrealized Corporate bonds $ 152,485 $ (55) U.S. treasury securities 85,466 (5) Asset backed securities 8,089 (1) Total $ 246,040 $ (61) |
Funds Held for Customers (Table
Funds Held for Customers (Tables) | 12 Months Ended |
Jun. 30, 2022 | |
Investments, Debt and Equity Securities [Abstract] | |
Summary of Funds Held For Customers | Funds held for customers consisted of the following as of the dates presented (in thousands): June 30, 2022 2021 Restricted cash $ 1,685,937 $ 1,195,904 Restricted cash equivalents 168,260 86,322 Funds receivable 6,747 12,694 Corporate bonds 807,685 516,350 Certificates of deposit 397,533 326,927 Municipal bonds 6,516 42,957 Asset backed securities 69,912 25,085 U.S. treasury securities 3,072 3,009 Total funds held for customers 3,145,662 2,209,248 Less - income earned by the Company included in other current assets (3,002) (650) Total funds held for customers, net of income earned by the Company $ 3,142,660 $ 2,208,598 |
Summary of Fair Value of Funds Held For Customers Invested In Short Term Marketable Debt Securities | Below is a summary of the fair value of funds held for customers that were invested in short-term marketable debt securities as of the dates presented (in thousands): June 30, 2022 Amortized Gross Gross Fair value Corporate bonds $ 809,113 $ 1 $ (1,429) $ 807,685 Certificates of deposit 397,533 — — 397,533 Municipal bonds 6,542 — (26) 6,516 Asset backed securities 70,574 — (662) 69,912 U.S. treasury securities 3,082 — (10) 3,072 Total $ 1,286,844 $ 1 $ (2,127) $ 1,284,718 June 30, 2021 Amortized Gross Gross Fair value Corporate bonds $ 516,364 $ 24 $ (38) $ 516,350 Certificates of deposit 326,927 — — 326,927 Municipal bonds 42,952 5 — 42,957 Asset backed securities 25,081 4 — 25,085 U.S. treasury securities 3,010 — (1) 3,009 Total $ 914,334 $ 33 $ (39) $ 914,328 |
Summary of Gross Unrealized Losses And Fair Values | The following tables present the gross unrealized losses and fair values of those investments that were in an unrealized loss position as of the dates presented (in thousands): June 30, 2022 Fair value Unrealized Corporate bonds $ 301,625 $ (1,429) Municipal bonds 6,516 (26) Asset backed securities 64,361 (662) U.S. treasury securities 3,072 (10) Total $ 375,574 $ (2,127) June 30, 2021 Fair value Unrealized Corporate bonds $ 79,359 $ (38) U.S. treasury securities 2,501 (1) Total $ 81,860 $ (39) |
Acquired Card Receivables (Tabl
Acquired Card Receivables (Tables) | 12 Months Ended |
Jun. 30, 2022 | |
Acquired Card Receivables [Abstract] | |
Schedule of Acquired Card Receivables | Acquired card receivables consisted of the following as of the dates presented (in thousands): June 30, 2022 2021 Gross amount of acquired card receivables $ 261,806 $ 148,833 Less: allowance for credit losses (5,414) (1,740) Total $ 256,392 $ 147,093 |
Summary of Acquired Card Receivables by Class | Below is a summary of the acquired card receivables by class (i.e., past due status) as of the dates presented (in thousands): June 30, 2022 2021 Current and less than 30 days past due $ 257,618 $ 145,993 30 ~ 59 days past due 1,677 1,188 60 ~ 89 days past due 1,199 580 90 ~ 119 days past due 1,186 713 Over 119 days past due 126 359 Total $ 261,806 $ 148,833 |
Summary of Change in Allowance for Credit Losses | Below is a summary of the allowance for credit losses as of the dates presented and the changes during the years ended June 30, 2022 and 2021 (in thousands): June 30, 2022 2021 (1) Balance, beginning $ 1,740 $ — Initial allowance for credit losses on purchased card receivables with credit deterioration 313 2,082 Provision for expected credit losses 19,566 462 Charge-off amounts (18,005) (828) Recoveries collected 1,800 24 Balance, ending $ 5,414 $ 1,740 (1) Amounts from the acquisition date of Divvy on June 1, 2021. |
Summary of Acquired Card Receivables Considered PCD Assets | Below is a summary of the acquired card receivables that were considered PCD assets from the acquisition of Divvy on June 1, 2021 through June 30, 2021 (in thousands): Purchase price $ 3,855 Allowance for credit losses 2,082 Less: discount attributable to other factors (79) Par value $ 5,858 |
Summary Of Fair Value Of Consideration Received From Transfer Of Card Receivables | Below is a summary of the fair value of consideration received from the transfer of card receivables accounted for as a sale during the periods presented (in thousands): Year ended June 30, 2022 2021 (1) Initial fair value of consideration received: Cash $ 1,483,481 $ 59,105 Beneficial interest derivative 4,690 187 Total $ 1,488,171 $ 59,292 (1) Amounts from the acquisition date of Divvy on June 1, 2021. |
Summary of Transferred Card Receivables by Class | Below is a summary of outstanding transferred card receivables by class (i.e., past due status) that have not been charged-off and have not been recorded on the Company's consolidated balance sheets, but with which the Company has a continuing involvement through its servicing agreements, as of the dates presented (in thousands): June 30, 2022 2021 Current and less than 30 days past due $ 56,162 $ 25,098 30 ~ 59 days past due 292 240 60 ~ 89 days past due 375 165 90 ~ 119 days past due 422 301 Over 119 days past due 30 132 Total $ 57,281 $ 25,936 |
Property and Equipment (Tables)
Property and Equipment (Tables) | 12 Months Ended |
Jun. 30, 2022 | |
Property, Plant and Equipment [Abstract] | |
Schedule of Property and Equipment | Property and equipment consisted of the following as of the dates presented (in thousands): June 30, 2022 2021 Software and equipment $ 20,102 $ 17,508 Capitalized software 21,457 6,794 Furniture and fixtures 10,608 8,926 Leasehold improvements 35,105 34,606 Property and equipment, gross 87,272 67,834 Less: accumulated depreciation and amortization (30,287) (18,932) Property and equipment, net $ 56,985 $ 48,902 |
Goodwill and Intangible Assets
Goodwill and Intangible Assets (Tables) | 12 Months Ended |
Jun. 30, 2022 | |
Goodwill and Intangible Assets Disclosure [Abstract] | |
Schedule of Goodwill | Goodwill, which is primarily attributable to expected synergies from acquisitions and is not deductible for U.S. federal and state income tax purposes, consisted of the following as of the dates presented (in thousands): June 30, 2022 2021 Balance, beginning $ 1,772,043 $ — Addition related to acquisition during the period 585,448 1,772,043 Measurement period adjustments (2,876) — Adoption of ASU 2021-08 8,278 — Balance, ending $ 2,362,893 $ 1,772,043 |
Schedule of Intangible Assets | Intangible assets consisted of the following as of the dates presented (amounts in thousands): June 30, 2022 Gross Carrying Amount Accumulated Amortization Net Carrying Amount Weighted average remaining Customer relationships $ 259,269 $ (26,556) $ 232,713 9.0 Developed technology 206,908 (38,909) 167,999 4.7 Trade name 48,042 (16,171) 31,871 2.0 Total $ 514,219 $ (81,636) $ 432,583 6.8 Jun 30, 2021 Gross Carrying Amount Accumulated Amortization Net Carrying Amount Weighted average remaining Customer relationships $ 198,000 $ (2,062) $ 195,938 9.9 Developed technology 191,000 (2,653) $ 188,347 5.9 Trade name 34,000 (944) $ 33,056 2.9 Total $ 423,000 $ (5,659) $ — $ 417,341 7.5 |
Schedule of Amortization of Finite-Lived Intangible Assets | Amortization of finite-lived intangible assets was as follows during the years ended June 30, 2022 and 2021 (in thousands): June 30, 2022 2021 Cost of revenue $ 36,256 $ 2,653 Sales and marketing $ 39,721 3,006 Total $ 75,977 $ 5,659 |
Schedule of Future Amortization of Finite-Lived Intangible Assets | As of June 30, 2022, future amortization of finite-lived intangible assets that will be recorded in cost of revenue and operating expenses is estimated as follows (in thousands): Fiscal years ending June 30: Amount 2023 $ 79,075 2024 78,147 2025 59,425 2026 57,763 2027 55,094 Thereafter 103,079 Total $ 432,583 |
Debt and Bank Borrowings (Table
Debt and Bank Borrowings (Tables) | 12 Months Ended |
Jun. 30, 2022 | |
Debt Disclosure [Abstract] | |
Schedule of Debt | Debt and borrowings consisted of the following as of the dates present (in thousands): June 30, 2022 2021 Convertible senior notes: 2027 Notes, principal $ 575,000 $ — 2025 Notes, principal 1,150,000 1,150,000 Total principle amount of convertible senior notes 1,725,000 1,150,000 Credit facilities: 2021 revolving credit agreement (Class A) 75,000 37,500 2021 revolving credit agreement (Class B) — 10,000 2019 credit agreement — 30,000 Total principal borrowings from credit facilities 75,000 77,500 Total principal amount of debt and borrowings 1,800,000 1,227,500 Less: unamortized debt discount and issuance costs (26,918) (238,119) Net carrying value of debt and borrowings $ 1,773,082 $ 989,381 Net carrying value of debt and borrowings consisted of: Current liabilities: Borrowings from credit facilities $ 75,097 $ — Non-current liabilities: 2027 Notes, net 562,127 — 2025 Notes, net 1,135,858 909,847 Borrowings from credit facilities (including unamortized debt premium) — 79,534 Total $ 1,773,082 $ 989,381 |
Convertible Debt | As of June 30, 2022 and 2021, the Notes consisted of the following (in thousands): June 30, 2022 June 30, 2021 2027 Notes 2025 Notes 2025 Notes Liability component: Principal $ 575,000 $ 1,150,000 $ 1,150,000 Less: unamortized debt discount and issuance costs $ (12,873) $ (14,142) $ (240,153) Net carrying amount $ 562,127 $ — $ 1,135,858 $ 909,847 Amount allocated to equity component, net of issuance costs and tax $ — $ — $ 245,066 |
Stockholders' Equity (Tables)
Stockholders' Equity (Tables) | 12 Months Ended |
Jun. 30, 2022 | |
Equity [Abstract] | |
Summary of Stock Option Activities | A summary of stock option activity as of June 30, 2022, and changes during the year ended June 30, 2022, is presented below: Number of Weighted Weighted Aggregate Outstanding at June 30, 2021 6,552 $ 13.31 7.87 $ 1,113,025 Granted (1) 280 $ 83.40 Exercised (2,747) $ 12.39 Forfeited (227) $ 26.66 Outstanding at June 30, 2022 3,858 $ 18.28 6.97 $ 361,053 Vested and expected to vest at June 30, 2022 (2) 3,624 $ 18.22 6.94 $ 339,548 Vested and exercisable at June 30, 2022 2,189 $ 12.59 6.63 $ 213,987 (1) Includes approximately 184,000 shares of outstanding stock options that were assumed upon the acquisition of Invoice2go. The weighted average exercise price of options assumed was $25.60 per share and the weighted average grant date fair value on the date of assumption was approximately $248.43 per share. (2) The expected to vest options are the result of applying the pre-vesting forfeiture rate assumptions to total outstanding options. |
Summary of Fair Value of Options Granted Black-Scholes Option-Pricing Model Assumptions | The fair value of options granted during the years ended June 30, 2022, 2021 and 2020 was estimated at the date of grant using the Black-Scholes option-pricing model with the following assumptions: Year ended June 30, 2022 2021 2020 Expected term (in years) 2.00 to 7.05 4.00 to 6.25 6.25 Expected volatility 30.0% to 81.2% 35.0% to 85.1% 50.0% to 100.6% Risk-free interest rate 0.20% to 2.88% 0.38% to 1.03% 0.35% to 1.88% Expected dividend yield 0 % 0 % 0 % |
Summary of RSU Activity | A summary of RSU activity as of June 30, 2022, and changes during the year ended June 30, 2022, is presented below. Number of Weighted Nonvested at June 30, 2021 1,176 $ 90.20 Granted 2,929 $ 202.79 Vested (535) $ 122.82 Forfeited (291) $ 164.74 Nonvested at June 30, 2022 3,279 $ 178.85 |
Schedule of Fair Value of ESPP Offerings | The fair value of ESPP offerings during the years ended June 30, 2022, 2021 and 2020 was estimated at the date of the offering using the Black-Scholes option-pricing model with the following assumptions: Year ended June 30, 2022 2021 2020 Expected term (in years) 0.4 to 1.0 0.5 to 1.0 0.5 to 1.17 Expected volatility 76.0% to 77.3% 81.0% to 88.4% 50.0% Risk-free interest rate 0.06% to 0.88% 0.05% to 0.13% 1.47% to 1.56% Expected dividend yield 0 % 0 % 0 % |
Summary of Stock Based Compensation Cost | Stock-based compensation cost from stock options, RSUs and ESPP was included in the following line items in the accompanying consolidated statements of operations and consolidated balance sheets (in thousands): Year ended June 30, 2022 2021 2020 Cost of revenue - service costs $ 5,144 $ 2,938 $ 1,257 Research and development 54,907 16,091 5,495 Sales and marketing 60,237 8,547 2,777 General and administrative 76,869 44,411 8,535 Total amount charged to expense 197,157 71,987 18,064 Property and equipment (capitalized internal-use software) 4,405 464 — Total stock-based compensation cost $ 201,562 $ 72,451 $ 18,064 |
Other Income (Expense), Net (Ta
Other Income (Expense), Net (Tables) | 12 Months Ended |
Jun. 30, 2022 | |
Other Income, Nonoperating [Abstract] | |
Schedule of Other (Expense) Income, Net | Other income (expense), net consisted of the following for the periods presented (in thousands): Year ended June 30, 2022 2021 2020 Interest expense $ (9,419) $ (28,158) $ (229) Lower of cost or market adjustment on card (11,460) (691) — Interest income 6,691 2,992 4,092 Other 327 487 (703) Total $ (13,861) $ (25,370) $ 3,160 |
Income Taxes (Tables)
Income Taxes (Tables) | 12 Months Ended |
Jun. 30, 2022 | |
Income Tax Disclosure [Abstract] | |
Components of Loss before (Benefit from) Provision for Income Taxes | The components of loss before (benefit from) provision for income taxes were as follows during the periods presented (in thousands): Year ended June 30, 2022 2021 2020 Domestic $ (304,508) $ (139,337) $ (31,038) Foreign (26,171) — — Total $ (330,679) $ (139,337) $ (31,038) |
Components of (Benefit from) Provision for Income Taxes | The components of (benefit from) provision for income taxes were as follows during the periods presented (in thousands): Year ended June 30, 2022 2021 2020 Current: Federal $ (247) $ — $ — State — — 53 Foreign — — — Total current (247) — 53 Deferred: — — — Federal (1,115) (27,529) — State (2,956) (13,088) — Foreign — — — Total deferred (4,071) (40,617) — (Benefit from) provision for income taxes $ (4,318) $ (40,617) $ 53 |
Difference between Income Taxes Computed At Federal Statutory Rate and (Benefit from) Provision for Income Taxes | The items accounting for the difference between the income taxes computed at the federal statutory rate and the (benefit from) provision for income taxes consisted of the following during the periods presented (in thousands): Year ended June 30, 2022 2021 2020 Expected benefit at U.S. federal statutory rate $ (69,443) $ (29,261) $ (6,518) State income taxes, net of federal benefit 13,509 (54) — Stock-based compensation (93,705) (70,262) (31,047) Research and development tax credits (22,061) (8,846) (6,411) Change in valuation allowance related to acquisition (1) (2,831) (34,749) — Change in valuation allowance (2) 174,477 94,244 43,716 Unrecognized tax benefit (10,975) 6,766 — Acquisition-related costs 553 1,484 — Foreign rate differential 5,496 — — Other 662 61 313 (Benefit from) provision for income taxes $ (4,318) $ (40,617) $ 53 (1) The rate impact during the years ended June 30, 2022 and 2021 pertains to the income tax benefit recorded as a result of the acquisitions of Invoice2go of Divvy, which allowed the Company to release a portion of its valuation allowance due to the net deferred tax liabilities that were recorded as a result of such acquisitions. (2) The rate impact during the year ended June 30, 2022 and 2021 pertains to (i) an increase in valuation allowance due to the increase in deferred tax assets associated with losses and tax credits generated during the year, (ii) a change in deferred tax liability related to the 2025 Notes, and (iii) a change in deferred tax liability related to the acquisitions of Invoice2go and Divvy. |
Components of Deferred Tax Assets and Liabilities | The components of deferred tax assets and liabilities were as follows as of the dates presented (in thousands): June 30, 2022 2021 Deferred tax assets: Accruals and reserves $ 9,325 $ 8,677 Deferred revenue 1,794 1,109 Stock-based compensation 25,897 16,626 Net operating loss carryforwards 410,849 218,783 Research and development credits 46,013 15,864 Accrued rewards 2,867 1,342 Operating lease liabilities 24,203 25,122 Other 3,247 514 Total deferred tax assets before valuation allowance 524,195 288,037 Valuation allowance (384,158) (107,836) Deferred tax assets $ 140,037 $ 180,201 Deferred tax liabilities: Deferred contract costs $ (3,745) $ (2,763) Property and equipment (19,316) (3,133) Intangible assets (99,483) (107,631) Operating right of use assets (19,490) (18,551) Convertible notes — (57,213) Total deferred tax liabilities $ (142,034) $ (189,291) Net deferred tax liabilities $ (1,997) $ (9,090) |
Reconciliation of Unrecognized Tax Benefits | Below is the reconciliation of the unrecognized tax benefits related to federal and California R&D credits during the periods presented (in thousands): Year e 2022 2021 2020 Balance at the beginning of the year $ 22,185 $ 5,787 $ 2,692 Add: Tax positions related to the current year 7,354 8,267 3,078 Increase from business combination 160 668 — Tax positions related to the prior year — 7,463 17 Less: Tax positions related to the prior year (12,761) — — Statute of limitations lapse (214) — — Balance at the end of the year $ 16,724 $ 22,185 $ 5,787 |
Leases (Tables)
Leases (Tables) | 12 Months Ended |
Jun. 30, 2022 | |
Leases [Abstract] | |
Components of Lease Cost | The components of lease expense during the years ended June 30, 2022 and 2021 are shown in the table below (in thousands), while the lease expense during the year ended June 30, 2020 was $5.3 million. Year ended June 30 2022 2021 Operating lease expense $ 12,906 $ 7,444 Short-term lease expense 77 382 Variable lease expense, net of credit 2,909 2,252 Sublease income (712) (55) Total lease cost $ 15,180 $ 10,023 |
Commitments and Contingencies (
Commitments and Contingencies (Tables) | 12 Months Ended |
Jun. 30, 2022 | |
Commitments and Contingencies Disclosure [Abstract] | |
Summary of Future Minimum Lease Payments | Future minimum lease payments as of June 30, 2022 are as follows (in thousands): Fiscal years ending June 30: Amount 2023 $ 13,987 2024 13,650 2025 13,424 2026 13,292 2027 13,226 Thereafter 49,510 Gross lease payments 117,089 Less - present value adjustments (22,222) Total operating lease liabilities, net $ 94,867 |
Schedule of Future Payments Under Other Agreements | Future payments under these other agreements as of June 30, 2022 are as follows (in thousands). Fiscal years ending June 30: Amount 2023 $ 24,761 2024 11,833 2025 6,969 2026 4,750 2027 4,750 Thereafter 34,250 Total $ 87,313 |
Net Loss Per Share Attributab_2
Net Loss Per Share Attributable To Common Stockholders (Tables) | 12 Months Ended |
Jun. 30, 2022 | |
Earnings Per Share [Abstract] | |
Schedule of Calculation of Basic and Diluted Net Loss Per Share Attributable to Common Stockholders | The following table presents the calculation of basic and diluted net loss per share attributable to common stockholders during the periods presented (in thousands, except per share amounts): Year ended June 30, 2022 2021 2020 Numerator: Net loss attributable to common stockholders $ (326,361) $ (98,720) $ (31,091) Denominator: Weighted-average shares used to compute net loss per share attributable to common stockholders Basic and diluted 101,753 82,813 44,106 Net loss per share attributable to common stockholders: Basic and diluted $ (3.21) $ (1.19) $ (0.70) |
Summary of Potentially Dilutive Securities Excluded from Diluted Net Loss Per Share Calculation | Potentially dilutive securities, which were excluded from the diluted net loss per share calculations because they would have been antidilutive, are as follows as of the dates presented (in thousands): June 30, 2022 2021 2020 Stock options 3,858 6,552 9,019 Restricted stock units 3,279 1,176 1,141 Total 7,137 7,728 10,160 |
The Company and Its Significa_4
The Company and Its Significant Accounting Policies - Initial Public Offering and Follow-on Offering (Details) - USD ($) $ / shares in Units, $ in Thousands | 12 Months Ended | ||||||
Sep. 24, 2021 | Sep. 14, 2021 | Jun. 15, 2020 | Dec. 16, 2019 | Jun. 30, 2022 | Jun. 30, 2021 | Jun. 30, 2020 | |
Organization Consolidation Basis Of Presentation Business Description And Accounting Policies [Line Items] | |||||||
Proceeds from issuance of common stock upon public offering, net of underwriting discounts and other offering costs | $ 1,300,000 | $ 225,500 | $ 1,341,122 | $ 0 | $ 0 | ||
Reclassification of redeemable convertible preferred stock warrant liabilities to additional paid-in capital upon initial public offering | $ 1,400 | $ 1,405 | |||||
Net proceeds from follow-on public offering | $ 307,500 | ||||||
Common Stock | |||||||
Organization Consolidation Basis Of Presentation Business Description And Accounting Policies [Line Items] | |||||||
Issuance of common stock upon public offering, net of underwriting discounts and commissions and other offering costs, shares | 5,074,000 | 11,297,000 | |||||
Redeemable convertible preferred stock converted (shares) | 52,434,505 | ||||||
IPO | |||||||
Organization Consolidation Basis Of Presentation Business Description And Accounting Policies [Line Items] | |||||||
Issuance of common stock upon public offering, net of underwriting discounts and commissions and other offering costs, shares | 5,073,529 | 4,330,000 | 11,297,058 | ||||
Shares issued price to public per share | $ 272 | $ 74.25 | $ 22 | ||||
Underwriting discounts and commissions | $ 17,400 | ||||||
Other offering costs | $ 5,600 | ||||||
Payments for underwriting discounts commissions and other offering costs | $ 38,900 | ||||||
Over-Allotment Option | |||||||
Organization Consolidation Basis Of Presentation Business Description And Accounting Policies [Line Items] | |||||||
Issuance of common stock upon public offering, net of underwriting discounts and commissions and other offering costs, shares | 1,080,000 | 1,473,529 | |||||
Follow-On Public Offering | |||||||
Organization Consolidation Basis Of Presentation Business Description And Accounting Policies [Line Items] | |||||||
Underwriting discounts and commissions | $ 12,900 | ||||||
Other offering costs | $ 1,100 | ||||||
Follow-On Public Offering | Common Stock | |||||||
Organization Consolidation Basis Of Presentation Business Description And Accounting Policies [Line Items] | |||||||
Issuance of common stock upon public offering, net of underwriting discounts and commissions and other offering costs, shares | 4,330,000 |
The Company and Its Significa_5
The Company and Its Significant Accounting Policies - Segment Reporting (Details) | 12 Months Ended |
Jun. 30, 2022 segment | |
Accounting Policies [Abstract] | |
Number of operating segments | 1 |
The Company and Its Significa_6
The Company and Its Significant Accounting Policies - Short-term investments (Details) - USD ($) | 12 Months Ended | ||
Jun. 30, 2022 | Jun. 30, 2021 | Jun. 30, 2020 | |
Accounting Policies [Abstract] | |||
Other-than-temporary impairment on short-term investments | $ 0 | $ 0 | $ 0 |
The Company and Its Significa_7
The Company and Its Significant Accounting Policies - Concentrations of Credit Risk (Details) $ in Millions | 12 Months Ended | ||
Jun. 30, 2022 USD ($) Customer | Jun. 30, 2021 USD ($) Customer | Jun. 30, 2020 Customer | |
Organization Consolidation Basis Of Presentation Business Description And Accounting Policies [Line Items] | |||
Allowance for potential credit losses related to accounts receivable and acquired card receivables | $ | $ 5.8 | $ 1.9 | |
Revenue Benchmark | Customer Concentration Risk | |||
Organization Consolidation Basis Of Presentation Business Description And Accounting Policies [Line Items] | |||
Number of customers exceed 10% of revenue | Customer | 0 | 0 | 0 |
Revenue Benchmark | Customer Concentration Risk | No Customer | |||
Organization Consolidation Basis Of Presentation Business Description And Accounting Policies [Line Items] | |||
Concentration percentage | 10% | 10% | 10% |
The Company and Its Significa_8
The Company and Its Significant Accounting Policies - Acquired Card Receivables (Details) - USD ($) $ in Millions | Jun. 30, 2022 | Jun. 30, 2021 |
Accounting Policies [Abstract] | ||
Allowance for potential credit losses for acquired card receivables | $ 5.4 | $ 1.7 |
The Company and Its Significa_9
The Company and Its Significant Accounting Policies - Property and equipment (Details) | 12 Months Ended |
Jun. 30, 2022 | |
Minimum | |
Organization Consolidation Basis Of Presentation Business Description And Accounting Policies [Line Items] | |
Estimated useful lives | 1 year |
Maximum | |
Organization Consolidation Basis Of Presentation Business Description And Accounting Policies [Line Items] | |
Estimated useful lives | 4 years |
The Company and Its Signific_10
The Company and Its Significant Accounting Policies - Intangible Assets (Details) | 12 Months Ended |
Jun. 30, 2022 | |
Minimum | |
Organization Consolidation Basis Of Presentation Business Description And Accounting Policies [Line Items] | |
Estimated useful lives | 3 years |
Maximum | |
Organization Consolidation Basis Of Presentation Business Description And Accounting Policies [Line Items] | |
Estimated useful lives | 10 years |
The Company and Its Signific_11
The Company and Its Significant Accounting Policies - Impairment (Details) | 12 Months Ended |
Jun. 30, 2022 reportingUnit | |
Accounting Policies [Abstract] | |
Number of reporting unit | 1 |
The Company and Its Signific_12
The Company and Its Significant Accounting Policies-Leases (Details) | Jun. 30, 2022 |
Minimum | |
Lessee Lease Description [Line Items] | |
Lease arrangements term | 12 months |
The Company and Its Signific_13
The Company and Its Significant Accounting Policies - Accrued Rewards (Details) - USD ($) $ in Millions | 12 Months Ended | |
Jun. 30, 2022 | Jun. 30, 2021 | |
Sales and Marketing Expenses | ||
Organization Consolidation Basis Of Presentation Business Description And Accounting Policies [Line Items] | ||
Rewards and promotions expense | $ 95.2 | $ 4.5 |
Other Accruals and Current Liabilities | ||
Organization Consolidation Basis Of Presentation Business Description And Accounting Policies [Line Items] | ||
Accrued rewards and promotions liability | $ 36.2 | $ 19.2 |
The Company and Its Signific_14
The Company and Its Significant Accounting Policies - Deferred costs (Details) | 12 Months Ended |
Jun. 30, 2022 | |
Maximum | |
Organization Consolidation Basis Of Presentation Business Description And Accounting Policies [Line Items] | |
Deferred sales commissions are amortized | 10 years |
Minimum | |
Organization Consolidation Basis Of Presentation Business Description And Accounting Policies [Line Items] | |
Deferred sales commissions are amortized | 4 years |
The Company and Its Signific_15
The Company and Its Significant Accounting Policies - Stock-based compensation (Details) | 12 Months Ended | ||
Jun. 30, 2022 | Jun. 30, 2021 | Jun. 30, 2020 | |
Organization Consolidation Basis Of Presentation Business Description And Accounting Policies [Line Items] | |||
Offering period of purchase rights under ESPP | 1 year | ||
Risk-free interest rate | 0% | ||
Expected dividend yield | 0% | 0% | 0% |
Stock Options and RSUs | |||
Organization Consolidation Basis Of Presentation Business Description And Accounting Policies [Line Items] | |||
Vesting term | 4 years |
The Company and Its Signific_16
The Company and Its Significant Accounting Policies - Advertising (Details) - USD ($) $ in Millions | 12 Months Ended | ||
Jun. 30, 2022 | Jun. 30, 2021 | Jun. 30, 2020 | |
Accounting Policies [Abstract] | |||
Advertising expenses | $ 29.4 | $ 8.5 | $ 5.8 |
The Company and Its Signific_17
The Company and Its Significant Accounting Policies - Adoption of ASU 2021-08 Balance Sheet Impact (Details) - USD ($) $ in Thousands | Jun. 30, 2022 | Oct. 01, 2021 | Sep. 30, 2021 | Jun. 30, 2021 | Jun. 30, 2020 |
Organization Consolidation Basis Of Presentation Business Description And Accounting Policies [Line Items] | |||||
Goodwill | $ 2,362,893 | $ 1,772,043 | $ 0 | ||
Deferred revenue | 31,868 | 12,848 | |||
Accumulated deficit | (544,828) | (247,467) | |||
Previously Reported | |||||
Organization Consolidation Basis Of Presentation Business Description And Accounting Policies [Line Items] | |||||
Goodwill | $ 2,354,812 | ||||
Deferred revenue | 21,328 | ||||
Deferred income tax liability | 3,877 | 9,090 | |||
Accumulated deficit | $ (294,152) | (247,467) | |||
Adoption of ASU 2021-08 | |||||
Organization Consolidation Basis Of Presentation Business Description And Accounting Policies [Line Items] | |||||
Goodwill | $ 8,278 | $ 2,363,090 | $ 0 | ||
Deferred revenue | 29,408 | ||||
Deferred income tax liability | 2,649 | ||||
Accumulated deficit | (292,726) | ||||
Adoption of ASU 2021-08 | Revision of Prior Period, Adjustment | |||||
Organization Consolidation Basis Of Presentation Business Description And Accounting Policies [Line Items] | |||||
Goodwill | 8,278 | ||||
Deferred revenue | 8,080 | ||||
Deferred income tax liability | (1,228) | ||||
Accumulated deficit | $ 1,426 |
The Company and Its Signific_18
The Company and Its Significant Accounting Policies - Adoption of ASU 2021-08 Statement of Operations Impact (Details) - USD ($) $ / shares in Units, $ in Thousands | 3 Months Ended | 12 Months Ended | ||
Sep. 30, 2021 | Jun. 30, 2022 | Jun. 30, 2021 | Jun. 30, 2020 | |
Organization Consolidation Basis Of Presentation Business Description And Accounting Policies [Line Items] | ||||
Revenue | $ 118,349 | $ 641,959 | $ 238,265 | $ 157,600 |
Benefit from income taxes | (3,421) | (4,318) | (40,617) | 53 |
Net income (loss) | $ (74,259) | $ (326,361) | $ (98,720) | $ (31,091) |
Net loss per share attributable to common shareholders, basic (dollars per share) | $ (0.78) | $ (3.21) | $ (1.19) | $ (0.70) |
Earnings per share, diluted (dollars per share) | $ (0.78) | $ (3.21) | $ (1.19) | $ (0.70) |
Previously Reported | ||||
Organization Consolidation Basis Of Presentation Business Description And Accounting Policies [Line Items] | ||||
Revenue | $ 116,403 | |||
Benefit from income taxes | (3,941) | |||
Net income (loss) | $ (75,685) | |||
Net loss per share attributable to common shareholders, basic (dollars per share) | $ (0.79) | |||
Earnings per share, diluted (dollars per share) | $ (0.79) | |||
Adoption of ASU 2021-08 | Revision of Prior Period, Adjustment | ||||
Organization Consolidation Basis Of Presentation Business Description And Accounting Policies [Line Items] | ||||
Revenue | $ 1,946 | |||
Benefit from income taxes | 520 | |||
Net income (loss) | $ 1,426 | |||
Net loss per share attributable to common shareholders, basic (dollars per share) | $ 0.01 | |||
Earnings per share, diluted (dollars per share) | $ 0.01 |
The Company and Its Signific_19
The Company and Its Significant Accounting Policies - Adoption of ASU 2020-06 (Details) - USD ($) $ in Thousands | Jun. 30, 2022 | Sep. 30, 2021 | Jul. 01, 2021 | Jun. 30, 2021 |
Organization Consolidation Basis Of Presentation Business Description And Accounting Policies [Line Items] | ||||
Convertible senior notes, net | $ 1,697,985 | $ 909,847 | ||
Accumulated deficit | $ (544,828) | (247,467) | ||
Previously Reported | ||||
Organization Consolidation Basis Of Presentation Business Description And Accounting Policies [Line Items] | ||||
Convertible senior notes, net | 909,847 | |||
Deferred income tax liability | $ 3,877 | 9,090 | ||
Additional paid-in capital | 2,777,155 | |||
Accumulated deficit | $ (294,152) | (247,467) | ||
Accounting Standards Update 2020-06 | ||||
Organization Consolidation Basis Of Presentation Business Description And Accounting Policies [Line Items] | ||||
Convertible senior notes, net | $ 1,131,762 | |||
Deferred income tax liability | 3,241 | |||
Additional paid-in capital | 2,532,089 | |||
Accumulated deficit | (218,467) | |||
Deferred tax liabilities associated with allocation of notes into equity | $ 5,800 | |||
Accounting Standards Update 2020-06 | Revision of Prior Period, Adjustment | ||||
Organization Consolidation Basis Of Presentation Business Description And Accounting Policies [Line Items] | ||||
Convertible senior notes, net | (25,316) | |||
Deferred income tax liability | (3,684) | |||
Accumulated deficit | 29,000 | |||
Accounting Standards Update 2020-06 | 2025 Senior Notes | ||||
Organization Consolidation Basis Of Presentation Business Description And Accounting Policies [Line Items] | ||||
Convertible senior notes, net | 247,231 | |||
Deferred income tax liability | (2,165) | |||
Additional paid-in capital | $ (245,066) |
Revenue - Schedule of Subscript
Revenue - Schedule of Subscription and Transaction Fees Disaggregated by Customer Category (Details) - USD ($) $ in Thousands | 3 Months Ended | 12 Months Ended | ||
Sep. 30, 2021 | Jun. 30, 2022 | Jun. 30, 2021 | Jun. 30, 2020 | |
Disaggregation Of Revenue [Line Items] | ||||
Revenue | $ 118,349 | $ 641,959 | $ 238,265 | $ 157,600 |
Subscription and Transaction Fees | ||||
Disaggregation Of Revenue [Line Items] | ||||
Revenue | 633,365 | 232,255 | 136,405 | |
Subscription and Transaction Fees | Small-to-midsize Business and Accounting Firm Customers | ||||
Disaggregation Of Revenue [Line Items] | ||||
Revenue | 603,171 | 218,227 | 126,035 | |
Subscription and Transaction Fees | Financial Institution Customers | ||||
Disaggregation Of Revenue [Line Items] | ||||
Revenue | 30,194 | 14,028 | 10,370 | |
Interest on Funds Held for Customers | ||||
Disaggregation Of Revenue [Line Items] | ||||
Revenue | $ 8,594 | $ 6,010 | $ 21,195 |
Revenue - Deferred Revenue (Det
Revenue - Deferred Revenue (Details) $ in Millions | 12 Months Ended |
Jun. 30, 2022 USD ($) | |
Revenue from Contract with Customer [Abstract] | |
Deferred revenue, recognized | $ 13 |
Revenue - Remaining Performance
Revenue - Remaining Performance Obligations (Details) $ in Millions | Jun. 30, 2022 USD ($) |
Revenue Remaining Performance Obligation Expected Timing Of Satisfaction [Line Items] | |
Aggregate amount of transaction price allocated to performance obligations | $ 150.3 |
Revenue, Remaining Performance Obligation, Expected Timing of Satisfaction, Start Date: 2022-07-01 | |
Revenue Remaining Performance Obligation Expected Timing Of Satisfaction [Line Items] | |
Aggregate amount of transaction price allocated to performance obligations, percentage | 66% |
Revenue, remaining performance obligation, expected timing of satisfaction, period | 2 years |
Revenue, Remaining Performance Obligation, Expected Timing of Satisfaction, Start Date: 2024-07-01 | |
Revenue Remaining Performance Obligation Expected Timing Of Satisfaction [Line Items] | |
Aggregate amount of transaction price allocated to performance obligations, percentage | 34% |
Revenue, Remaining Performance Obligation, Expected Timing of Satisfaction, Start Date: 2024-07-01 | Minimum | |
Revenue Remaining Performance Obligation Expected Timing Of Satisfaction [Line Items] | |
Revenue, remaining performance obligation, expected timing of satisfaction, period | 3 years |
Revenue, Remaining Performance Obligation, Expected Timing of Satisfaction, Start Date: 2024-07-01 | Maximum | |
Revenue Remaining Performance Obligation Expected Timing Of Satisfaction [Line Items] | |
Revenue, remaining performance obligation, expected timing of satisfaction, period | 5 years |
Revenue - Unbilled Revenue (Det
Revenue - Unbilled Revenue (Details) - USD ($) $ in Thousands | Jun. 30, 2022 | Jun. 30, 2021 |
Revenue from Contract with Customer [Abstract] | ||
Unbilled revenue | $ 11,400 | $ 8,100 |
Revenue - Summary of Deferred C
Revenue - Summary of Deferred Costs (Details) - USD ($) $ in Thousands | 12 Months Ended | ||
Jun. 30, 2022 | Jun. 30, 2021 | Jun. 30, 2020 | |
Deferred Costs [Line Items] | |||
Amortization of deferred sales commissions | $ 5,200 | $ 3,600 | $ 2,300 |
Amortization of deferred service costs | 1,600 | 600 | $ 400 |
Deferred Sales Commissions | |||
Deferred Costs [Line Items] | |||
Current | 5,460 | 4,169 | |
Non-current | 9,187 | 6,542 | |
Total | 14,647 | 10,711 | |
Deferred Service Costs | |||
Deferred Costs [Line Items] | |||
Current | 1,706 | 1,539 | |
Non-current | 13,862 | 15,260 | |
Total | $ 15,568 | $ 16,799 |
Business Combination - Summary
Business Combination - Summary of Acquisition Purchase Consideration -Invoice2go (Details) - USD ($) $ in Thousands | 12 Months Ended | |||
Sep. 01, 2021 | Jun. 30, 2022 | Jun. 30, 2021 | Jun. 30, 2020 | |
Business Acquisition [Line Items] | ||||
Equity consideration | $ 488,494 | $ 1,603,543 | $ 0 | |
Invoice2go, Inc. | ||||
Business Acquisition [Line Items] | ||||
Acquisition date | Sep. 01, 2021 | |||
Percentage of outstanding equity interests acquired | 100% | |||
Equity consideration | $ 510,218 | |||
Cash | 164,087 | |||
Total | $ 674,305 | |||
Business acquisition, common stock issued (shares) | 1,788,372 | |||
Invoice2go, Inc. | 2014 Equity Incentive Plan | ||||
Business Acquisition [Line Items] | ||||
Fair value of stock options | $ 21,700 |
Business Combination - Summar_2
Business Combination - Summary of Preliminary Fair Values of Assets Acquired and Liabilities Assumed - Invoice2go (Details) - USD ($) $ in Thousands | Jun. 30, 2022 | Sep. 01, 2021 | Jun. 30, 2021 | Jun. 30, 2020 |
Business Acquisition [Line Items] | ||||
Goodwill | $ 2,362,893 | $ 1,772,043 | $ 0 | |
Invoice2go, Inc. | ||||
Business Acquisition [Line Items] | ||||
Cash and cash equivalents | $ 19,738 | |||
Accounts receivable and other assets | 4,518 | |||
Intangible assets | 91,219 | |||
Total identifiable assets acquired | 115,475 | |||
Accounts payable and other liabilities | (26,618) | |||
Net identifiable assets acquired | 88,857 | |||
Goodwill | 585,448 | |||
Net assets acquired | $ 674,305 |
Business Combination - Summar_3
Business Combination - Summary of Preliminary Fair Values Allocated to Identifiable Intangible Assets and Estimated Useful Lives - Invoice2go (Details) - USD ($) $ in Thousands | Sep. 01, 2021 | Jun. 01, 2021 | Jun. 30, 2022 | Jun. 30, 2021 |
Business Acquisition [Line Items] | ||||
Preliminary fair value | $ 514,219 | $ 423,000 | ||
Customer relationships | ||||
Business Acquisition [Line Items] | ||||
Preliminary fair value | 259,269 | 198,000 | ||
Developed technology | ||||
Business Acquisition [Line Items] | ||||
Preliminary fair value | 206,908 | 191,000 | ||
Trade name | ||||
Business Acquisition [Line Items] | ||||
Preliminary fair value | $ 48,042 | $ 34,000 | ||
Invoice2go, Inc. | ||||
Business Acquisition [Line Items] | ||||
Preliminary fair value | $ 91,219 | |||
Weighted average useful life (in years) | 7 years 8 months 12 days | |||
Invoice2go, Inc. | Customer relationships | ||||
Business Acquisition [Line Items] | ||||
Preliminary fair value | $ 61,269 | |||
Weighted average useful life (in years) | 10 years | |||
Invoice2go, Inc. | Developed technology | ||||
Business Acquisition [Line Items] | ||||
Preliminary fair value | $ 15,908 | |||
Weighted average useful life (in years) | 3 years | |||
Invoice2go, Inc. | Trade name | ||||
Business Acquisition [Line Items] | ||||
Preliminary fair value | $ 14,042 | |||
Weighted average useful life (in years) | 3 years | |||
DivvyPay, Inc. | ||||
Business Acquisition [Line Items] | ||||
Preliminary fair value | $ 423,000 | |||
Weighted average useful life (in years) | 7 years 7 months 6 days | |||
DivvyPay, Inc. | Customer relationships | ||||
Business Acquisition [Line Items] | ||||
Preliminary fair value | $ 198,000 | |||
Weighted average useful life (in years) | 10 years | |||
DivvyPay, Inc. | Developed technology | ||||
Business Acquisition [Line Items] | ||||
Preliminary fair value | $ 191,000 | |||
Weighted average useful life (in years) | 6 years | |||
DivvyPay, Inc. | Trade name | ||||
Business Acquisition [Line Items] | ||||
Preliminary fair value | $ 34,000 | |||
Weighted average useful life (in years) | 3 years |
Business Combination - Narrativ
Business Combination - Narrative (Details) | 1 Months Ended | 3 Months Ended | 12 Months Ended | |||||
Sep. 01, 2021 USD ($) | Jun. 30, 2021 USD ($) | Sep. 30, 2021 USD ($) | Jun. 30, 2022 USD ($) | May 31, 2022 USD ($) | Jun. 30, 2021 USD ($) | Jun. 30, 2020 USD ($) | Jun. 01, 2021 USD ($) | |
Business Acquisition [Line Items] | ||||||||
Goodwill | $ 1,772,043,000 | $ 2,362,893,000 | $ 1,772,043,000 | $ 0 | ||||
Revenue | $ 118,349,000 | 641,959,000 | 238,265,000 | 157,600,000 | ||||
Net loss | $ (74,259,000) | (326,361,000) | (98,720,000) | (31,091,000) | ||||
Invoice2go, Inc. | ||||||||
Business Acquisition [Line Items] | ||||||||
Goodwill | $ 585,448,000 | |||||||
Goodwill expected to be deductible for income tax purposes | 0 | |||||||
Adjustment to goodwill and deferred revenue | $ 8,000,000 | |||||||
Revenue | 32,900,000 | |||||||
Net loss | (32,000,000) | |||||||
Net loss | (327,136,000) | (149,003,000) | ||||||
Invoice2go, Inc. | Nonrecurring Acquisition-Related Costs | ||||||||
Business Acquisition [Line Items] | ||||||||
Net loss | 19,000,000 | 20,600,000 | ||||||
Invoice2go, Inc. | General and Administrative Expense | ||||||||
Business Acquisition [Line Items] | ||||||||
Acquisition-related costs | 3,700,000 | |||||||
DivvyPay, Inc. | ||||||||
Business Acquisition [Line Items] | ||||||||
Goodwill | $ 1,772,043,000 | |||||||
Revenue | 10,300,000 | |||||||
Net loss | 11,400,000 | |||||||
Net loss | (223,470,000) | (206,166,000) | ||||||
Changes in recognized amount of goodwill | $ 2,700,000 | |||||||
Card receivables held for sale | $ 12,730,000 | |||||||
Indemnification asset | $ 20,400,000 | $ 13,400,000 | 20,400,000 | |||||
DivvyPay, Inc. | Nonrecurring Acquisition-Related Costs | ||||||||
Business Acquisition [Line Items] | ||||||||
Net loss | (2,300,000) | $ (75,300,000) | ||||||
DivvyPay, Inc. | General and Administrative Expense | ||||||||
Business Acquisition [Line Items] | ||||||||
Acquisition-related costs | $ 15,500,000 | |||||||
Customer relationships | Invoice2go, Inc. | Discount Rate | ||||||||
Business Acquisition [Line Items] | ||||||||
Fair value measurement input | 0.123 | |||||||
Customer relationships | DivvyPay, Inc. | Discount Rate | ||||||||
Business Acquisition [Line Items] | ||||||||
Fair value measurement input | 0.160 | |||||||
Developed technology | Invoice2go, Inc. | Discount Rate | ||||||||
Business Acquisition [Line Items] | ||||||||
Fair value measurement input | 0.123 | |||||||
Developed technology | Invoice2go, Inc. | Pre-tax Royalty Rate | ||||||||
Business Acquisition [Line Items] | ||||||||
Fair value measurement input | 0.150 | |||||||
Developed technology | DivvyPay, Inc. | Discount Rate | ||||||||
Business Acquisition [Line Items] | ||||||||
Fair value measurement input | 0.160 | |||||||
Developed technology | DivvyPay, Inc. | Pre-tax Royalty Rate | ||||||||
Business Acquisition [Line Items] | ||||||||
Fair value measurement input | 0.150 | |||||||
Trade name | Invoice2go, Inc. | Discount Rate | ||||||||
Business Acquisition [Line Items] | ||||||||
Fair value measurement input | 0.123 | |||||||
Trade name | Invoice2go, Inc. | Pre-tax Royalty Rate | ||||||||
Business Acquisition [Line Items] | ||||||||
Fair value measurement input | 0.025 | |||||||
Trade name | DivvyPay, Inc. | Discount Rate | ||||||||
Business Acquisition [Line Items] | ||||||||
Fair value measurement input | 0.160 | |||||||
Trade name | DivvyPay, Inc. | Pre-tax Royalty Rate | ||||||||
Business Acquisition [Line Items] | ||||||||
Fair value measurement input | 0.010 |
Business Combination - Summar_4
Business Combination - Summary of Unaudited Pro Forma Financial Information (Details) - Invoice2go, Inc. - USD ($) $ in Thousands | 12 Months Ended | |
Jun. 30, 2022 | Jun. 30, 2021 | |
Business Acquisition [Line Items] | ||
Revenue | $ 648,476 | $ 274,842 |
Net loss | $ (327,136) | $ (149,003) |
Business Combination - Summar_5
Business Combination - Summary of Acquisition of Divvy (Details) - USD ($) $ in Thousands | 12 Months Ended | |||
Jun. 01, 2021 | Jun. 30, 2022 | Jun. 30, 2021 | Jun. 30, 2020 | |
Business Acquisition [Line Items] | ||||
Equity consideration | $ 488,494 | $ 1,603,543 | $ 0 | |
DivvyPay, Inc. | ||||
Business Acquisition [Line Items] | ||||
Acquisition date | Jun. 01, 2021 | |||
Percentage of outstanding equity interests acquired | 100% | |||
Acquisition purchase consideration | $ 2,323,597 | |||
Equity consideration | 1,658,818 | |||
Cash | $ 664,779 | |||
Business acquisition, common stock issued (shares) | 10,767,140 | |||
DivvyPay, Inc. | 2016 Equity Incentive Plan | ||||
Business Acquisition [Line Items] | ||||
Fair value of stock options | $ 55,300 |
Business Combination - Summar_6
Business Combination - Summary of Fair Values of Assets Acquired and Liabilities Assumed - Divvy (Details) - USD ($) $ in Thousands | Jun. 30, 2022 | Jun. 30, 2021 | Jun. 01, 2021 | Jun. 30, 2020 |
Business Acquisition [Line Items] | ||||
Goodwill | $ 2,362,893 | $ 1,772,043 | $ 0 | |
DivvyPay, Inc. | ||||
Business Acquisition [Line Items] | ||||
Cash | $ 108,689 | |||
Acquired card receivables | 159,784 | |||
Accounts receivable | 7,435 | |||
Card receivables held for sale | 12,730 | |||
Property and equipment | 15,805 | |||
Intangible assets | 423,000 | |||
Prepaid expenses and other assets | 57,669 | |||
Total identifiable assets acquired | 785,112 | |||
Accounts payable and other liabilities | (153,855) | |||
Outstanding borrowings from credit facilities | (79,703) | |||
Total liabilities assumed | 233,558 | |||
Net identifiable assets acquired | 551,554 | |||
Goodwill | 1,772,043 | |||
Net assets acquired | $ 2,323,597 |
Business Combination - Summar_7
Business Combination - Summary of Fair Values Allocated to Identifiable Intangible Assets and Estimated Useful Lives - Divvy (Details) - USD ($) $ in Thousands | Jun. 01, 2021 | Jun. 30, 2022 | Jun. 30, 2021 |
Business Acquisition [Line Items] | |||
Preliminary fair value | $ 514,219 | $ 423,000 | |
Customer relationships | |||
Business Acquisition [Line Items] | |||
Preliminary fair value | 259,269 | 198,000 | |
Developed technology | |||
Business Acquisition [Line Items] | |||
Preliminary fair value | 206,908 | 191,000 | |
Trade name | |||
Business Acquisition [Line Items] | |||
Preliminary fair value | $ 48,042 | $ 34,000 | |
DivvyPay, Inc. | |||
Business Acquisition [Line Items] | |||
Preliminary fair value | $ 423,000 | ||
Estimated useful lives | 7 years 7 months 6 days | ||
DivvyPay, Inc. | Customer relationships | |||
Business Acquisition [Line Items] | |||
Preliminary fair value | $ 198,000 | ||
Estimated useful lives | 10 years | ||
DivvyPay, Inc. | Developed technology | |||
Business Acquisition [Line Items] | |||
Preliminary fair value | $ 191,000 | ||
Estimated useful lives | 6 years | ||
DivvyPay, Inc. | Trade name | |||
Business Acquisition [Line Items] | |||
Preliminary fair value | $ 34,000 | ||
Estimated useful lives | 3 years |
Business Combination - Summar_8
Business Combination - Summary of Unaudited Proforma Financial Information - Divvy (Details) - DivvyPay, Inc. - USD ($) $ in Thousands | 12 Months Ended | |
Jun. 30, 2021 | Jun. 30, 2020 | |
Business Acquisition [Line Items] | ||
Total revenue | $ 307,618 | $ 192,770 |
Net loss | (223,470) | (206,166) |
Nonrecurring Acquisition-Related Costs | ||
Business Acquisition [Line Items] | ||
Net loss | $ (2,300) | $ (75,300) |
Fair Value Measurement - Summar
Fair Value Measurement - Summary of Fair Value of Assets and Liabilities Measured on Recurring Basis (Details) - Fair Value, Recurring - USD ($) $ in Thousands | Jun. 30, 2022 | Jun. 30, 2021 |
Assets | ||
Cash equivalents: | $ 1,435,689 | $ 381,049 |
Short-term investments: | 1,108,493 | 655,314 |
Funds held for customers: | 1,284,718 | 914,328 |
Beneficial interest derivative on card receivables sold | 398 | 2,252 |
Total assets measured at fair value | 3,997,558 | 2,039,265 |
Municipal bonds | ||
Assets | ||
Funds held for customers: | 6,516 | 42,957 |
Money market funds | ||
Assets | ||
Cash equivalents: | 1,424,259 | 365,550 |
Certificates of deposit | ||
Assets | ||
Short-term investments: | 38,155 | 6,775 |
Funds held for customers: | 397,533 | 326,927 |
Corporate bonds | ||
Assets | ||
Cash equivalents: | 11,430 | 15,499 |
Short-term investments: | 597,204 | 466,459 |
Funds held for customers: | 807,685 | 516,350 |
Corporate bonds | Restricted cash equivalents | ||
Assets | ||
Funds held for customers: | 133,557 | 79,435 |
U.S. treasury securities | ||
Assets | ||
Short-term investments: | 421,728 | 155,674 |
Funds held for customers: | 3,072 | 3,009 |
Asset-backed securities | ||
Assets | ||
Short-term investments: | 51,406 | 26,406 |
Funds held for customers: | 69,912 | 25,085 |
Restricted cash equivalents | Restricted cash equivalents | ||
Assets | ||
Funds held for customers: | 168,260 | 86,322 |
Restricted cash equivalents | Money market funds | ||
Assets | ||
Funds held for customers: | 34,703 | 6,887 |
Level 1 | ||
Assets | ||
Cash equivalents: | 1,424,259 | 365,550 |
Short-term investments: | 421,728 | 155,674 |
Funds held for customers: | 3,072 | 3,009 |
Beneficial interest derivative on card receivables sold | 0 | 0 |
Total assets measured at fair value | 1,883,762 | 531,120 |
Level 1 | Municipal bonds | ||
Assets | ||
Funds held for customers: | 0 | 0 |
Level 1 | Money market funds | ||
Assets | ||
Cash equivalents: | 1,424,259 | 365,550 |
Level 1 | Certificates of deposit | ||
Assets | ||
Short-term investments: | 0 | 0 |
Funds held for customers: | 0 | 0 |
Level 1 | Corporate bonds | ||
Assets | ||
Cash equivalents: | 0 | 0 |
Short-term investments: | 0 | 0 |
Funds held for customers: | 0 | 0 |
Level 1 | Corporate bonds | Restricted cash equivalents | ||
Assets | ||
Funds held for customers: | 0 | 0 |
Level 1 | U.S. treasury securities | ||
Assets | ||
Short-term investments: | 421,728 | 155,674 |
Funds held for customers: | 3,072 | 3,009 |
Level 1 | Asset-backed securities | ||
Assets | ||
Short-term investments: | 0 | 0 |
Funds held for customers: | 0 | 0 |
Level 1 | Restricted cash equivalents | Restricted cash equivalents | ||
Assets | ||
Funds held for customers: | 34,703 | 6,887 |
Level 1 | Restricted cash equivalents | Money market funds | ||
Assets | ||
Funds held for customers: | 34,703 | 6,887 |
Level 2 | ||
Assets | ||
Cash equivalents: | 11,430 | 15,499 |
Short-term investments: | 686,765 | 499,640 |
Funds held for customers: | 1,281,646 | 911,319 |
Beneficial interest derivative on card receivables sold | 0 | 0 |
Total assets measured at fair value | 2,113,398 | 1,505,893 |
Level 2 | Municipal bonds | ||
Assets | ||
Funds held for customers: | 6,516 | 42,957 |
Level 2 | Money market funds | ||
Assets | ||
Cash equivalents: | 0 | 0 |
Level 2 | Certificates of deposit | ||
Assets | ||
Short-term investments: | 38,155 | 6,775 |
Funds held for customers: | 397,533 | 326,927 |
Level 2 | Corporate bonds | ||
Assets | ||
Cash equivalents: | 11,430 | 15,499 |
Short-term investments: | 597,204 | 466,459 |
Funds held for customers: | 807,685 | 516,350 |
Level 2 | Corporate bonds | Restricted cash equivalents | ||
Assets | ||
Funds held for customers: | 133,557 | 79,435 |
Level 2 | U.S. treasury securities | ||
Assets | ||
Short-term investments: | 0 | 0 |
Funds held for customers: | 0 | 0 |
Level 2 | Asset-backed securities | ||
Assets | ||
Short-term investments: | 51,406 | 26,406 |
Funds held for customers: | 69,912 | 25,085 |
Level 2 | Restricted cash equivalents | Restricted cash equivalents | ||
Assets | ||
Funds held for customers: | 133,557 | 79,435 |
Level 2 | Restricted cash equivalents | Money market funds | ||
Assets | ||
Funds held for customers: | 0 | 0 |
Level 3 | ||
Assets | ||
Cash equivalents: | 0 | 0 |
Short-term investments: | 0 | 0 |
Funds held for customers: | 0 | 0 |
Beneficial interest derivative on card receivables sold | 398 | 2,252 |
Total assets measured at fair value | 398 | 2,252 |
Level 3 | Municipal bonds | ||
Assets | ||
Funds held for customers: | 0 | 0 |
Level 3 | Money market funds | ||
Assets | ||
Cash equivalents: | 0 | 0 |
Level 3 | Certificates of deposit | ||
Assets | ||
Short-term investments: | 0 | 0 |
Funds held for customers: | 0 | 0 |
Level 3 | Corporate bonds | ||
Assets | ||
Cash equivalents: | 0 | 0 |
Short-term investments: | 0 | 0 |
Funds held for customers: | 0 | 0 |
Level 3 | Corporate bonds | Restricted cash equivalents | ||
Assets | ||
Funds held for customers: | 0 | |
Level 3 | U.S. treasury securities | ||
Assets | ||
Short-term investments: | 0 | 0 |
Funds held for customers: | 0 | 0 |
Level 3 | Asset-backed securities | ||
Assets | ||
Short-term investments: | 0 | 0 |
Funds held for customers: | 0 | 0 |
Level 3 | Restricted cash equivalents | ||
Assets | ||
Funds held for customers: | 0 | 0 |
Level 3 | Restricted cash equivalents | Money market funds | ||
Assets | ||
Funds held for customers: | $ 0 | $ 0 |
Fair Value Measurement - Additi
Fair Value Measurement - Additional Information (Details) - USD ($) $ in Thousands | 12 Months Ended | ||
Jun. 30, 2022 | Sep. 24, 2021 | Nov. 30, 2020 | |
Fair Value Assets And Liabilities Measured On Recurring And Nonrecurring Basis [Line Items] | |||
Transfers of financial instruments between Level 1, Level 2, and Level 3 | $ 0 | ||
2027 Senior Notes | |||
Fair Value Assets And Liabilities Measured On Recurring And Nonrecurring Basis [Line Items] | |||
Debt instrument, aggregate principal amount | 575,000 | $ 575,000 | |
Debt Instrument, Fair Value Estimated | 446,400 | ||
2025 Senior Notes | |||
Fair Value Assets And Liabilities Measured On Recurring And Nonrecurring Basis [Line Items] | |||
Debt instrument, aggregate principal amount | $ 1,150,000 | $ 1,150,000 | |
Debt instrument, interest rate | 0% | 0% | |
Debt Instrument, Fair Value Estimated | $ 1,190,000 |
Short-Term Investments - Schedu
Short-Term Investments - Schedule of Short-Term Investments (Details) - USD ($) $ in Thousands | Jun. 30, 2022 | Jun. 30, 2021 |
Schedule Of Available For Sale Securities [Line Items] | ||
Amortized cost | $ 1,116,408 | $ 655,232 |
Gross unrealized gains | 4 | 143 |
Gross unrealized losses | (7,919) | (61) |
Fair value | 1,108,493 | 655,314 |
Corporate bonds | ||
Schedule Of Available For Sale Securities [Line Items] | ||
Amortized cost | 601,987 | 466,403 |
Gross unrealized gains | 3 | 111 |
Gross unrealized losses | (4,786) | (55) |
Fair value | 597,204 | 466,459 |
U.S. treasury securities | ||
Schedule Of Available For Sale Securities [Line Items] | ||
Amortized cost | 424,644 | 155,663 |
Gross unrealized gains | 1 | 16 |
Gross unrealized losses | (2,917) | (5) |
Fair value | 421,728 | 155,674 |
Asset-backed securities | ||
Schedule Of Available For Sale Securities [Line Items] | ||
Amortized cost | 51,622 | 26,391 |
Gross unrealized gains | 0 | 16 |
Gross unrealized losses | (216) | (1) |
Fair value | 51,406 | 26,406 |
Certificates of deposit | ||
Schedule Of Available For Sale Securities [Line Items] | ||
Amortized cost | 38,155 | 6,775 |
Gross unrealized gains | 0 | 0 |
Gross unrealized losses | 0 | 0 |
Fair value | $ 38,155 | $ 6,775 |
Short-Term Investments - Additi
Short-Term Investments - Additional Information (Details) | 12 Months Ended | ||
Jun. 30, 2022 USD ($) InvestmentPosition | Jun. 30, 2021 USD ($) | Jun. 30, 2020 USD ($) | |
Schedule Of Available For Sale Securities [Line Items] | |||
Accrued interest receivable | $ 3,000,000 | $ 2,500,000 | |
Short-term investments mature within one year | $ 961,800,000 | $ 495,800,000 | |
Percentage of short-term investments maturing within one year | 87% | 76% | |
Short-term investments mature thereafter | $ 146,700,000 | $ 159,500,000 | |
Percentage of short-term investments maturing thereafter | 13% | 24% | |
Number of investments in unrealized loss positions | InvestmentPosition | 270 | ||
Short-term investments realized gains or losses | $ 0 | $ 0 | $ 0 |
Allowance for credit losses on investments that were in an unrealized loss position | $ 0 | $ 0 | |
Minimum | |||
Schedule Of Available For Sale Securities [Line Items] | |||
Number of investment positions | InvestmentPosition | 360 |
Short-Term Investments - Sche_2
Short-Term Investments - Schedule of Gross Unrealized Losses and Fair Value (Details) - USD ($) $ in Thousands | Jun. 30, 2022 | Jun. 30, 2021 |
Schedule Of Available For Sale Securities [Line Items] | ||
Fair value | $ 855,892 | $ 246,040 |
Unrealized losses | (7,919) | (61) |
Corporate bonds | ||
Schedule Of Available For Sale Securities [Line Items] | ||
Fair value | 392,699 | 152,485 |
Unrealized losses | (4,786) | (55) |
U.S. treasury securities | ||
Schedule Of Available For Sale Securities [Line Items] | ||
Fair value | 411,787 | 85,466 |
Unrealized losses | (2,917) | (5) |
Asset-backed securities | ||
Schedule Of Available For Sale Securities [Line Items] | ||
Fair value | 51,406 | 8,089 |
Unrealized losses | $ (216) | $ (1) |
Funds Held for Customers - Summ
Funds Held for Customers - Summary of Funds Held for Customers (Details) - USD ($) $ in Thousands | Jun. 30, 2022 | Jun. 30, 2021 |
Funds Held For Customers [Line Items] | ||
Total funds held for customers | $ 3,145,662 | $ 2,209,248 |
Total funds held for customers, net of income earned by the Company | 3,142,660 | 2,208,598 |
Restricted cash | ||
Funds Held For Customers [Line Items] | ||
Total funds held for customers | 1,685,937 | 1,195,904 |
Restricted cash equivalents | ||
Funds Held For Customers [Line Items] | ||
Total funds held for customers | 168,260 | 86,322 |
Funds receivable | ||
Funds Held For Customers [Line Items] | ||
Total funds held for customers | 6,747 | 12,694 |
Corporate bonds | ||
Funds Held For Customers [Line Items] | ||
Total funds held for customers | 807,685 | 516,350 |
Asset backed securities | ||
Funds Held For Customers [Line Items] | ||
Total funds held for customers | 69,912 | 25,085 |
U.S. treasury securities | ||
Funds Held For Customers [Line Items] | ||
Total funds held for customers | 3,072 | 3,009 |
Certificates of deposit | ||
Funds Held For Customers [Line Items] | ||
Total funds held for customers | 397,533 | 326,927 |
Municipal bonds | ||
Funds Held For Customers [Line Items] | ||
Total funds held for customers | 6,516 | 42,957 |
Other Current Assets | ||
Funds Held For Customers [Line Items] | ||
Less - income earned by the Company included in other current assets | $ (3,002) | $ (650) |
Funds Held for Customers - Su_2
Funds Held for Customers - Summary of Fair Value of Funds Held For Customers (Details) - USD ($) $ in Thousands | Jun. 30, 2022 | Jun. 30, 2021 |
Funds Held For Customers [Line Items] | ||
Amortized cost | $ 1,286,844 | $ 914,334 |
Gross unrealized gains | 1 | 33 |
Gross unrealized losses | (2,127) | (39) |
Fair value | 1,284,718 | 914,328 |
Corporate bonds | ||
Funds Held For Customers [Line Items] | ||
Amortized cost | 809,113 | 516,364 |
Gross unrealized gains | 1 | 24 |
Gross unrealized losses | (1,429) | (38) |
Fair value | 807,685 | 516,350 |
Asset backed securities | ||
Funds Held For Customers [Line Items] | ||
Amortized cost | 70,574 | 25,081 |
Gross unrealized gains | 0 | 4 |
Gross unrealized losses | (662) | 0 |
Fair value | 69,912 | 25,085 |
U.S. treasury securities | ||
Funds Held For Customers [Line Items] | ||
Amortized cost | 3,082 | 3,010 |
Gross unrealized gains | 0 | 0 |
Gross unrealized losses | (10) | (1) |
Fair value | 3,072 | 3,009 |
Certificates of deposit | ||
Funds Held For Customers [Line Items] | ||
Amortized cost | 397,533 | 326,927 |
Gross unrealized gains | 0 | 0 |
Gross unrealized losses | 0 | 0 |
Fair value | 397,533 | 326,927 |
Municipal bonds | ||
Funds Held For Customers [Line Items] | ||
Amortized cost | 6,542 | 42,952 |
Gross unrealized gains | 0 | 5 |
Gross unrealized losses | (26) | 0 |
Fair value | $ 6,516 | $ 42,957 |
Funds Held for Customers - Addi
Funds Held for Customers - Additional Information (Details) | Jun. 30, 2022 USD ($) InvestmentPosition | Jun. 30, 2021 USD ($) | Jun. 30, 2020 USD ($) |
Funds Held For Customers [Line Items] | |||
Amortized Cost | $ 1,286,844,000 | $ 914,334,000 | |
Fair value | $ 1,284,718,000 | $ 914,328,000 | |
Debt securities percentage mature within one year | 95% | 97% | |
Debt securities mature within one year | $ 1,200,000,000 | $ 882,400,000 | |
Debt securities percentage mature thereafter | 5% | 3% | |
Debt securities mature thereafter | $ 69,900,000 | $ 31,900,000 | |
Number of unrealized loss investment positions | InvestmentPosition | 180 | ||
Short-term investments realized gains or losses | $ 0 | 0 | $ 0 |
Allowance for credit losses on investments that were in an unrealized loss position | $ 0 | 0 | |
Minimum | |||
Funds Held For Customers [Line Items] | |||
Number of investment positions | InvestmentPosition | 400 | ||
Accrued Interest Receivable | |||
Funds Held For Customers [Line Items] | |||
Amortized Cost | $ 3,000,000 | 1,900,000 | |
Fair value | $ 3,000,000 | $ 1,900,000 |
Funds Held for Customers - Su_3
Funds Held for Customers - Summary of Gross Unrealized Losses And Fair Values (Details) - USD ($) $ in Thousands | Jun. 30, 2022 | Jun. 30, 2021 |
Funds Held For Customers [Line Items] | ||
Fair value | $ 375,574 | $ 81,860 |
Unrealized losses | (2,127) | (39) |
Municipal bonds | ||
Funds Held For Customers [Line Items] | ||
Fair value | 6,516 | |
Unrealized losses | (26) | |
Corporate bonds | ||
Funds Held For Customers [Line Items] | ||
Fair value | 301,625 | 79,359 |
Unrealized losses | (1,429) | (38) |
Asset-backed securities | ||
Funds Held For Customers [Line Items] | ||
Fair value | 64,361 | |
Unrealized losses | (662) | |
U.S. treasury securities | ||
Funds Held For Customers [Line Items] | ||
Fair value | 3,072 | 2,501 |
Unrealized losses | $ (10) | $ (1) |
Acquired Card Receivables - Sch
Acquired Card Receivables - Schedule of Acquired Card Receivables (Details) - USD ($) $ in Thousands | Jun. 30, 2022 | Jun. 30, 2021 | Jun. 30, 2020 |
Acquired Card Receivables [Abstract] | |||
Gross amount of acquired card receivables | $ 261,806 | $ 148,833 | |
Less: allowance for credit losses | (5,414) | (1,740) | $ 0 |
Total | $ 256,392 | $ 147,093 |
Acquired Card Receivables - Add
Acquired Card Receivables - Additional Information (Details) - USD ($) $ in Millions | 12 Months Ended | |
Jun. 30, 2022 | Jun. 30, 2021 | |
Acquired Card Receivables [Line Items] | ||
Acquired card receivable as collateral | $ 115.8 | |
Card transactions disputed, loss | 4.3 | $ 0 |
Authorized transactions but not cleared | $ 55.2 | |
Grace period to payment on acquired card receivables | 5 days | |
Acquired card receivables, minimum number of past due days to accrue fees | 90 days | |
Card receivables acquired during the period | $ 6,600 | 370.6 |
Prepaid Expenses and Other Current Assets | ||
Acquired Card Receivables [Line Items] | ||
Card receivables held for sale, amount | $ 8.7 | $ 2.6 |
Acquired Card Receivables - Sum
Acquired Card Receivables - Summary of Acquired Card Receivables by Class (Details) - USD ($) $ in Thousands | Jun. 30, 2022 | Jun. 30, 2021 |
Acquired Card Receivables [Line Items] | ||
Total | $ 261,806 | $ 148,833 |
Current and less than 30 days past due | ||
Acquired Card Receivables [Line Items] | ||
Total | 257,618 | 145,993 |
30 ~ 59 days past due | ||
Acquired Card Receivables [Line Items] | ||
Total | 1,677 | 1,188 |
60 ~ 89 days past due | ||
Acquired Card Receivables [Line Items] | ||
Total | 1,199 | 580 |
90 ~ 119 days past due | ||
Acquired Card Receivables [Line Items] | ||
Total | 1,186 | 713 |
Over 119 days past due | ||
Acquired Card Receivables [Line Items] | ||
Total | $ 126 | $ 359 |
Acquired Card Receivables - S_2
Acquired Card Receivables - Summary of Change in Allowance for Credit Losses (Details) - USD ($) $ in Thousands | 12 Months Ended | |
Jun. 30, 2022 | Jun. 30, 2021 | |
Acquired Card Receivables [Abstract] | ||
Balance, beginning | $ 1,740 | $ 0 |
Initial allowance for credit losses on purchased card receivables with credit deterioration | 313 | 2,082 |
Provision for expected credit losses | 19,566 | 462 |
Charge-off amounts | (18,005) | (828) |
Recoveries collected | 1,800 | 24 |
Balance, ending | $ 5,414 | $ 1,740 |
Acquired Card Receivables - S_3
Acquired Card Receivables - Summary of Acquired Card Receivables Considered PCD Assets (Details) $ in Thousands | Jun. 01, 2021 USD ($) |
Acquired Card Receivables [Abstract] | |
Purchase price | $ 3,855 |
Allowance for credit losses | 2,082 |
Less: discount attributable to other factors | (79) |
Par value | $ 5,858 |
Acquired Card Receivables - S_4
Acquired Card Receivables - Summary of Fair Value of Consideration Received From Transfer of Card Receivables (Details) - USD ($) $ in Thousands | 12 Months Ended | |
Jun. 30, 2022 | Jun. 30, 2021 | |
Credit Loss [Abstract] | ||
Cash | $ 1,483,481 | $ 59,105 |
Beneficial interest derivative | 4,690 | 187 |
Total | $ 1,488,171 | $ 59,292 |
Acquired Card Receivables - S_5
Acquired Card Receivables - Summary of Transferred Card Receivables by Class (Details) - USD ($) $ in Thousands | Jun. 30, 2022 | Jun. 30, 2021 |
Acquired Card Receivables [Line Items] | ||
Total | $ 57,281 | $ 25,936 |
Current and less than 30 days past due | ||
Acquired Card Receivables [Line Items] | ||
Total | 56,162 | 25,098 |
30 ~ 59 days past due | ||
Acquired Card Receivables [Line Items] | ||
Total | 292 | 240 |
60 ~ 89 days past due | ||
Acquired Card Receivables [Line Items] | ||
Total | 375 | 165 |
90 ~ 119 days past due | ||
Acquired Card Receivables [Line Items] | ||
Total | 422 | 301 |
Over 119 days past due | ||
Acquired Card Receivables [Line Items] | ||
Total | $ 30 | $ 132 |
Property and Equipment - Schedu
Property and Equipment - Schedule of Property and Equipment (Details) - USD ($) $ in Thousands | Jun. 30, 2022 | Jun. 30, 2021 |
Property Plant And Equipment [Line Items] | ||
Property and equipment, gross | $ 87,272 | $ 67,834 |
Less: accumulated depreciation and amortization | (30,287) | (18,932) |
Property and equipment, net | 56,985 | 48,902 |
Software and equipment | ||
Property Plant And Equipment [Line Items] | ||
Property and equipment, gross | 20,102 | 17,508 |
Capitalized software | ||
Property Plant And Equipment [Line Items] | ||
Property and equipment, gross | 21,457 | 6,794 |
Furniture and fixtures | ||
Property Plant And Equipment [Line Items] | ||
Property and equipment, gross | 10,608 | 8,926 |
Leasehold improvements | ||
Property Plant And Equipment [Line Items] | ||
Property and equipment, gross | $ 35,105 | $ 34,606 |
Property and Equipment - Additi
Property and Equipment - Additional Information (Details) - USD ($) $ in Thousands | 12 Months Ended | ||
Jun. 30, 2022 | Jun. 30, 2021 | Jun. 30, 2020 | |
Property, Plant and Equipment [Abstract] | |||
Depreciation | $ 11,500 | $ 5,400 | $ 4,300 |
Unamortized capitalized software cost | $ 15,700 | $ 3,700 |
Goodwill and Intangible Asset_2
Goodwill and Intangible Assets - Schedule of Goodwill (Details) - USD ($) $ in Thousands | 12 Months Ended | ||
Jun. 30, 2022 | Jun. 30, 2021 | Oct. 01, 2021 | |
Goodwill [Roll Forward] | |||
Balance, beginning | $ 1,772,043 | $ 0 | |
Addition related to acquisition during the period | 585,448 | 1,772,043 | |
Measurement period adjustments | (2,876) | 0 | |
Balance, ending | 2,362,893 | 1,772,043 | |
Finite-Lived Intangible Assets [Line Items] | |||
Goodwill | 2,362,893 | 1,772,043 | |
Adoption of ASU 2021-08 | |||
Goodwill [Roll Forward] | |||
Balance, beginning | 0 | ||
Balance, ending | 8,278 | 0 | |
Finite-Lived Intangible Assets [Line Items] | |||
Goodwill | $ 8,278 | $ 0 | $ 2,363,090 |
Goodwill and Intangible Asset_3
Goodwill and Intangible Assets - Schedule of Intangible Assets (Details) - USD ($) $ in Thousands | 12 Months Ended | |
Jun. 30, 2022 | Jun. 30, 2021 | |
Finite-Lived Intangible Assets [Line Items] | ||
Gross Carrying Amount | $ 514,219 | $ 423,000 |
Accumulated Amortization | (81,636) | (5,659) |
Net Carrying Amount | $ 432,583 | $ 417,341 |
Weighted average remaining useful life (In years) | 6 years 9 months 18 days | 7 years 6 months |
Customer relationships | ||
Finite-Lived Intangible Assets [Line Items] | ||
Gross Carrying Amount | $ 259,269 | $ 198,000 |
Accumulated Amortization | (26,556) | (2,062) |
Net Carrying Amount | $ 232,713 | $ 195,938 |
Weighted average remaining useful life (In years) | 9 years | 9 years 10 months 24 days |
Developed technology | ||
Finite-Lived Intangible Assets [Line Items] | ||
Gross Carrying Amount | $ 206,908 | $ 191,000 |
Accumulated Amortization | (38,909) | (2,653) |
Net Carrying Amount | $ 167,999 | $ 188,347 |
Weighted average remaining useful life (In years) | 4 years 8 months 12 days | 5 years 10 months 24 days |
Trade name | ||
Finite-Lived Intangible Assets [Line Items] | ||
Gross Carrying Amount | $ 48,042 | $ 34,000 |
Accumulated Amortization | (16,171) | (944) |
Net Carrying Amount | $ 31,871 | $ 33,056 |
Weighted average remaining useful life (In years) | 2 years | 2 years 10 months 24 days |
Goodwill and Intangible Asset_4
Goodwill and Intangible Assets - Schedule of Amortization of Finite-Lived Intangible Assets (Details) - USD ($) $ in Thousands | 12 Months Ended | ||
Jun. 30, 2022 | Jun. 30, 2021 | Jun. 30, 2020 | |
Finite-Lived Intangible Assets [Line Items] | |||
Amortization of intangible assets | $ 75,977 | $ 5,659 | $ 0 |
Cost of revenue | |||
Finite-Lived Intangible Assets [Line Items] | |||
Amortization of intangible assets | 36,256 | 2,653 | |
Sales and marketing | |||
Finite-Lived Intangible Assets [Line Items] | |||
Amortization of intangible assets | $ 39,721 | $ 3,006 |
Goodwill and Intangible Asset_5
Goodwill and Intangible Assets - Schedule of Future Amortization of Finite-Lived Intangible Assets (Details) - USD ($) $ in Thousands | Jun. 30, 2022 | Jun. 30, 2021 |
Goodwill and Intangible Assets Disclosure [Abstract] | ||
2023 | $ 79,075 | |
2024 | 78,147 | |
2025 | 59,425 | |
2026 | 57,763 | |
2027 | 55,094 | |
Thereafter | 103,079 | |
Net Carrying Amount | $ 432,583 | $ 417,341 |
Debt and Bank Borrowings - Sche
Debt and Bank Borrowings - Schedule of Debt (Details) - USD ($) $ in Thousands | Jun. 30, 2022 | Jun. 30, 2021 |
Debt Instrument [Line Items] | ||
Long-term debt, gross | $ 1,800,000 | $ 1,227,500 |
Less: unamortized debt discount and issuance costs | (26,918) | (238,119) |
Net carrying amount | 1,773,082 | 989,381 |
2021 Revolving Credit Agreement and the 2019 Credit Agreement | ||
Debt Instrument [Line Items] | ||
Long-term debt, gross | 75,000 | 77,500 |
Borrowings from credit facilities (including unamortized debt premium) | 75,097 | 0 |
Non-current liabilities: | 0 | 79,534 |
2019 Credit Agreement | ||
Debt Instrument [Line Items] | ||
Long-term debt, gross | 0 | |
2027 Senior Notes | ||
Debt Instrument [Line Items] | ||
Long-term debt, gross | 575,000 | 0 |
Less: unamortized debt discount and issuance costs | (12,873) | |
Net carrying amount | 562,127 | |
Non-current liabilities: | 562,127 | 0 |
2025 Senior Notes | ||
Debt Instrument [Line Items] | ||
Long-term debt, gross | 1,150,000 | 1,150,000 |
Less: unamortized debt discount and issuance costs | (14,142) | (240,153) |
Net carrying amount | 1,135,858 | 909,847 |
Non-current liabilities: | 1,135,858 | 909,847 |
2025 and 2027 Senior Notes Member | ||
Debt Instrument [Line Items] | ||
Long-term debt, gross | 1,150,000 | |
2021 Revolving Credit Agreement | Class A Facility | ||
Debt Instrument [Line Items] | ||
Long-term debt, gross | 75,000 | 37,500 |
2021 Revolving Credit Agreement | Class B Facility | ||
Debt Instrument [Line Items] | ||
Long-term debt, gross | $ 0 | $ 10,000 |
Debt and Bank Borrowings - Addi
Debt and Bank Borrowings - Additional Information (Details) $ / shares in Units, shares in Millions | 6 Months Ended | 12 Months Ended | ||||
Sep. 24, 2021 USD ($) $ / shares shares | Nov. 30, 2020 USD ($) TradingDay d $ / shares shares | Dec. 31, 2021 USD ($) d Tradingday $ / shares | Jun. 30, 2022 USD ($) | Jun. 30, 2021 USD ($) | Jun. 30, 2020 USD ($) | |
Debt Instrument [Line Items] | ||||||
Proceeds from issuance of convertible senior notes, net of discounts and issuance costs | $ 560,075,000 | $ 1,129,379,000 | $ 0 | |||
Sinking fund | $ 0 | |||||
Number of business day period for conversion of Notes | d | 5 | |||||
2027 Senior Notes | ||||||
Debt Instrument [Line Items] | ||||||
Debt instrument, aggregate principal amount | $ 575,000,000 | 575,000,000 | ||||
Debt instrument, maturity date | Apr. 01, 2027 | |||||
Proceeds from issuance of convertible senior notes, net of discounts and issuance costs | $ 560,100,000 | |||||
Debt issuance costs | $ 14,900,000 | |||||
Debt initial conversion rate | 0.0024108 | |||||
Debt instrument denomination of principal amount for conversion into common stock | $ 1,000 | |||||
Initial conversion price per share | $ / shares | $ 414.80 | |||||
Notes issued upon conversion (shares) | shares | 1.4 | |||||
Debt convertible date | Jan. 01, 2027 | |||||
Threshold percentage of stock price trigger in measurement period | 98% | |||||
Debt conversion rate in make whole | 1.2656 | |||||
Debt conversion price per share in make whole | $ / shares | $ 272 | |||||
2027 Senior Notes | Debt Instrument, Redemption, Period Two | ||||||
Debt Instrument [Line Items] | ||||||
Debt instrument threshold percentage of conversion price | 130% | |||||
Number of trading days for conversion of Notes | Tradingday | 20 | |||||
Number of consecutive trading days for conversion of Notes | Tradingday | 30 | |||||
Redemption price percentage of principal amount redeemed | 100% | |||||
2025 Senior Notes | ||||||
Debt Instrument [Line Items] | ||||||
Debt instrument, aggregate principal amount | $ 1,150,000,000 | $ 1,150,000,000 | ||||
Debt instrument, interest rate | 0% | 0% | ||||
Debt instrument, maturity date | Dec. 01, 2025 | |||||
Proceeds from issuance of convertible senior notes, net of discounts and issuance costs | $ 1,130,000,000 | |||||
Debt issuance costs | $ 20,600,000 | |||||
Debt initial conversion rate | 0.0062159 | |||||
Debt instrument denomination of principal amount for conversion into common stock | $ 1,000 | |||||
Initial conversion price per share | $ / shares | $ 160.88 | |||||
Notes issued upon conversion (shares) | shares | 7.1 | |||||
Debt instrument threshold percentage of conversion price | 130% | |||||
Number of trading days for conversion of Notes | TradingDay | 20 | |||||
Number of consecutive trading days for conversion of Notes | TradingDay | 30 | |||||
Debt convertible date | Sep. 01, 2025 | |||||
Number of business day period for conversion of Notes | d | 5 | |||||
Number of consecutive trading day period in consideration for conversion of Notes | d | 5 | |||||
Threshold percentage of stock price trigger in measurement period | 98% | |||||
Debt conversion rate in make whole | 2.9525 | |||||
Debt conversion price per share in make whole | $ / shares | $ 109.07 | |||||
Debt default threshold principal amount percentage | 100% | |||||
2025 Senior Notes | Redeem On or After December 5, 2023 | ||||||
Debt Instrument [Line Items] | ||||||
Redemption period, start date | Dec. 05, 2023 | |||||
Debt instrument threshold percentage of conversion price | 130% | |||||
Number of trading days for conversion of Notes | TradingDay | 20 | |||||
Number of consecutive trading days for conversion of Notes | TradingDay | 30 | |||||
Redemption price percentage of principal amount redeemed | 100% | |||||
Sinking fund | $ 0 |
Debt and Bank Borrowings - Sc_2
Debt and Bank Borrowings - Schedule of Notes (Details) - USD ($) $ in Thousands | Jun. 30, 2022 | Jun. 30, 2021 |
Debt Instrument [Line Items] | ||
Principal | $ 1,800,000 | $ 1,227,500 |
Less: unamortized debt discount and issuance costs | (26,918) | (238,119) |
Net carrying amount | 1,773,082 | 989,381 |
2025 Senior Notes | ||
Debt Instrument [Line Items] | ||
Principal | 1,150,000 | 1,150,000 |
Less: unamortized debt discount and issuance costs | (14,142) | (240,153) |
Net carrying amount | 1,135,858 | 909,847 |
Amount allocated to equity component, net of issuance costs and tax | 245,066 | |
2027 Senior Notes | ||
Debt Instrument [Line Items] | ||
Principal | 575,000 | $ 0 |
Less: unamortized debt discount and issuance costs | (12,873) | |
Net carrying amount | $ 562,127 |
Debt and Bank Borrowings - Cred
Debt and Bank Borrowings - Credit Agreements - Additional Information (Details) - USD ($) | 1 Months Ended | 12 Months Ended | |||
Mar. 31, 2021 | Jun. 30, 2022 | Jun. 30, 2021 | Jun. 30, 2020 | Mar. 31, 2022 | |
Debt Instrument [Line Items] | |||||
Amortization of debt discount (accretion of debt premium) and issuance costs | $ 4,777,000 | $ 27,531,000 | $ 0 | ||
Weighted-average remaining life | 3 years 10 months 24 days | ||||
Principal | $ 1,800,000,000 | $ 1,227,500,000 | |||
2025 Senior Notes | |||||
Debt Instrument [Line Items] | |||||
Effective interest rate | 0.36% | 5.37% | |||
Principal | $ 1,150,000,000 | $ 1,150,000,000 | |||
Capped call, initial strike price (dollars per share) | $ 160.88 | ||||
Capped call, initial cap price (dollars per share) | $ 218.14 | ||||
2027 Senior Notes | |||||
Debt Instrument [Line Items] | |||||
Effective interest rate | 0.48% | ||||
Principal | $ 575,000,000 | 0 | |||
Capped call, initial strike price (dollars per share) | $ 414.80 | ||||
Capped call, initial cap price (dollars per share) | $ 544 | ||||
2025 and 2027 Senior Notes Member | |||||
Debt Instrument [Line Items] | |||||
Amortization of debt discount (accretion of debt premium) and issuance costs | $ 6,100,000 | 27,700,000 | |||
Debt instrument, aggregate principal amount if converted | 1,725,000,000 | ||||
Principal | 1,150,000,000 | ||||
Cost of capped call | $ 125,800,000 | ||||
Cap calls cover subject to anti-dilution adjustments to common stock (shares) | 8,500,000 | ||||
2021 Revolving Credit Agreement | |||||
Debt Instrument [Line Items] | |||||
Line of credit facility maturity month and year | 2023-06 | ||||
Line of credit facility, maximum borrowing capacity | $ 95,000,000 | ||||
Debt instrument floor rate | 0.25% | ||||
2021 Revolving Credit Agreement | Class A Facility | |||||
Debt Instrument [Line Items] | |||||
Line of credit facility, maximum borrowing capacity | 75,000,000 | ||||
Line of credit facility, interest rate during period | 4.35% | ||||
2021 Revolving Credit Agreement | Class B Facility | |||||
Debt Instrument [Line Items] | |||||
Line of credit facility, maximum borrowing capacity | $ 20,000,000 | ||||
2021 Revolving Credit Agreement | LIBOR | Class A Facility | |||||
Debt Instrument [Line Items] | |||||
Debt instrument basis spread on variable rate | 2.75% | ||||
Amended 2019 Credit Agreement | |||||
Debt Instrument [Line Items] | |||||
Principal | $ 30,000,000 | ||||
Line of credit facility, maximum borrowing capacity | $ 60,000,000 | ||||
2019 Credit Agreement | |||||
Debt Instrument [Line Items] | |||||
Principal | $ 0 |
Debt and Bank Borrowings (Phant
Debt and Bank Borrowings (Phantom) (Details) | Nov. 30, 2020 |
2025 Senior Notes | |
Debt Instrument [Line Items] | |
Debt initial conversion rate | 0.0062159 |
Stockholders' Equity - Equity I
Stockholders' Equity - Equity Incentive Plans (Details) - shares | 12 Months Ended | |
Nov. 26, 2019 | Jun. 30, 2022 | |
2016 Equity Incentive Plan | ||
Share Based Compensation Arrangement By Share Based Payment Award [Line Items] | ||
Equity-based awards granted (shares) | 0 | |
2019 Equity Incentive Plan | ||
Share Based Compensation Arrangement By Share Based Payment Award [Line Items] | ||
Number of shares of common stock reserved for issuance | 7,100,000 | |
Potential percentage of additional number of shares reserved for issuance each year | 5% | |
Equity Incentive Plans | ||
Share Based Compensation Arrangement By Share Based Payment Award [Line Items] | ||
Number of common shares available for issuance | 12,332,663 |
Stockholders' Equity - Equity A
Stockholders' Equity - Equity Awards Assumed in Acquisitions (Details) | 12 Months Ended |
Jun. 30, 2022 shares | |
Divvy and Invoice2go Acquired Plans | |
Share Based Compensation Arrangement By Share Based Payment Award [Line Items] | |
Equity-based awards granted (shares) | 0 |
Stockholders' Equity - Stock Op
Stockholders' Equity - Stock Options (Details) - USD ($) $ / shares in Units, $ in Thousands | 12 Months Ended | ||
Jun. 30, 2022 | Jun. 30, 2021 | Jun. 30, 2020 | |
Share Based Compensation Arrangement By Share Based Payment Award [Line Items] | |||
Vest over requisite service period | 4 years | ||
Option expiration period | 10 years | ||
Unvested shares of options granted with double trigger vesting acceleration percentage in event of sale | 50% | ||
Weighted-average grant date fair value of options granted (dollars per share) | $ 207.07 | $ 132.04 | $ 11.04 |
Total intrinsic value of options exercised | $ 640,000 | $ 387,100 | $ 191,300 |
Unamortized stock-based compensation expense | $ 61,000 | ||
Weighted-average period over which unrecognized compensation cost is expected to be recognized | 1 year 10 months 20 days | ||
Proceeds from exercise of stock options | $ 34,024 | $ 28,209 | $ 12,232 |
Incentive Stock | |||
Share Based Compensation Arrangement By Share Based Payment Award [Line Items] | |||
Exercise price of incentive stock options granted under the Option Plans | 100% | ||
Nonstatutory Stock Options | |||
Share Based Compensation Arrangement By Share Based Payment Award [Line Items] | |||
Exercise price of incentive stock options granted under the Option Plans | 85% |
Stockholders' Equity - Summary
Stockholders' Equity - Summary of Stock Option Activities (Details) - USD ($) $ / shares in Units, $ in Thousands | 12 Months Ended | |||
Sep. 01, 2021 | Jun. 30, 2022 | Jun. 30, 2021 | Jun. 30, 2020 | |
Number of Shares Outstanding | ||||
Beginning balance (in shares) | 6,552,000 | |||
Options granted (in shares) | 280,000 | |||
Options exercised (in shares) | (2,747,000) | |||
Options forfeited (in shares) | (227,000) | |||
Ending balance (in shares) | 3,858,000 | 6,552,000 | ||
Vested and expected to vest at June 30, 2022 (in shares) | 3,624,000 | |||
Vested and excerciseable at June 30, 2022 (in shares) | 2,189,000 | |||
Weighted average average exercise price per share | ||||
Beginning balance (dollars per share) | $ 13.31 | |||
Options granted (dollars per share) | 83.40 | |||
Options exercised (dollars per share) | 12.39 | |||
Options forfeited (dollars per share) | 26.66 | |||
Ending balance (dollars per share) | 18.28 | $ 13.31 | ||
Vested and expected to vest at June 30, 2022 (dollars per share) | 18.22 | |||
Vested and exercisable at June 30, 2022 (dollars per share) | $ 12.59 | |||
Weighted average remaining contractual term (in years) | ||||
Remaining contractual term (in years) | 6 years 11 months 19 days | 7 years 10 months 13 days | ||
Vested and expected to vest at June 30, 2022 (in years) | 6 years 11 months 8 days | |||
Vested and exercisable at June 30, 2022 (in years) | 6 years 7 months 17 days | |||
Aggregate intrinsic value | $ 361,053 | $ 1,113,025 | ||
Vested and expected to vest at June 30, 2022 | 339,548 | |||
Vested and exercisable at June 30, 2022 | $ 213,987 | |||
Weighted average exercise price (dollars per share) | $ 18.28 | $ 13.31 | ||
Weighted-average grant date fair value of options granted (dollars per share) | $ 207.07 | $ 132.04 | $ 11.04 | |
Invoice2go, Inc. | ||||
Weighted average average exercise price per share | ||||
Ending balance (dollars per share) | $ 25.60 | |||
Weighted average remaining contractual term (in years) | ||||
Weighted average exercise price (dollars per share) | $ 25.60 | |||
Shares of outstanding stock options that were assumed upon the acquisition | 184,000 | |||
Weighted-average grant date fair value of options granted (dollars per share) | $ 248.43 |
Stockholders' Equity - Summar_2
Stockholders' Equity - Summary of Fair Value of Options Granted Black-Scholes Option-Pricing Model Assumptions (Details) | 12 Months Ended | ||
Jun. 30, 2022 | Jun. 30, 2021 | Jun. 30, 2020 | |
Share Based Compensation Arrangement By Share Based Payment Award [Line Items] | |||
Expected term (in years) | 6 years 3 months | ||
Expected volatility, minimum | 30% | 35% | 50% |
Expected volatility, maximum | 81.20% | 85.10% | 100.60% |
Risk-free interest rate, minimum | 0.20% | 0.38% | 0.35% |
Risk-free interest rate, maximum | 2.88% | 1.03% | 1.88% |
Expected dividend yield | 0% | 0% | 0% |
Minimum | |||
Share Based Compensation Arrangement By Share Based Payment Award [Line Items] | |||
Expected term (in years) | 2 years | 4 years | |
Maximum | |||
Share Based Compensation Arrangement By Share Based Payment Award [Line Items] | |||
Expected term (in years) | 7 years 18 days | 6 years 3 months |
Stockholders' Equity - Summar_3
Stockholders' Equity - Summary of RSU Activity (Details) - Restricted stock units shares in Thousands | 12 Months Ended |
Jun. 30, 2022 $ / shares shares | |
Number of Shares Outstanding | |
Beginning balance (in shares) | shares | 1,176 |
Granted (shares) | shares | 2,929 |
Vested (shares) | shares | (535) |
Forfeited (shares) | shares | (291) |
Ending balance (in shares) | shares | 3,279 |
Weighted average grant date fair value | |
Beginning balance (dollars per share) | $ / shares | $ 90.20 |
Granted (dollars per share) | $ / shares | 202.79 |
Vested (dollars per share) | $ / shares | 122.82 |
Forfeited (dollars per share) | $ / shares | 164.74 |
Ending balance (dollars per share) | $ / shares | $ 178.85 |
Stockholders' Equity - Restrict
Stockholders' Equity - Restricted Stock Units (Details) - USD ($) $ in Millions | 12 Months Ended | ||
Jun. 30, 2022 | Jun. 30, 2021 | Jun. 30, 2020 | |
Share Based Compensation Arrangement By Share Based Payment Award [Line Items] | |||
Unamortized stock-based compensation expense | $ 61 | ||
Weighted-average period over which unrecognized compensation cost is expected to be recognized | 1 year 10 months 20 days | ||
Restricted stock units | |||
Share Based Compensation Arrangement By Share Based Payment Award [Line Items] | |||
Fair value of shares vested | $ 118.9 | $ 40 | $ 0.2 |
Unamortized stock-based compensation expense | $ 413.8 | ||
Weighted-average period over which unrecognized compensation cost is expected to be recognized | 2 years 10 months 24 days | ||
Minimum | Restricted stock units | |||
Share Based Compensation Arrangement By Share Based Payment Award [Line Items] | |||
Vesting term | 1 year | ||
Maximum | Restricted stock units | |||
Share Based Compensation Arrangement By Share Based Payment Award [Line Items] | |||
Vesting term | 4 years |
Stockholders' Equity - Market-b
Stockholders' Equity - Market-based RSUs (Details) $ / shares in Units, $ in Millions | 1 Months Ended | 12 Months Ended | ||
Dec. 31, 2021 Employee $ / shares shares | Jun. 30, 2022 USD ($) | Jun. 30, 2021 | Jun. 30, 2020 | |
Share Based Compensation Arrangement By Share Based Payment Award [Line Items] | ||||
Risk-free interest rate, minimum | 0.20% | 0.38% | 0.35% | |
Risk-free interest rate, maximum | 2.88% | 1.03% | 1.88% | |
Expected term (in years) | 6 years 3 months | |||
Vest over requisite service period | 4 years | |||
Weighted-average period over which unrecognized compensation cost is expected to be recognized | 1 year 10 months 20 days | |||
Minimum | ||||
Share Based Compensation Arrangement By Share Based Payment Award [Line Items] | ||||
Expected term (in years) | 2 years | 4 years | ||
Maximum | ||||
Share Based Compensation Arrangement By Share Based Payment Award [Line Items] | ||||
Expected term (in years) | 7 years 18 days | 6 years 3 months | ||
Market Based Restricted Stock Units | ||||
Share Based Compensation Arrangement By Share Based Payment Award [Line Items] | ||||
Number of Employees Shares Granted | Employee | 1 | |||
Expected volatility | 60% | |||
Risk-free interest rate, minimum | 1.08% | |||
Risk-free interest rate, maximum | 1.21% | |||
Granted (dollars per share) | $ / shares | $ 182.15 | |||
Expected to recognize stock based compensation expense | $ | $ 5.9 | |||
Weighted-average period over which unrecognized compensation cost is expected to be recognized | 1 year 7 months 6 days | |||
Market Based Restricted Stock Units | Minimum | ||||
Share Based Compensation Arrangement By Share Based Payment Award [Line Items] | ||||
Expected term (in years) | 1 year | |||
Vest over requisite service period | 3 years | |||
Market Based Restricted Stock Units | Maximum | ||||
Share Based Compensation Arrangement By Share Based Payment Award [Line Items] | ||||
Expected term (in years) | 3 years | |||
Vest over requisite service period | 5 years | |||
Executive Employee | Market Based Restricted Stock Units | ||||
Share Based Compensation Arrangement By Share Based Payment Award [Line Items] | ||||
Granted (shares) | shares | 50,000 |
Stockholders' Equity - Employee
Stockholders' Equity - Employee Stock Purchase Plan (Details) - USD ($) $ in Millions | 12 Months Ended | |
Nov. 26, 2019 | Jun. 30, 2022 | |
Share Based Compensation Arrangement By Share Based Payment Award [Line Items] | ||
Offering period | 12 months | |
Unamortized stock-based compensation expense | $ 61 | |
Weighted-average period over which unrecognized compensation cost is expected to be recognized | 1 year 10 months 20 days | |
2019 Employee Stock Purchase Plan | ||
Share Based Compensation Arrangement By Share Based Payment Award [Line Items] | ||
Number of shares of common stock reserved for issuance | 1,400,000 | |
Potential percentage of additional number of shares reserved for issuance each year | 1% | |
Total number of shares issued | 14,000,000 | |
Percentage of employee compensation, maximum | 15% | |
Fair value of option granted percentage | 85% | |
Unamortized stock-based compensation expense | $ 3.9 | |
Weighted-average period over which unrecognized compensation cost is expected to be recognized | 12 months |
Stockholders' Equity - Summar_4
Stockholders' Equity - Summary of Fair Value of ESPP Offerings (Details) | 12 Months Ended | ||
Jun. 30, 2022 | Jun. 30, 2021 | Jun. 30, 2020 | |
Share Based Compensation Arrangement By Share Based Payment Award [Line Items] | |||
Expected term (in years) | 6 years 3 months | ||
Expected volatility, minimum | 30% | 35% | 50% |
Expected volatility, maximum | 81.20% | 85.10% | 100.60% |
Risk-free interest rate, minimum | 0.20% | 0.38% | 0.35% |
Risk-free interest rate, maximum | 2.88% | 1.03% | 1.88% |
Expected dividend yield | 0% | 0% | 0% |
Minimum | |||
Share Based Compensation Arrangement By Share Based Payment Award [Line Items] | |||
Expected term (in years) | 2 years | 4 years | |
Maximum | |||
Share Based Compensation Arrangement By Share Based Payment Award [Line Items] | |||
Expected term (in years) | 7 years 18 days | 6 years 3 months | |
2019 Employee Stock Purchase Plan | |||
Share Based Compensation Arrangement By Share Based Payment Award [Line Items] | |||
Expected volatility | 50% | ||
Expected volatility, minimum | 76% | 81% | |
Expected volatility, maximum | 77.30% | 88.40% | |
Risk-free interest rate, minimum | 0.06% | 0.05% | 1.47% |
Risk-free interest rate, maximum | 0.88% | 0.13% | 1.56% |
Expected dividend yield | 0% | 0% | 0% |
2019 Employee Stock Purchase Plan | Minimum | |||
Share Based Compensation Arrangement By Share Based Payment Award [Line Items] | |||
Expected term (in years) | 4 months 24 days | 6 months | 6 months |
2019 Employee Stock Purchase Plan | Maximum | |||
Share Based Compensation Arrangement By Share Based Payment Award [Line Items] | |||
Expected term (in years) | 1 year | 1 year | 1 year 2 months 1 day |
Stockholders' Equity - Warrants
Stockholders' Equity - Warrants (Details) | 12 Months Ended |
Jun. 30, 2022 $ / shares shares | |
Class of Warrant or Right [Line Items] | |
Class of warrant exercise price (dollars per share) | $ / shares | $ 4.50 |
Class of warrant exercisable period | 5 years |
Class of warrant exercisable period ends | 2023-09 |
Warrants issued or issuable (shares) | 0 |
Maximum | |
Class of Warrant or Right [Line Items] | |
Issuance of warrants (shares) | 5,600,000 |
Stockholders' Equity - Summar_5
Stockholders' Equity - Summary of Stock Based Compensation Cost from Stock Options, RSUs and ESPP (Details) - USD ($) $ in Thousands | 12 Months Ended | ||
Jun. 30, 2022 | Jun. 30, 2021 | Jun. 30, 2020 | |
Employee Service Share Based Compensation Allocation Of Recognized Period Costs [Line Items] | |||
Total amount charged to expense | $ 197,157 | $ 71,987 | $ 18,064 |
Property and equipment (capitalized internal-use software) | 4,405 | 464 | 0 |
Total stock-based compensation cost | 201,562 | 72,451 | 18,064 |
Cost of revenue - service costs | |||
Employee Service Share Based Compensation Allocation Of Recognized Period Costs [Line Items] | |||
Total amount charged to expense | 5,144 | 2,938 | 1,257 |
Research and development | |||
Employee Service Share Based Compensation Allocation Of Recognized Period Costs [Line Items] | |||
Total amount charged to expense | 54,907 | 16,091 | 5,495 |
Sales and marketing | |||
Employee Service Share Based Compensation Allocation Of Recognized Period Costs [Line Items] | |||
Total amount charged to expense | 60,237 | 8,547 | 2,777 |
General and administrative | |||
Employee Service Share Based Compensation Allocation Of Recognized Period Costs [Line Items] | |||
Total amount charged to expense | $ 76,869 | $ 44,411 | $ 8,535 |
Other Income (Expense), Net - S
Other Income (Expense), Net - Schedule of Other Income (Expense), Net (Details) - USD ($) $ in Thousands | 12 Months Ended | ||
Jun. 30, 2022 | Jun. 30, 2021 | Jun. 30, 2020 | |
Other Income, Nonoperating [Abstract] | |||
Interest expense | $ (9,419) | $ (28,158) | $ (229) |
Lower of cost or market adjustment on card receivables sold and held for sale | (11,460) | (691) | 0 |
Interest income | 6,691 | 2,992 | 4,092 |
Other | 327 | 487 | (703) |
Total | $ (13,861) | $ (25,370) | $ 3,160 |
Income Taxes - Components of Lo
Income Taxes - Components of Loss before (Benefit from) Provision for Income Taxes (Details) - USD ($) $ in Thousands | 12 Months Ended | ||
Jun. 30, 2022 | Jun. 30, 2021 | Jun. 30, 2020 | |
Income Tax Disclosure [Abstract] | |||
Domestic | $ (304,508) | $ (139,337) | $ (31,038) |
Foreign | (26,171) | 0 | 0 |
Loss before (benefit from) provision for income taxes | $ (330,679) | $ (139,337) | $ (31,038) |
Income Taxes - Components of (B
Income Taxes - Components of (Benefit from) Provision for Income Taxes (Details) - USD ($) $ in Thousands | 3 Months Ended | 12 Months Ended | ||
Sep. 30, 2021 | Jun. 30, 2022 | Jun. 30, 2021 | Jun. 30, 2020 | |
Current: | ||||
Federal | $ (247) | $ 0 | $ 0 | |
State | 0 | 0 | 53 | |
Foreign | 0 | 0 | 0 | |
Total current | (247) | 0 | 53 | |
Deferred: | ||||
Federal | (1,115) | (27,529) | 0 | |
State | (2,956) | (13,088) | 0 | |
Foreign | 0 | 0 | 0 | |
Total deferred | (4,071) | (40,617) | 0 | |
(Benefit from) provision for income taxes | $ (3,421) | $ (4,318) | $ (40,617) | $ 53 |
Income Taxes - Difference betwe
Income Taxes - Difference between Income Taxes Computed At Federal Statutory Rate and (Benefit from) Provision for Income Taxes (Details) - USD ($) $ in Thousands | 3 Months Ended | 12 Months Ended | ||
Sep. 30, 2021 | Jun. 30, 2022 | Jun. 30, 2021 | Jun. 30, 2020 | |
Income Tax Disclosure [Abstract] | ||||
Expected benefit at U.S. federal statutory rate | $ (69,443) | $ (29,261) | $ (6,518) | |
State income taxes, net of federal benefit | 13,509 | (54) | 0 | |
Stock-based compensation | (93,705) | (70,262) | (31,047) | |
Research and development tax credits | (22,061) | (8,846) | (6,411) | |
Change in valuation allowance related to acquisition | (2,831) | (34,749) | 0 | |
Change in valuation allowance | 174,477 | 94,244 | 43,716 | |
Unrecognized tax benefit | (10,975) | 6,766 | 0 | |
Acquisition-related costs | 553 | 1,484 | 0 | |
Foreign rate differential | 5,496 | 0 | 0 | |
Other | 662 | 61 | 313 | |
(Benefit from) provision for income taxes | $ (3,421) | $ (4,318) | $ (40,617) | $ 53 |
Income Taxes - Components of De
Income Taxes - Components of Deferred Tax Assets and Liabilities (Details) - USD ($) $ in Thousands | Jun. 30, 2022 | Jun. 30, 2021 |
Deferred tax assets: | ||
Accruals and reserves | $ 9,325 | $ 8,677 |
Deferred revenue | 1,794 | 1,109 |
Stock-based compensation | 25,897 | 16,626 |
Net operating loss carryforwards | 410,849 | 218,783 |
Research and development credits | 46,013 | 15,864 |
Accrued rewards | 2,867 | 1,342 |
Operating lease liabilities | 24,203 | 25,122 |
Other | 3,247 | 514 |
Total deferred tax assets before valuation allowance | 524,195 | 288,037 |
Valuation allowance | (384,158) | (107,836) |
Deferred tax assets | 140,037 | 180,201 |
Deferred tax liabilities: | ||
Deferred contract costs | (3,745) | (2,763) |
Property and equipment | (19,316) | (3,133) |
Intangible assets | (99,483) | (107,631) |
Operating right of use assets | (19,490) | (18,551) |
Convertible notes | 0 | (57,213) |
Total deferred tax liabilities | (142,034) | (189,291) |
Net deferred tax (liabilities) | $ (1,997) | $ (9,090) |
Income Taxes - Additional Infor
Income Taxes - Additional Information (Details) - USD ($) $ in Thousands | 12 Months Ended | |||
Jun. 30, 2022 | Jun. 30, 2021 | Jun. 30, 2020 | Jun. 30, 2019 | |
Income Taxes [Line Items] | ||||
Change in valuation allowance | $ 276,300 | $ 22,300 | $ 52,300 | |
Federal and state net operating loss carryforwards expiration year | 2027 | |||
Research and development tax credit carryforwards expiration description | federal tax credits will expire at various dates beginning in 2028. | |||
Unrecognized tax benefits related to federal and California R&D credits | $ 16,724 | $ 22,185 | $ 5,787 | $ 2,692 |
Federal Tax | ||||
Income Taxes [Line Items] | ||||
Net operating loss carryforwards | 1,500,000 | |||
Research and development tax credit carryforwards | 40,100 | |||
Federal Tax | Internal Revenue Service | ||||
Income Taxes [Line Items] | ||||
Net operating loss carryforwards | 1,400,000 | |||
State Tax | ||||
Income Taxes [Line Items] | ||||
Net operating loss carryforwards | 1,100,000 | |||
Research and development tax credit carryforwards | 27,100 | |||
Foreign Tax Authority | ||||
Income Taxes [Line Items] | ||||
Net operating loss carryforwards | $ 61,300 |
Income Taxes - Reconciliation o
Income Taxes - Reconciliation of Unrecognized Tax Benefits (Details) - USD ($) $ in Thousands | 12 Months Ended | ||
Jun. 30, 2022 | Jun. 30, 2021 | Jun. 30, 2020 | |
Income Tax Disclosure [Abstract] | |||
Balance at the beginning of the year | $ 22,185 | $ 5,787 | $ 2,692 |
Add: | |||
Tax positions related to the current year | 7,354 | 8,267 | 3,078 |
Increase from business combination | 160 | 668 | 0 |
Tax positions related to the prior year | 0 | 7,463 | 17 |
Less: | |||
Tax positions related to the prior year | (12,761) | 0 | 0 |
Statute of limitations lapse | $ (214) | $ 0 | $ 0 |
Leases - Additional Information
Leases - Additional Information (Details) - USD ($) $ in Thousands | 12 Months Ended | ||
Jun. 30, 2022 | Jun. 30, 2021 | Jun. 30, 2020 | |
Lessee Lease Description [Line Items] | |||
Weighted average remaining term | 8 years 2 months 12 days | ||
Weighted average discount rate | 5.10% | ||
Lease expense paid during period | $ 13,800 | $ 2,100 | |
Right-of-use assets obtained in exchange for new operating lease liabilities | 5,300 | 31,600 | |
Lease expense | $ 15,180 | $ 10,023 | $ 5,300 |
Draper, Utah | |||
Lessee Lease Description [Line Items] | |||
Non-cancellable operating lease expiration | 2025-12 |
Leases - Components of Lease Co
Leases - Components of Lease Cost (Details) - USD ($) $ in Thousands | 12 Months Ended | ||
Jun. 30, 2022 | Jun. 30, 2021 | Jun. 30, 2020 | |
Lease, Cost [Abstract] | |||
Operating lease expense | $ 12,906 | $ 7,444 | |
Short-term lease expense | 77 | 382 | |
Variable lease expense, net of credit | 2,909 | 2,252 | |
Sublease income | (712) | (55) | |
Total lease cost | $ 15,180 | $ 10,023 | $ 5,300 |
Commitments and Contingencies -
Commitments and Contingencies - Schedule of Future Minimum Lease Payments (Details) $ in Thousands | Jun. 30, 2022 USD ($) |
Commitments and Contingencies Disclosure [Abstract] | |
2023 | $ 13,987 |
2024 | 13,650 |
2025 | 13,424 |
2026 | 13,292 |
2027 | 13,226 |
Thereafter | 49,510 |
Gross lease payments | 117,089 |
Less - present value adjustments | (22,222) |
Total operating lease liabilities, net | $ 94,867 |
Commitments and Contingencies_2
Commitments and Contingencies - Additional Information (Details) - USD ($) $ in Thousands | 12 Months Ended | |
Jun. 30, 2022 | Jun. 30, 2021 | |
Commitments and Contingencies Disclosure [Abstract] | ||
Operating lease liability, current | $ 12,100 | $ 10,800 |
Operating Lease, Liability, Current, Statement of Financial Position [Extensible Enumeration] | Other accruals and current liabilities | Other accruals and current liabilities |
Operating lease liability, noncurrent | $ 82,728 | $ 86,639 |
Multi-year agreements expiration year | 2029 | |
Authorized transactions but not cleared | $ 55,200 |
Commitments and Contingencies_3
Commitments and Contingencies - Schedule of Future Payments Under Other Agreements (Details) $ in Thousands | Jun. 30, 2022 USD ($) |
Commitments and Contingencies Disclosure [Abstract] | |
2023 | $ 24,761 |
2024 | 11,833 |
2025 | 6,969 |
2026 | 4,750 |
2027 | 4,750 |
Thereafter | 34,250 |
Total | $ 87,313 |
Net Loss Per Share Attributab_3
Net Loss Per Share Attributable To Common Stockholders - Schedule of Calculation of Basic and Diluted Net Loss Per Share Attributable to Common Stockholders (Details) - USD ($) $ / shares in Units, shares in Thousands, $ in Thousands | 3 Months Ended | 12 Months Ended | ||
Sep. 30, 2021 | Jun. 30, 2022 | Jun. 30, 2021 | Jun. 30, 2020 | |
Numerator: | ||||
Net loss attributable to common stockholders | $ (326,361) | $ (98,720) | $ (31,091) | |
Denominator: | ||||
Weighted average number of shares outstanding, basic (shares) | 101,753 | 82,813 | 44,106 | |
Weighted average number of shares outstanding, diluted (shares) | 101,753 | 82,813 | 44,106 | |
Net loss per share attributable to common stockholders: | ||||
Earnings per share, basic (dollars per share) | $ (0.78) | $ (3.21) | $ (1.19) | $ (0.70) |
Earnings per share, diluted (dollars per share) | $ (0.78) | $ (3.21) | $ (1.19) | $ (0.70) |
Net Loss Per Share Attributab_4
Net Loss Per Share Attributable To Common Stockholders - Summary of Potentially Dilutive Securities Excluded from Diluted Net Loss Per Share Calculation (Details) - shares shares in Thousands | 12 Months Ended | ||
Jun. 30, 2022 | Jun. 30, 2021 | Jun. 30, 2020 | |
Antidilutive Securities Excluded From Computation Of Earnings Per Share [Line Items] | |||
Antidilutive securities, potentially dilutive securities excluded from calculation of diluted net loss per share | 7,137 | 7,728 | 10,160 |
Stock options | |||
Antidilutive Securities Excluded From Computation Of Earnings Per Share [Line Items] | |||
Antidilutive securities, potentially dilutive securities excluded from calculation of diluted net loss per share | 3,858 | 6,552 | 9,019 |
Restricted stock units | |||
Antidilutive Securities Excluded From Computation Of Earnings Per Share [Line Items] | |||
Antidilutive securities, potentially dilutive securities excluded from calculation of diluted net loss per share | 3,279 | 1,176 | 1,141 |
Net Loss Per Share Attributab_5
Net Loss Per Share Attributable To Common Stockholders - Additional Information (Details) - $ / shares shares in Thousands | 12 Months Ended | |||
Jun. 30, 2022 | Jun. 30, 2021 | Jun. 30, 2020 | Nov. 30, 2020 | |
Antidilutive Securities Excluded From Computation Of Earnings Per Share [Line Items] | ||||
Number of shares not considered in calculation of diluted net loss per share | 7,137 | 7,728 | 10,160 | |
2025 Senior Notes | ||||
Antidilutive Securities Excluded From Computation Of Earnings Per Share [Line Items] | ||||
Conversion price per share | $ 160.88 | |||
2025 Senior Notes | Maximum | ||||
Antidilutive Securities Excluded From Computation Of Earnings Per Share [Line Items] | ||||
Number of shares subject to adjustment | 12,700 | |||
2025 Senior Notes | Common Stock | Maximum | ||||
Antidilutive Securities Excluded From Computation Of Earnings Per Share [Line Items] | ||||
Conversion price per share | $ 160.88 | |||
Shares Underlying Conversion Option in 2025 Notes | ||||
Antidilutive Securities Excluded From Computation Of Earnings Per Share [Line Items] | ||||
Number of shares not considered in calculation of diluted net loss per share | 8,500 |