By Kimberly Chin

Atlassian Corp. swung to a loss in the fiscal second quarter as sales surged on higher demand from remote workers moving their work environment to the cloud due to the Covid-19 pandemic.

The team-collaboration and productivity software company swung to a loss of $621.5 million, or $2.49 a share, for the quarter ended Dec. 31, compared with a profit of $124.1 million, or 49 cents a share, in the same period a year earlier. Adjusted earnings were 37 cents a share. Analysts polled by FactSet were expecting an adjusted profit of 32 cents a share.

Revenue rose to $501.4 from $408.7 million in the comparable period a year ago. Analysts were looking for $471.6 million in revenue.

Expenses climbed 30% from a year ago to $394.2 million.

Atlassian said it added 11,600 new customers during the quarter to a total of 194,000 customers.

Write to Kimberly Chin at kimberly.chin@wsj.com

(END) Dow Jones Newswires

01-28-21 1646ET