Selling and administrative expenses for the Agility segment were $4.3 million and $2.5 million for the three months ended June 30, 2022 and 2021, respectively, an increase of $1.8 million or 72%. The cost increase primarily supported our growth initiatives. The selling and administrative costs increase includes payroll related costs for new hires, stock-based compensation, commissions, incentives of $1.5 million, marketing related activity costs and other net increases of $0.3 million. Selling and administrative expenses for the Agility segment as a percentage of Agility segment revenues were 110 % and 81% for the three months ended June 30, 2022 and 2021, respectively. The increase in selling and administrative expenses as a percentage of segment revenues was primarily due to higher expenditures, offset in part by an increase in revenues.
Income Taxes
We recorded a provision for income taxes of $0.6 million for the three months ended June 30, 2022, as compared to $0.4 million for the three months ended June 30, 2021.
Taxes primarily consist of a provision for foreign taxes recorded in accordance with the local tax regulations by our foreign subsidiaries. Effective income tax rates are disproportionate due to the losses incurred by our U.S. entity and our Canadian subsidiaries, and a valuation allowance recorded on deferred taxes on these entities and tax effects of foreign operations, including foreign exchange gains and losses.
Net Income (Loss)
We incurred a net loss of $3.8 million during the three months ended June 30, 2022, compared to a net loss of $0.1 million during the three months ended June 30, 2021. The $3.7 million change was a result of higher Direct operating and Selling and administrative costs in all segments in the current quarter, offset in part by higher revenues in all segments.
Net loss for the DDS segment was $0.6 million for the three months ended June 30, 2022, compared to a net income of $1.3 million for the three months ended June 30, 2021. The $1.9 million change was primarily attributable to an increase in Direct operating and Selling and administrative costs, offset in part by an increase in revenues in the current quarter.
Net loss for the Synodex segment was $0.7 million for the three months ended June 30, 2022, compared to a net loss of $0.2 million for the three months ended June 30, 2021. The $0.5 million change was due to higher Direct operating and Selling and administrative costs, offset in part by higher revenues in the current quarter.
Net loss for the Agility segment was $2.5 million for the three months ended June 30, 2022, compared to net loss of $1.2 million for the three months ended June 30, 2021. The $1.3 million change was due to higher Direct operating and Selling and administrative costs, offset in part by higher revenues in the current quarter.
Adjusted EBITDA
Adjusted EBITDA for the three months ended June 30, 2022 was a loss of $1.3 million compared to an income of $0.7 million for the three months ended June 30, 2021. The $2.0 million change in Adjusted EBITDA was due to a higher net loss reduced in part by higher provisions for income taxes, stock-based compensation and depreciation and amortization.
Adjusted EBITDA for the DDS segment was $0.6 million and $1.5 million for the three months ended June 30, 2022 and 2021, respectively. The $0.9 million change in Adjusted EBITDA was due to lower net income for the DDS segment, offset in part by higher stock-based compensation.
Adjusted EBITDA for the Synodex segment was a loss of $0.4 million and $0.3 million for the three months ended June 30, 2022 and 2021, respectively. The $0.1 million change was due to a higher net loss for the Synodex segment, offset in part by higher stock-based compensation, depreciation and amortization.
Adjusted EBITDA for the Agility segment was a loss of $1.5 million and $0.5 million for the three months ended June 30, 2022 and 2021, respectively. The $1.0 million change in Adjusted EBITDA was due to a higher net loss for the Agility segment.
Six Months Ended June 30, 2022 and 2021
Revenues
Total revenues were $41.2 million and $33.0 million for the six months ended June 30, 2022 and 2021, respectively, an increase of $8.2 million or approximately 25%.