increased by $35.2 million, or approximately 100%, in the six months ended June 30, 2022, compared to the six months ended June 30, 2021, driven by the increase in occupancy rate from 28.4% in June 30, 2021 to 45.5% in June 30, 2022 as well as higher total revenue per bedspace TRevPABs from $1,875 to $3,206. New locations opened from June 30, 2021 to June 30, 2022, accounted for $9.8 million of the increase in revenue. The acquisitions of Remote Year and R.A.Y. Enterprise Michmoret Ltd. contributed $4.4 million and $1.3 million, respectively to the increase in revenue period-over-period.
Cost of Sales Food and Beverage
Cost of sales food and beverage increased approximately $6.5 million, or 107%, for the six months ended June 30, 2022, compared to the six months ended June 30, 2021. Remote Year contributed $3.4 million to the increase in cost of sales food and beverage with the remaining increase due to the increase in food and beverage sales over the same period.
Payroll and Employee Expenses
Payroll and employee expenses increased approximately $19.9 million, or 84%, for the six months ended June 30, 2022, compared to the six months ended June 30, 2021, primarily due to costs related to additional headcount. The increase in payroll and employee expenses included a $13.6 million increase in wages and salaries and a $6.3 million increase in social security costs, stock compensation and employee benefits and travel resulting from an increase in headcount.
Insurance, Utilities and Other Property Maintenance Costs
Insurance, utilities and other property maintenance costs increased approximately $6.1 million, or 84%, for the six months ended June 30, 2022, compared to the six months ended June 30, 2021. Variable operating costs including maintenance fees, electricity, gas, laundry, linen, cleaning supplies and security among others accounted for 91% of the period-to-period increase in costs and resulted from the increase in rooms, food and beverage and other revenue realized in the six months ended June 30, 2022.
Legal, Marketing, IT and Other Operating Expenses
Legal, marketing, IT and other operating expenses increased approximately $17.8 million, or 142%, for the six months ended June 30, 2022, compared to the six months ended June 30, 2021. Marketing expenses, professional services fees and other operating expenses accounted for $7.8 million, $4.5 million and $2.9 million of the increase, respectively and the remainder primarily due to incremental costs associated with new properties which opened from June 30, 2021 to June 30, 2022. Non-recurring public company readiness costs accounted for $1.4 million of the $4.5 million increase in professional services fees.
Depreciation and Amortization
Depreciation and amortization increased approximately $0.6 million, or 4%, for the six months ended June 30, 2022, compared to the six months ended June 30, 2021, primarily due to the increase in property plant and equipment.
Impairment and Write-Off of Non-Current Assets
Impairment and write-off of non-current assets increased approximately $2.4 million, or 93%, for the six months ended June 30, 2022, compared to the six months ended June 30, 2021, primarily due to the impairment of right-to-use assets representing impairment losses on six properties.
80